[Pkg-javascript-commits] [node-leveldown] 03/06: add patch for building with system libraries

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Mon Jun 30 01:51:34 UTC 2014


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

andrewrk-guest pushed a commit to branch master
in repository node-leveldown.

commit 8f67d7376e96b5dbfbf8251053602b23515b1546
Author: Andrew Kelley <superjoe30 at gmail.com>
Date:   Mon Jun 30 01:21:15 2014 +0000

    add patch for building with system libraries
---
 debian/patches/series                |  1 +
 debian/patches/use-system-libs.patch | 43 ++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..af72458
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-system-libs.patch
diff --git a/debian/patches/use-system-libs.patch b/debian/patches/use-system-libs.patch
new file mode 100644
index 0000000..074be85
--- /dev/null
+++ b/debian/patches/use-system-libs.patch
@@ -0,0 +1,43 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ node-leveldown (0.10.2-1) unstable; urgency=low
+ .
+   * Initial release. (Closes: #753278)
+Author: Andrew Kelley <superjoe30 at gmail.com>
+Bug-Debian: http://bugs.debian.org/753278
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- node-leveldown-0.10.2.orig/binding.gyp
++++ node-leveldown-0.10.2/binding.gyp
+@@ -21,11 +21,9 @@
+               ]
+           }]
+         ]
+-      , "dependencies": [
+-            "<(module_root_dir)/deps/leveldb/leveldb.gyp:leveldb"
+-        ]
+-      , "include_dirs"  : [
+-            "<!(node -e \"require('nan')\")"
++      , "libraries": [
++            "-lleveldb",
++            "-lsnappy"
+         ]
+       , "sources": [
+             "src/batch.cc"

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



More information about the Pkg-javascript-commits mailing list