[clfft] 11/12: d/p: improve patch for missing libdl linkage
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Aug 4 11:06:00 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository clfft.
commit b117fe3278b168bca60c80cc0bd9ebe5ce0b12cc
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Tue Aug 4 10:42:21 2015 +0100
d/p: improve patch for missing libdl linkage
---
debian/changelog | 2 +-
debian/patches/fix-libdl-linkage.patch | 17 +++++++++++++++++
debian/patches/series | 1 +
3 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index b834a05..30294c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,9 +7,9 @@ clfft (2.6-1) UNRELEASED; urgency=medium
- reproducible-build.patch.
* Drop the following patches:
- fix-client-name.patch,
- - fix-libdl-linkage.patch,
- fix-cmake-config-install.patch.
Reason: applied upstream.
+ * Improve fix-libdl-linkage.patch.
-- Ghislain Antony Vaillant <ghisvail at gmail.com> Thu, 30 Jul 2015 19:09:24 +0100
diff --git a/debian/patches/fix-libdl-linkage.patch b/debian/patches/fix-libdl-linkage.patch
new file mode 100644
index 0000000..6a5ec9c
--- /dev/null
+++ b/debian/patches/fix-libdl-linkage.patch
@@ -0,0 +1,17 @@
+Description: fix missing linkage with libdl.
+ Add missing linkage with libdl in libclfft.
+Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Forwarded: https://github.com/clMathLibraries/clFFT/pull/97
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/library/CMakeLists.txt
++++ b/src/library/CMakeLists.txt
+@@ -83,7 +93,7 @@
+ include_directories( ${OPENCL_INCLUDE_DIRS} ${PROJECT_BINARY_DIR}/include ../include )
+
+ add_library( clFFT ${clFFT.Files} )
+-target_link_libraries( clFFT ${OPENCL_LIBRARIES} )
++target_link_libraries( clFFT ${OPENCL_LIBRARIES} ${CMAKE_DL_LIBS} )
+
+ set_target_properties( clFFT PROPERTIES VERSION ${CLFFT_VERSION} )
+ set_target_properties( clFFT PROPERTIES SOVERSION ${CLFFT_SOVERSION} )
diff --git a/debian/patches/series b/debian/patches/series
index 002ffb9..3ebf142 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ fix-client-no-symlink.patch
fix-docs-output.patch
use-system-mathjax.patch
reproducible-build.patch
+fix-libdl-linkage.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clfft.git
More information about the debian-science-commits
mailing list