[Pkg-mongodb-maintainers] [pkg-mongodb] 244/394: debian/patches: Add patch to use the system libstemmer library.

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Wed Sep 21 13:59:31 UTC 2016


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

apoikos pushed a commit to branch master
in repository pkg-mongodb.

commit d85c0758558b48e016c6981e3a6d9fec98760515
Author: Rogério Brito <rbrito at ime.usp.br>
Date:   Fri Apr 12 23:52:22 2013 -0300

    debian/patches: Add patch to use the system libstemmer library.
    
    This way we depend on even fewer embedded libraries.
---
 ...se-libstemmer-when-using-system-libraries.patch | 22 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/0001-Use-libstemmer-when-using-system-libraries.patch b/debian/patches/0001-Use-libstemmer-when-using-system-libraries.patch
new file mode 100644
index 0000000..fff1bb2
--- /dev/null
+++ b/debian/patches/0001-Use-libstemmer-when-using-system-libraries.patch
@@ -0,0 +1,22 @@
+From 06641cf5dfebebb975d8308c823d5a18daaa1738 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rog=C3=A9rio=20Brito?= <rbrito at ime.usp.br>
+Date: Fri, 12 Apr 2013 23:50:07 -0300
+Subject: [PATCH] Use libstemmer when using system libraries.
+
+---
+ SConstruct |    4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+--- a/SConstruct
++++ b/SConstruct
+@@ -785,7 +785,9 @@
+                 CPPDEFINES=['BOOST_ALL_NO_LIB'])
+ 
+ env.Prepend(CPPPATH=['$BUILD_DIR/third_party/s2'])
+-env.Prepend(CPPPATH=['$BUILD_DIR/third_party/libstemmer_c/include'])
++
++if not use_system_version_of_library("stemmer"):
++    env.Prepend(CPPPATH=['$BUILD_DIR/third_party/libstemmer_c/include'])
+ 
+ env.Append( CPPPATH=['$EXTRACPPPATH'],
+             LIBPATH=['$EXTRALIBPATH'] )
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0dcae83
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Use-libstemmer-when-using-system-libraries.patch

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



More information about the Pkg-mongodb-maintainers mailing list