media-libs/x265: backport upstream patch to fix build error
authorAlexis Ballier <aballier@gentoo.org>
Fri, 29 Jun 2018 07:39:06 +0000 (09:39 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 29 Jun 2018 07:39:16 +0000 (09:39 +0200)
Package-Manager: Portage-2.3.41, Repoman-2.3.9

media-libs/x265/files/non_x86.patch [new file with mode: 0644]
media-libs/x265/x265-2.8.ebuild

diff --git a/media-libs/x265/files/non_x86.patch b/media-libs/x265/files/non_x86.patch
new file mode 100644 (file)
index 0000000..3c7e389
--- /dev/null
@@ -0,0 +1,20 @@
+# HG changeset patch
+# User Jayashree <jayashree.c@multicorewareinc.com>
+# 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")
index b7f4c3f205085ffcc9863963835c98c5f5572e05..7f60a7f11347f54a9364cb519690442ff08a41f7 100644 (file)
@@ -31,6 +31,7 @@ PATCHES=(
        "${FILESDIR}/arm.patch"
        "${FILESDIR}/neon.patch"
        "${FILESDIR}/ppc64.patch"
+       "${FILESDIR}/non_x86.patch"
 )
 
 src_unpack() {