summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Volynets <iluxa@gentoo.org>2010-01-19 10:59:25 +0000
committerIlya Volynets <iluxa@gentoo.org>2010-01-19 10:59:25 +0000
commitadb34ef9515cc992f270cdb939acd343b16fca40 (patch)
treee2033cc3ac769b3d3edef09a3f6e5dd6202318bd /dev-cpp/sptk/files/sptk-4.00-as-needed.patch
parentfix building with newer kernels (#282261) (diff)
downloadhistorical-adb34ef9515cc992f270cdb939acd343b16fca40.tar.gz
historical-adb34ef9515cc992f270cdb939acd343b16fca40.tar.bz2
historical-adb34ef9515cc992f270cdb939acd343b16fca40.zip
Add sptk-4.00
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'dev-cpp/sptk/files/sptk-4.00-as-needed.patch')
-rw-r--r--dev-cpp/sptk/files/sptk-4.00-as-needed.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-cpp/sptk/files/sptk-4.00-as-needed.patch b/dev-cpp/sptk/files/sptk-4.00-as-needed.patch
new file mode 100644
index 000000000000..3811e9b85b45
--- /dev/null
+++ b/dev-cpp/sptk/files/sptk-4.00-as-needed.patch
@@ -0,0 +1,11 @@
+Index: src/CMakeLists.txt
+===================================================================
+--- sptk-4.00/src/CMakeLists.txt (revision 1108)
++++ sptk-4.00/src/CMakeLists.txt (working copy)
+@@ -53,7 +53,7 @@
+ IF (WIN32)
+ SET_TARGET_PROPERTIES (sputil4 PROPERTIES LINK_FLAGS "-mwindows -mno-cygwin")
+ ELSE (WIN32)
+- SET_TARGET_PROPERTIES (sputil4 PROPERTIES LINK_FLAGS "-lpthread")
++ TARGET_LINK_LIBRARIES (sputil4 pthread)
+ ENDIF (WIN32)