summaryrefslogtreecommitdiff
path: root/multimedia/x265/6d55869ed5e2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/x265/6d55869ed5e2.patch')
-rw-r--r--multimedia/x265/6d55869ed5e2.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/multimedia/x265/6d55869ed5e2.patch b/multimedia/x265/6d55869ed5e2.patch
new file mode 100644
index 0000000000..868440f541
--- /dev/null
+++ b/multimedia/x265/6d55869ed5e2.patch
@@ -0,0 +1,19 @@
+# HG changeset patch
+# User Steve Borho <steve@borho.org>
+# Date 1394041694 21600
+# Node ID 6d55869ed5e29c97977b89aa0218a5c8510c671a
+# Parent c40c379f283cbe458e1c9330521dfa2ad1d0aa92
+cmake: add i686 to x86 alias list (closes #33)
+
+diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
+--- a/source/CMakeLists.txt
++++ b/source/CMakeLists.txt
+@@ -30,7 +30,7 @@
+ string(TOLOWER "${CMAKE_SYSTEM_PROCESSOR}" SYSPROC)
+ if("${SYSPROC}" STREQUAL "i386" OR "${SYSPROC}" STREQUAL "amd64" OR
+ "${SYSPROC}" STREQUAL "x86_64" OR "${SYSPROC}" STREQUAL "x86" OR
+- "${SYSPROC}" STREQUAL "")
++ "${SYSPROC}" STREQUAL "i686" OR "${SYSPROC}" STREQUAL "")
+ message(STATUS "Detected x86 system processor")
+ set(X86 1)
+ add_definitions(-DX265_ARCH_X86=1)