[Pkg-javascript-commits] [node-iconv] 09/16: Add patch to use system iconv from glibc

Jérémy Lal kapouer at moszumanska.debian.org
Sat Jun 14 16:27:15 UTC 2014


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

kapouer pushed a commit to branch master
in repository node-iconv.

commit a4a74f245fc00be528f063b4e06a1356d222cfe2
Author: Jérémy Lal <kapouer at melix.org>
Date:   Sat Jun 14 16:42:13 2014 +0200

    Add patch to use system iconv from glibc
---
 debian/patches/use-glibc-iconv.patch | 39 ++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/debian/patches/use-glibc-iconv.patch b/debian/patches/use-glibc-iconv.patch
new file mode 100644
index 0000000..4db0f96
--- /dev/null
+++ b/debian/patches/use-glibc-iconv.patch
@@ -0,0 +1,39 @@
+Description: use system iconv from glibc
+Forwarded: not-needed
+Author: Jérémy Lal <kapouer at melix.org>
+Last-Update: 2014-06-14
+--- a/binding.gyp
++++ b/binding.gyp
+@@ -3,7 +3,6 @@
+     {
+       'target_name': 'iconv',
+       'defines': [
+-        'ICONV_CONST=const',
+         'USE_AIX=1',
+         'USE_DOS=1',
+         'USE_EXTRA=1',
+@@ -11,13 +10,9 @@
+         'LIBDIR="."', # not actually used
+       ],
+       'include_dirs': [
+-        'deps/libiconv/srclib',
+-        'support',
+         '<!(node -e "require(\'nan\')")',
+       ],
+       'sources': [
+-        'deps/libiconv/libcharset/lib/localcharset.c',
+-        'deps/libiconv/lib/iconv.c',
+         'src/binding.cc',
+       ],
+       'conditions': [
+--- a/src/binding.cc
++++ b/src/binding.cc
+@@ -14,7 +14,7 @@
+  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+  */
+ 
+-#include "iconv.h"
++#include <iconv.h>
+ #include "nan.h"
+ 
+ #include <errno.h>

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



More information about the Pkg-javascript-commits mailing list