diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-06-12 04:22:42 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:34:01 -0500 |
commit | b05ce5add8948fa72697935d192aa78b5205cce4 (patch) | |
tree | c2e85f9635c13e254ed7747714c3515b59f73477 /user/mlt/x86caps.patch | |
parent | 741941bfad1b5a071bba76fd1e3a4df0e2ed5d95 (diff) | |
download | packages-b05ce5add8948fa72697935d192aa78b5205cce4.tar.gz packages-b05ce5add8948fa72697935d192aa78b5205cce4.tar.bz2 packages-b05ce5add8948fa72697935d192aa78b5205cce4.tar.xz packages-b05ce5add8948fa72697935d192aa78b5205cce4.zip |
user/mlt: Update to 7.6.0
Diffstat (limited to 'user/mlt/x86caps.patch')
-rw-r--r-- | user/mlt/x86caps.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/user/mlt/x86caps.patch b/user/mlt/x86caps.patch new file mode 100644 index 000000000..4b8e3ae0b --- /dev/null +++ b/user/mlt/x86caps.patch @@ -0,0 +1,37 @@ +--- mlt-7.6.0/CMakeLists.txt.old 2022-03-29 13:12:42.000000000 -0500 ++++ mlt-7.6.0/CMakeLists.txt 2022-06-12 04:00:05.290000000 -0500 +@@ -125,10 +125,8 @@ + if(CMAKE_C_COMPILER_ID MATCHES "GNU|Clang") + if(CMAKE_SYSTEM_PROCESSOR MATCHES "i686|x86|x86_64|AMD64") + set(CPU_MMX ON) +- set(CPU_SSE ON) +- set(CPU_SSE2 ON) + if(NOT MSVC) # also NOT clang-cl +- list(APPEND MLT_COMPILE_OPTIONS "-mmmx;-msse;-msse2") ++ list(APPEND MLT_COMPILE_OPTIONS "-mmmx") + endif() + endif() + if(CMAKE_SYSTEM_PROCESSOR MATCHES "i686" OR (WIN32 AND CMAKE_SYSTEM_PROCESSOR MATCHES "x86")) +@@ -136,6 +134,9 @@ + endif() + if(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64|AMD64") + set(CPU_X86_64 ON) ++ set(CPU_SSE ON) ++ set(CPU_SSE2 ON) ++ set(CPU_SSE3 ON) + endif() + endif() + +--- mlt-7.6.0/src/modules/xine/CMakeLists.txt.old 2022-03-29 13:12:42.000000000 -0500 ++++ mlt-7.6.0/src/modules/xine/CMakeLists.txt 2022-06-12 03:59:39.880000000 -0500 +@@ -30,6 +30,10 @@ + target_compile_definitions(mltxine PRIVATE USE_SSE2) + endif() + ++if(CPU_SSE3) ++ target_compile_definitions(mltxine PRIVATE USE_SSE3) ++endif() ++ + if(CPU_X86_32) + target_compile_definitions(mltxine PRIVATE ARCH_X86) + endif() |