[Pkg-javascript-commits] [node-expat] 281/371: Add patch 2002 to have node-gyp link against system shared expat.

Jonas Smedegaard dr at jones.dk
Sun Feb 28 10:00:19 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository node-expat.

commit df4337219a481c1ad89b3acd2016c872ed5d6bf9
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Mon Sep 8 21:27:50 2014 +0200

    Add patch 2002 to have node-gyp link against system shared expat.
---
 debian/patches/2002_system_shared_linking.patch | 13 +++++++++++++
 debian/patches/series                           |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/2002_system_shared_linking.patch b/debian/patches/2002_system_shared_linking.patch
new file mode 100644
index 0000000..fbd4c36
--- /dev/null
+++ b/debian/patches/2002_system_shared_linking.patch
@@ -0,0 +1,13 @@
+--- a/binding.gyp
++++ b/binding.gyp
+@@ -6,8 +6,8 @@
+       'include_dirs': [
+         '<!(nodejs -e "require(\'nan\')")'
+       ],
+-      'dependencies': [
+-        'deps/libexpat/libexpat.gyp:expat'
++      'libraries': [
++        '<!(pkg-config --cflags --libs expat)'
+       ]
+     }
+   ]
diff --git a/debian/patches/series b/debian/patches/series
index 72addf2..1bcdfa0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 1001_relax_test_timing_tolerance.patch
 2001_nodejs_not_node.patch
+2002_system_shared_linking.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git



More information about the Pkg-javascript-commits mailing list