commit:     37b5d589e58986fa4ef1de6caeae807dc4f58657
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 20 20:24:24 2017 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Mar 20 20:24:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37b5d589

media-video/ffmpeg: add Prefix keywords and Solaris fix, bug #612366

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-video/ffmpeg/ffmpeg-3.2.4.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-video/ffmpeg/ffmpeg-3.2.4.ebuild 
b/media-video/ffmpeg/ffmpeg-3.2.4.ebuild
index 9e611292a7b..ef8ed6df468 100644
--- a/media-video/ffmpeg/ffmpeg-3.2.4.ebuild
+++ b/media-video/ffmpeg/ffmpeg-3.2.4.ebuild
@@ -54,7 +54,7 @@ LICENSE="
        samba? ( GPL-3 )
 "
 if [ "${PV#9999}" = "${PV}" ] ; then
-       KEYWORDS="~alpha amd64 arm hppa ~mips ppc ppc64 x86 ~amd64-fbsd 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
+       KEYWORDS="~alpha amd64 arm hppa ~mips ppc ppc64 x86 ~amd64-fbsd 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x64-solaris ~x86-solaris"
 fi
 
 # Options to use as use_enable in the foo[:bar] form.
@@ -292,6 +292,10 @@ src_prepare() {
                export revision=git-N-${FFMPEG_REVISION}
        fi
        default
+
+       # the version script on Solaris causes invalid symbol version problems
+       # we don't want their hacky workarounds, we're having a GNU ld
+       sed -i -e 's/sunos)/sunos) network_extralibs="-lsocket -lnsl"; 
add_cppflags -D__EXTENSIONS__; enable pic; disable symver ;; no-sunos)/' 
configure || die
 }
 
 multilib_src_configure() {

Reply via email to