summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2018-06-29 09:39:06 +0200
committerAlexis Ballier <aballier@gentoo.org>2018-06-29 09:39:16 +0200
commit47c0313dd95bf0284fd9eef981f742124f1d2d01 (patch)
tree2147bb0e247ad1f47c3569654b48f15c38b74077
parentdev-ada/gnatcoll-db: Fix dependency on gnatcoll-bindings (diff)
downloadgentoo-47c0313dd95bf0284fd9eef981f742124f1d2d01.tar.gz
gentoo-47c0313dd95bf0284fd9eef981f742124f1d2d01.tar.bz2
gentoo-47c0313dd95bf0284fd9eef981f742124f1d2d01.zip
media-libs/x265: backport upstream patch to fix build error
Package-Manager: Portage-2.3.41, Repoman-2.3.9
-rw-r--r--media-libs/x265/files/non_x86.patch20
-rw-r--r--media-libs/x265/x265-2.8.ebuild1
2 files changed, 21 insertions, 0 deletions
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 <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")
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() {