summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-05-11 23:57:30 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-05-12 13:21:20 +0200
commit5dd1f7a3908dec9ae6cf6773acd8ec3b33fc0b2c (patch)
treeaa65ec817aedf64ac5a125d764476541093d1811 /x11-misc/synergy/files/synergy-1.9.1-pthread.patch
parentdev-ros/moveit_msgs: bump to 0.10.0 (diff)
downloadgentoo-5dd1f7a3908dec9ae6cf6773acd8ec3b33fc0b2c.tar.gz
gentoo-5dd1f7a3908dec9ae6cf6773acd8ec3b33fc0b2c.tar.bz2
gentoo-5dd1f7a3908dec9ae6cf6773acd8ec3b33fc0b2c.zip
x11-misc/synergy: 1.9.1 version bump, Qt4 -> Qt5
Bug: https://bugs.gentoo.org/649572 Bug: https://bugs.gentoo.org/653468 Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'x11-misc/synergy/files/synergy-1.9.1-pthread.patch')
-rw-r--r--x11-misc/synergy/files/synergy-1.9.1-pthread.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-misc/synergy/files/synergy-1.9.1-pthread.patch b/x11-misc/synergy/files/synergy-1.9.1-pthread.patch
new file mode 100644
index 000000000000..46ae6e1588b8
--- /dev/null
+++ b/x11-misc/synergy/files/synergy-1.9.1-pthread.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -141,6 +141,8 @@
+ check_library_exists ("pthread" pthread_create "" HAVE_PTHREAD)
+ if (HAVE_PTHREAD)
+ list (APPEND libs pthread)
++ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
++ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")
+ else()
+ message (FATAL_ERROR "Missing library: pthread")
+ endif()