[med-svn] [seqan2] 04/05: Try patch from upstream to fix kfreebsd/hurd builds
Michael Crusoe
misterc-guest at moszumanska.debian.org
Mon Oct 10 14:05:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
misterc-guest pushed a commit to branch debian-experimental
in repository seqan2.
commit 91b61697b1f31787dbc19bb7b2e8f68e9b48ec72
Author: Michael R. Crusoe <michael.crusoe at gmail.com>
Date: Mon Oct 10 06:47:22 2016 -0700
Try patch from upstream to fix kfreebsd/hurd builds
---
debian/patches/pthread-linking | 11 +++++++++++
debian/patches/series | 1 +
2 files changed, 12 insertions(+)
diff --git a/debian/patches/pthread-linking b/debian/patches/pthread-linking
new file mode 100644
index 0000000..9d07ca6
--- /dev/null
+++ b/debian/patches/pthread-linking
@@ -0,0 +1,11 @@
+--- seqan2.orig/util/cmake/FindSeqAn.cmake
++++ seqan2/util/cmake/FindSeqAn.cmake
+@@ -287,7 +287,7 @@
+
+ # librt, libpthread -- implicit, on Linux only
+
+-if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
++if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") || (${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD") || (${CMAKE_SYSTEM_NAME} STREQUAL "GNU")
+ set (SEQAN_LIBRARIES ${SEQAN_LIBRARIES} rt pthread)
+ elseif ((${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") OR (${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD"))
+ set (SEQAN_LIBRARIES ${SEQAN_LIBRARIES} pthread)
diff --git a/debian/patches/series b/debian/patches/series
index 366f163..00d3385 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+pthread-linking
spelling.patch
short-description
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/seqan2.git
More information about the debian-med-commit
mailing list