From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libaom/, media-libs/libaom/files/
Date: Tue, 10 Apr 2018 08:04:51 +0000 (UTC) [thread overview]
Message-ID: <1523347455.2ef91df1f0f81deca530b90a249c94d86f4ace36.aballier@gentoo> (raw)
commit: 2ef91df1f0f81deca530b90a249c94d86f4ace36
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 10 07:43:23 2018 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Apr 10 08:04:15 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ef91df1
media-libs/libaom: fix shared lib underlinking
Package-Manager: Portage-2.3.28, Repoman-2.3.9
media-libs/libaom/files/pthread_lib.patch | 14 ++++++++++++++
media-libs/libaom/libaom-9999.ebuild | 2 +-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/media-libs/libaom/files/pthread_lib.patch b/media-libs/libaom/files/pthread_lib.patch
new file mode 100644
index 00000000000..d8770bc687c
--- /dev/null
+++ b/media-libs/libaom/files/pthread_lib.patch
@@ -0,0 +1,14 @@
+Index: libaom-9999/CMakeLists.txt
+===================================================================
+--- libaom-9999.orig/CMakeLists.txt
++++ libaom-9999/CMakeLists.txt
+@@ -598,6 +598,9 @@ if (BUILD_SHARED_LIBS)
+ include("${AOM_ROOT}/build/cmake/exports.cmake")
+ setup_exports_target()
+ set_target_properties(aom PROPERTIES SOVERSION 0)
++ if (HAVE_PTHREAD_H AND CONFIG_MULTITHREAD)
++ target_link_libraries(aom ${AOM_LIB_LINK_TYPE} Threads::Threads)
++ endif ()
+ endif ()
+
+ # Handle user supplied compile and link flags last to ensure they're obeyed.
diff --git a/media-libs/libaom/libaom-9999.ebuild b/media-libs/libaom/libaom-9999.ebuild
index 512d1b35470..9b472bd99de 100644
--- a/media-libs/libaom/libaom-9999.ebuild
+++ b/media-libs/libaom/libaom-9999.ebuild
@@ -35,7 +35,7 @@ REQUIRED_USE="
cpu_flags_x86_ssse3? ( cpu_flags_x86_sse2 )
"
-PATCHES=( "${FILESDIR}/libdirpc.patch" )
+PATCHES=( "${FILESDIR}/libdirpc.patch" "${FILESDIR}/pthread_lib.patch" )
src_prepare() {
sed -e 's/lib"/lib${LIB_SUFFIX}"/' -i CMakeLists.txt || die
next reply other threads:[~2018-04-10 8:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-10 8:04 Alexis Ballier [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-04-10 8:04 [gentoo-commits] repo/gentoo:master commit in: media-libs/libaom/, media-libs/libaom/files/ Alexis Ballier
2018-06-28 17:23 Alexis Ballier
2018-11-13 12:58 Craig Andrews
2019-07-11 21:16 Jory Pratt
2022-09-10 4:46 Sam James
2023-10-04 18:08 Sam James
2024-02-02 4:05 Sam James
2024-06-04 1:49 Mike Gilbert
2024-08-15 0:29 Sam James
2025-03-14 5:26 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1523347455.2ef91df1f0f81deca530b90a249c94d86f4ace36.aballier@gentoo \
--to=aballier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox