summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sautier.louis@gmail.com>2017-06-10 15:43:04 +0200
committerMichał Górny <mgorny@gentoo.org>2017-07-26 10:12:29 +0200
commite082ba72e7e105aedbe895a9c93770fdf6d1d667 (patch)
tree1e8f12b97f921ac80c5e39bc6483846b6ba875be /media-libs/libopenshot-audio/files
parentkde-plasma/plasma-workspace: keyword ~arm64 (diff)
downloadgentoo-e082ba72e7e105aedbe895a9c93770fdf6d1d667.tar.gz
gentoo-e082ba72e7e105aedbe895a9c93770fdf6d1d667.tar.bz2
gentoo-e082ba72e7e105aedbe895a9c93770fdf6d1d667.zip
media-libs/libopenshot-audio: bump to 0.1.4, #618410
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-libs/libopenshot-audio/files')
-rw-r--r--media-libs/libopenshot-audio/files/libopenshot-audio-0.1.4-fix-under-linking.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/media-libs/libopenshot-audio/files/libopenshot-audio-0.1.4-fix-under-linking.patch b/media-libs/libopenshot-audio/files/libopenshot-audio-0.1.4-fix-under-linking.patch
new file mode 100644
index 000000000000..18571abfee22
--- /dev/null
+++ b/media-libs/libopenshot-audio/files/libopenshot-audio-0.1.4-fix-under-linking.patch
@@ -0,0 +1,22 @@
+commit f489d3c4ab9dc3ff6fe443a0e8a31b46ed73371d
+Author: Louis Sautier <sautier.louis@gmail.com>
+Date: Sun Jul 23 22:37:01 2017 +0200
+
+ Fix under-linking (pthread and dl), fixes #3
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c6c8f54..e0e2433 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -168,7 +168,11 @@ set_target_properties(openshot-audio
+ SOVERSION ${SO_VERSION}
+ INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
+
++set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
++find_package(Threads REQUIRED)
+ TARGET_LINK_LIBRARIES(openshot-audio
++ ${CMAKE_DL_LIBS}
++ ${CMAKE_THREAD_LIBS_INIT}
+ ${JUCE_PLATFORM_SPECIFIC_LIBRARIES}
+ )
+