From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-db/sqliteman/files/sqliteman-1.2.2-lpthread.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 dev-db/sqliteman/files/sqliteman-1.2.2-lpthread.patch (limited to 'dev-db/sqliteman/files/sqliteman-1.2.2-lpthread.patch') diff --git a/dev-db/sqliteman/files/sqliteman-1.2.2-lpthread.patch b/dev-db/sqliteman/files/sqliteman-1.2.2-lpthread.patch new file mode 100644 index 000000000000..a9bf4f4f9528 --- /dev/null +++ b/dev-db/sqliteman/files/sqliteman-1.2.2-lpthread.patch @@ -0,0 +1,19 @@ +Resolves underlinking issue causing build failure on uclibc. + +Author: René Rhéaume +Gentoo-bug: 587076 + +--- a/sqliteman/CMakeLists.txt ++++ b/sqliteman/CMakeLists.txt +@@ -183,7 +183,10 @@ IF (WIN32) + # don't use console subsystem + IF (MINGW) + TARGET_LINK_LIBRARIES(${EXE_NAME} "-mwindows") +- ENDIF (MINGW) ++ ENDIF (MINGW) ++ELSE (WIN32) ++ FIND_PACKAGE(Threads) ++ TARGET_LINK_LIBRARIES(${EXE_NAME} ${CMAKE_THREAD_LIBS_INIT}) + ENDIF (WIN32) + + -- cgit v1.2.3