From: Alexis Ballier Date: Fri, 29 Jun 2018 07:39:06 +0000 (+0200) Subject: media-libs/x265: backport upstream patch to fix build error X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=47c0313dd95bf0284fd9eef981f742124f1d2d01;p=gentoo.git media-libs/x265: backport upstream patch to fix build error Package-Manager: Portage-2.3.41, Repoman-2.3.9 --- diff --git a/media-libs/x265/files/non_x86.patch b/media-libs/x265/files/non_x86.patch new file mode 100644 index 000000000000..3c7e389329a7 --- /dev/null +++ b/media-libs/x265/files/non_x86.patch @@ -0,0 +1,20 @@ +# HG changeset patch +# User Jayashree +# Date 1527224165 -19800 +# Fri May 25 10:26:05 2018 +0530 +# Node ID 4504219210793536d921ee4e0b3058698c630bf4 +# Parent cc2c5e46f3c87d27e3602af30b06ba6a0fbe2704 +Fix build error on on ppc64le + +diff -r cc2c5e46f3c8 -r 450421921079 source/common/param.cpp +--- a/source/common/param.cpp Mon May 21 18:42:29 2018 +0530 ++++ b/source/common/param.cpp Fri May 25 10:26:05 2018 +0530 +@@ -633,7 +633,7 @@ + if (bValueWasNull) + p->cpuid = atobool(value); + else +- p->cpuid = parseCpuName(value, bError); ++ p->cpuid = parseCpuName(value, bError, false); + #endif + } + OPT("fps") diff --git a/media-libs/x265/x265-2.8.ebuild b/media-libs/x265/x265-2.8.ebuild index b7f4c3f20508..7f60a7f11347 100644 --- a/media-libs/x265/x265-2.8.ebuild +++ b/media-libs/x265/x265-2.8.ebuild @@ -31,6 +31,7 @@ PATCHES=( "${FILESDIR}/arm.patch" "${FILESDIR}/neon.patch" "${FILESDIR}/ppc64.patch" + "${FILESDIR}/non_x86.patch" ) src_unpack() {