[packages/nodejs] - disable system uv (does not build with current libuv)
baggins
baggins at pld-linux.org
Fri Jan 1 17:34:01 CET 2016
commit 1ae0074ad981d697e65b48bba1b9a4ee14960f39
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Jan 1 17:33:34 2016 +0100
- disable system uv (does not build with current libuv)
nodejs.spec | 2 +-
uv-fpic.patch | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/nodejs.spec b/nodejs.spec
index 75a95d3..42c8830 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -1,7 +1,7 @@
#
# Conditional build:
%bcond_without system_v8 # system v8
-%bcond_without system_uv # system uv
+%bcond_with system_uv # system uv
%bcond_without shared # build libnode.so shared library
# NOTES:
diff --git a/uv-fpic.patch b/uv-fpic.patch
index 339f4be..6c26e78 100644
--- a/uv-fpic.patch
+++ b/uv-fpic.patch
@@ -8,3 +8,13 @@
OBJS += src/unix/core.o
OBJS += src/unix/dl.o
+--- node-v0.10.40/deps/uv/uv.gyp~ 2015-07-09 23:19:36.000000000 +0200
++++ node-v0.10.40/deps/uv/uv.gyp 2016-01-01 17:30:58.139553119 +0100
+@@ -126,6 +126,7 @@
+ '-Wall',
+ '-Wextra',
+ '-Wno-unused-parameter',
++ '-fPIC',
+ ],
+ 'sources': [
+ 'include/uv-private/uv-unix.h',
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nodejs.git/commitdiff/1ae0074ad981d697e65b48bba1b9a4ee14960f39
More information about the pld-cvs-commit
mailing list