summaryrefslogtreecommitdiff
path: root/dev-lang/gdl/files/0.9.2-semaphore.patch
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2015-10-14 16:14:30 +0100
committerJames Le Cuirot <chewi@gentoo.org>2015-10-14 16:22:25 +0100
commit7d94d8eb5d7af9cfed628bf2305380ac7611a20c (patch)
tree154b92b6054bdea0c29da49ddb416b7850271a06 /dev-lang/gdl/files/0.9.2-semaphore.patch
parentd50549b87f3b9369d4012148d510214abea0f8c7 (diff)
downloadgentoo-7d94d8eb5d7af9cfed628bf2305380ac7611a20c.tar.gz
gentoo-7d94d8eb5d7af9cfed628bf2305380ac7611a20c.tar.bz2
gentoo-7d94d8eb5d7af9cfed628bf2305380ac7611a20c.zip
dev-lang/gdl: Remove old
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-lang/gdl/files/0.9.2-semaphore.patch')
-rw-r--r--dev-lang/gdl/files/0.9.2-semaphore.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/dev-lang/gdl/files/0.9.2-semaphore.patch b/dev-lang/gdl/files/0.9.2-semaphore.patch
deleted file mode 100644
index f2a28042f8d1..000000000000
--- a/dev-lang/gdl/files/0.9.2-semaphore.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- gdl-0.9.2/CMakeLists.txt 2011-11-06 22:39:45.000000000 +0000
-+++ gdl-0.9.2/CMakeLists.txt.new 2012-06-21 00:02:42.000000000 +0100
-@@ -217,6 +217,19 @@
- add_definitions(${OpenMP_CXX_FLAGS})
- set(LIBRARIES ${LIBRARIES} ${OpenMP_CXX_FLAGS})
- endif(OPENMP_FOUND)
-+else(OPENMP)
-+ # we need to define those semaphore posix symbols, do it with threads libs
-+ find_package(Threads)
-+ if(THREADS_FOUND)
-+ set(LIBRARIES ${LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
-+ else(THREADS_FOUND)
-+ check_library_exists(rt sem_unlink "" HAVE_RT)
-+ if(HAVE_RT)
-+ set(LIBRARIES ${LIBRARIES} rt)
-+ else(HAVE_RT)
-+ message(FATAL_ERROR "Missing a POSIX semaphore symbols (rt or threads).\n")
-+ endif(HAVE_RT)
-+ endif(THREADS_FOUND)
- endif(OPENMP)
-
- # GSL MANDATORY