[Pkg-voip-commits] [bctoolbox] 01/01: Add kill-rpath.patch

Daniel Gnoutcheff gnoutchd-guest at moszumanska.debian.org
Thu Jan 12 03:06:29 UTC 2017


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

gnoutchd-guest pushed a commit to branch debian/sid
in repository bctoolbox.

commit a35ac5d9049971a0f1d40a0058d521d63e2e4099
Author: Daniel Gnoutcheff <daniel at gnoutcheff.name>
Date:   Wed Jan 11 21:13:26 2017 -0500

    Add kill-rpath.patch
    
    Kill RPATH with fire
---
 debian/patches/kill-rpath.patch | 15 +++++++++++++++
 debian/patches/series           |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/kill-rpath.patch b/debian/patches/kill-rpath.patch
new file mode 100644
index 0000000..b17960b
--- /dev/null
+++ b/debian/patches/kill-rpath.patch
@@ -0,0 +1,15 @@
+Upstream wants to use RPATH unconditionally for reasons.  Kill it with fire.
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -74,11 +74,6 @@
+ 
+ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
+ 
+-if(NOT CPACK_GENERATOR AND NOT CMAKE_INSTALL_RPATH AND CMAKE_INSTALL_PREFIX)
+-	set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR})
+-	message(STATUS "Setting install rpath to ${CMAKE_INSTALL_RPATH}")
+-endif()
+-
+ if(ENABLE_MBEDTLS)
+ 	find_package(MbedTLS)
+ 	if(MBEDTLS_FOUND)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..33ed55d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+kill-rpath.patch

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



More information about the Pkg-voip-commits mailing list