Hello community,
here is the log from the commit of package nodejs for openSUSE:Factory checked in at 2012-11-26 19:00:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs (Old)
and /work/SRC/openSUSE:Factory/.nodejs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs", Maintainer is "JMassaguerPla@suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs/nodejs.changes 2012-10-26 17:27:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs.new/nodejs.changes 2012-11-26 19:00:14.000000000 +0100
@@ -1,0 +2,10 @@
+Fri Nov 2 16:18:09 UTC 2012 - mrueckert@suse.de
+
+- added node-v0.8.12_missing_include.patch:
+ fixes a compiler warning about implicite declaration due to
+ missing include.
+- enabled usage of system zlib and openssl
+- enabled gdb support
+- set CFLAGS/CXXFLAGS so the binary gets compiled with the optflags
+
+-------------------------------------------------------------------
New:
----
node-v0.8.12_missing_include.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs.spec ++++++
--- /var/tmp/diff_new_pack.woPtvY/_old 2012-11-26 19:00:27.000000000 +0100
+++ /var/tmp/diff_new_pack.woPtvY/_new 2012-11-26 19:00:27.000000000 +0100
@@ -27,6 +27,7 @@
Patch0: nodejs-lib64path.patch
Patch1: nodejs-devel-lib64path.patch
Patch2: nodejs-libpath.patch
+Patch3: node-v0.8.12_missing_include.patch
BuildRequires: curl
BuildRequires: gcc-c++
BuildRequires: procps
@@ -39,6 +40,7 @@
BuildRequires: openssl-devel
%endif
BuildRequires: pkg-config
+BuildRequires: zlib-devel
# for waf
BuildRequires: python
Provides: npm = %{version}
@@ -67,13 +69,19 @@
%else
%patch2
%endif
+%patch3
%build
# percent-configure pulls in something that confuses node's configure
# script, so we'll do it thus:
+export CFLAGS="%{optflags}"
+export CXXFLAGS="%{optflags}"
./configure \
--prefix=%{_prefix} \
- --shared-v8
+ --shared-v8 \
+ --shared-openssl \
+ --shared-zlib \
+ --gdb
make %{?_smp_mflags}
%install
++++++ node-v0.8.12_missing_include.patch ++++++
Index: deps/uv/src/unix/eio/eio.c
===================================================================
--- deps/uv/src/unix/eio/eio.c.orig
+++ deps/uv/src/unix/eio/eio.c
@@ -58,6 +58,7 @@
#include