From e68d405c5d712af4387159df07e226217bdda049 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 6 Apr 2022 22:33:41 +0100 Subject: gentoo resync : 06.04.2022 --- .../files/pgagent-4.0.0-pthreads-linking.patch | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 dev-db/pgagent/files/pgagent-4.0.0-pthreads-linking.patch (limited to 'dev-db/pgagent/files') diff --git a/dev-db/pgagent/files/pgagent-4.0.0-pthreads-linking.patch b/dev-db/pgagent/files/pgagent-4.0.0-pthreads-linking.patch deleted file mode 100644 index 95f8e998f58f..000000000000 --- a/dev-db/pgagent/files/pgagent-4.0.0-pthreads-linking.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 5b79460bdda286ca988b39e93e446176e8a781d1 Mon Sep 17 00:00:00 2001 -From: Neel Patel -Date: Fri, 20 Jul 2018 13:35:35 +0100 -Subject: [PATCH] Link with pthreads on non-Windows and non-macOS platforms. - -Patch based on feedback and initial work by Christoph Berg. ---- - CMakeLists.txt | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 1be24da..6f1eaa0 100755 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -134,9 +134,15 @@ IF(WIN32) - ENDIF(WIN32) - - ADD_EXECUTABLE(pgagent ${_srcs}) -+IF(UNIX AND NOT APPLE) -+TARGET_LINK_LIBRARIES( -+ pgagent ${PG_LIBRARIES} ${Boost_LIBRARIES} -pthread -+) -+ELSE() - TARGET_LINK_LIBRARIES( - pgagent ${PG_LIBRARIES} ${Boost_LIBRARIES} - ) -+ENDIF() - - # Installation - IF (WIN32) --- -2.24.1 - -- cgit v1.2.3