summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-02-17 11:56:01 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-02-17 12:10:05 +0100
commitd206b9487177999c596a0d3a141df257923812fd (patch)
tree7de248bc1211eec2cd02ebdd8a80ce9fe9341481 /media-libs/x265/files
parentdev-libs/libmoe: remove old (diff)
downloadgentoo-d206b9487177999c596a0d3a141df257923812fd.tar.gz
gentoo-d206b9487177999c596a0d3a141df257923812fd.tar.bz2
gentoo-d206b9487177999c596a0d3a141df257923812fd.zip
media-libs/x265: Use a more complete match for ppc64.
Might help wrt https://bugs.gentoo.org/show_bug.cgi?id=607802#c5 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-libs/x265/files')
-rw-r--r--media-libs/x265/files/ppc64.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/media-libs/x265/files/ppc64.patch b/media-libs/x265/files/ppc64.patch
new file mode 100644
index 000000000000..f453c0de0a57
--- /dev/null
+++ b/media-libs/x265/files/ppc64.patch
@@ -0,0 +1,15 @@
+More complete ppc64 matches.
+
+Index: x265_2.2/source/CMakeLists.txt
+===================================================================
+--- x265_2.2.orig/source/CMakeLists.txt
++++ x265_2.2/source/CMakeLists.txt
+@@ -44,7 +44,7 @@ set(X86_ALIASES x86 i386 i686 x86_64 amd
+ set(ARM_ALIASES armv6l armv6j armv7l armv7a)
+ list(FIND X86_ALIASES "${SYSPROC}" X86MATCH)
+ list(FIND ARM_ALIASES "${SYSPROC}" ARMMATCH)
+-set(POWER_ALIASES ppc64 ppc64le)
++set(POWER_ALIASES ppc64 ppc64le powerpc64 powerpc64le)
+ list(FIND POWER_ALIASES "${SYSPROC}" POWERMATCH)
+ if("${SYSPROC}" STREQUAL "" OR X86MATCH GREATER "-1")
+ set(X86 1)