commit:     a8a23ea108b2bff5986913224b823537f4264130
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 16 01:24:32 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 01:24:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8a23ea1

media-video/ffmpeg: add ppc altivec patches to 4.2.2

without patches it fails to compile if USE=altivec

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-video/ffmpeg/Manifest            | 2 ++
 media-video/ffmpeg/ffmpeg-4.2.2.ebuild | 8 +++++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/media-video/ffmpeg/Manifest b/media-video/ffmpeg/Manifest
index 773df95c40c..072c0afd734 100644
--- a/media-video/ffmpeg/Manifest
+++ b/media-video/ffmpeg/Manifest
@@ -2,4 +2,6 @@ DIST ffmpeg-3.4.6.tar.bz2 10190001 BLAKE2B 
4c7842900171cf871f8524f08f435797b1a16
 DIST ffmpeg-4.1.3.tar.bz2 10689073 BLAKE2B 
8486e21c8df116af802bb7f9208e702ec1feaa4f292f14021e0b6bfb3957b13ddacfa87db361e677ae0583cc2bd1d402a66b0c8507cbed79a001c9b8462100bf
 SHA512 
d0f8b3ee7b55e67b1c7ad9610a7b19a15acfc35dc843683502e536ebcc2e8678b55325532c0039b764cc978e95f83afb48bd24304abaee26f26d3247a8310bfe
 DIST ffmpeg-4.1.4.tar.bz2 10691784 BLAKE2B 
5f1f0b3c78cdd913e44bef448ff4d26fc5ea01e1a002baf98461fe0d8870bc2b0f29a1770377df8ff4f0c45febd532d6436c6627f5d1fb97125e92d9929f9284
 SHA512 
0c2d5bf4873b2bf12aff8c8b576d58dc3c5984ca727f48e1247293cbebda382e9070e8b7fac99870ec2ae0cef3be0a187d5ec5d58ee3e861cd673cae961b5947
 DIST ffmpeg-4.2.1.tar.bz2 10953293 BLAKE2B 
efc60a7e4a185d48a9ae7a5737fa930dea35ca19f1e2505fc4355815a8216f365134a018fb7a5eb7be8709989d27c2c0a56f7783e3f27eb12795e005fd6dc28d
 SHA512 
5bd556546716ccb5292289c3092c11f216e573d0b09a015fdb568dee7544878d057d922a63758867f0343a09262d7b51023e862b70cefc529875f2319e716de4
+DIST ffmpeg-4.2.2-ppc64-altivec.patch.gz 7171 BLAKE2B 
6676dadb22d2ab4b0f5c19b418448c5b9b54fd8c803c3f0ab517c6fa7990be08098dd6f6a2b1b3e77a1bed31a069c702366aba79ef9141ff9e23cd8c1b6e2885
 SHA512 
6653975017de3f7bde420860419fbdddb50ae41dbb811b819f4b5b13807bf885a4c01736f05a684515f97b0d63bd8896d5951a3276af90cc74abfe32dc2e2407
+DIST ffmpeg-4.2.2-ppc64-gcc.patch.gz 750 BLAKE2B 
3a9cc7f0135e077c77179a7ca3da917bca3995d99d53b58221b23181a075f330132f83ea90a6110e89f90c7c3b5b2a7837559c5df414d9bd52dbb3ec166b1545
 SHA512 
701b0635e0819484a31de2062ba52d95ee03883ab56547cd75c3646a9b32bf3ecc7f719690b93f29202cfed0fdeecd26b51b9f3c66e72a999a3e8d9e97389275
 DIST ffmpeg-4.2.2.tar.bz2 10953320 BLAKE2B 
53293d01bf0bb15de9a56c11195d6448ac8cad5fae2821d7e61d8fbb13894681a1a73dff44b2d46fda5c14e444c94dde6bcef219ad9d1cfebfb21d7d63318ed2
 SHA512 
6920bf2efb6ed665ea84c31ff3b28a0e9dc0ba3e0c8dfe4ceee4d8b8172328334490a28dbac93b0f9839d0c90ea588cb79141d88bdd3bf4bbf43fd22deb6a5e6

diff --git a/media-video/ffmpeg/ffmpeg-4.2.2.ebuild 
b/media-video/ffmpeg/ffmpeg-4.2.2.ebuild
index a19aefd2fc4..ea3611dc6fd 100644
--- a/media-video/ffmpeg/ffmpeg-4.2.2.ebuild
+++ b/media-video/ffmpeg/ffmpeg-4.2.2.ebuild
@@ -30,7 +30,10 @@ if [ "${PV#9999}" != "${PV}" ] ; then
 elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
        SRC_URI="mirror://gentoo/${P}.tar.bz2"
 else # Release
-       SRC_URI="https://ffmpeg.org/releases/${P/_/-}.tar.bz2";
+       SRC_URI="https://ffmpeg.org/releases/${P/_/-}.tar.bz2
+               
https://dev.gentoo.org/~gyakovlev/distfiles/${PN}-4.2.2-ppc64-altivec.patch.gz
+               
https://dev.gentoo.org/~gyakovlev/distfiles/${PN}-4.2.2-ppc64-gcc.patch.gz
+       "
 fi
 FFMPEG_REVISION="${PV#*_p}"
 
@@ -318,6 +321,9 @@ S=${WORKDIR}/${P/_/-}
 
 PATCHES=(
        "${FILESDIR}"/chromium-r1.patch
+       "${WORKDIR}/${PN}"-4.2.2-ppc64-gcc.patch     # both ppc patches from 
+       "${WORKDIR}/${PN}"-4.2.2-ppc64-altivec.patch # 
https://trac.ffmpeg.org/ticket/7861
+
 )
 
 MULTILIB_WRAPPED_HEADERS=(

Reply via email to