debian/patches/FindBoost_add_-lpthread_#563479.diff: Added. (Closes: #563479)

ci/unstable
Kai Wasserbäch 14 years ago
parent c17a90bf49
commit cdd8ec7b95

2
debian/changelog vendored

@ -6,6 +6,8 @@ cmake (2.8.4~rc1-1) UNRELEASED; urgency=low
+ FindTCL_fix_#600245.diff
+ FindPython_fix_#569321_and_#580503.diff (Please note, that upstream's
solution is slightly different from what Debian had initially!)
* debian/patches/FindBoost_add_-lpthread_#563479.diff: Added.
(Closes: #563479)
-- Kai Wasserbäch <debian@carbon-project.org> Sun, 16 Jan 2011 11:40:34 +0100

@ -0,0 +1,23 @@
Subject: Add -lpthread when using Boost::Thread.
Author: Kai Wasserbäch <debian@carbon-project.org>
Origin: vendor
Last-Update: 2011-01-16
Bug: http://public.kitware.com/Bug/view.php?id=10692
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563479
Forwarded: no
---
Modules/FindBoost.cmake | 3 +++
1 file changed, 3 insertions(+)
--- a/Modules/FindBoost.cmake
+++ b/Modules/FindBoost.cmake
@@ -1121,6 +1121,9 @@ else(_boost_IN_CACHE)
message (STATUS " ${COMPONENT}")
endif(NOT Boost_FIND_QUIETLY)
set(Boost_LIBRARIES ${Boost_LIBRARIES} ${Boost_${UPPERCOMPONENT}_LIBRARY})
+ if(${UPPERCOMPONENT} STREQUAL "THREAD" AND UNIX)
+ set(Boost_LIBRARIES ${Boost_LIBRARIES} pthread)
+ endif(${UPPERCOMPONENT} STREQUAL "THREAD" AND UNIX)
endif( Boost_${UPPERCOMPONENT}_FOUND )
endforeach(COMPONENT)
else()

@ -1 +1,2 @@
fixup_manpages.diff
FindBoost_add_-lpthread_#563479.diff

Loading…
Cancel
Save