[Pkg-voip-commits] [belle-sip] 08/10: cmake-zlib.patch: use zlib instead of z
Johannes Schauer
josch-guest at moszumanska.debian.org
Sun Apr 23 06:01:59 UTC 2017
This is an automated email from the git hooks/post-receive script.
josch-guest pushed a commit to branch master
in repository belle-sip.
commit 47b058c42bcac31ae11d9161534a9f61effaf7a7
Author: Johannes 'josch' Schauer <josch at mister-muffin.de>
Date: Thu Apr 20 22:46:25 2017 +0200
cmake-zlib.patch: use zlib instead of z
---
debian/changelog | 2 ++
debian/patches/cmake-zlib.patch | 11 +++++++++++
debian/patches/series | 1 +
3 files changed, 14 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 5f94b2a..58e9df6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,8 @@ belle-sip (1.6.1-1) UNRELEASED; urgency=medium
* refreshed patch for 1.6.1
* debian/docs: README => README.md
* refresh debian/libbellesip0.symbols
+ * add cmake-zlib.patch using "zlib" instead of "z" in pkg-config
+ Requires.private
-- Tzafrir Cohen <tzafrir at debian.org> Sat, 23 May 2015 16:30:12 +0300
diff --git a/debian/patches/cmake-zlib.patch b/debian/patches/cmake-zlib.patch
new file mode 100644
index 0000000..e16064d
--- /dev/null
+++ b/debian/patches/cmake-zlib.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -138,7 +138,7 @@ set(LIBS_PRIVATE "-L${antlr3c_library_pa
+ get_filename_component(bctoolbox_library_path "${BCTOOLBOX_CORE_LIBRARIES}" PATH)
+ set(LIBS_PRIVATE "${LIBS_PRIVATE} -L${bctoolbox_library_path} -lbctoolbox")
+ if(ZLIB_FOUND)
+- set(REQUIRES_PRIVATE "${REQUIRES_PRIVATE} z")
++ set(REQUIRES_PRIVATE "${REQUIRES_PRIVATE} zlib")
+ endif()
+ if(HAVE_LIBDL)
+ set(LIBS_PRIVATE "${LIBS_PRIVATE} -ldl")
diff --git a/debian/patches/series b/debian/patches/series
index ec652fa..69c165d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
fix-spelling-errors.patch
kill-rpath.patch
+cmake-zlib.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/belle-sip.git
More information about the Pkg-voip-commits
mailing list