yolobs-studio/debian/patches/0009-use-libsimde-dev.patch
2020-05-29 11:25:07 +02:00

29 lines
752 B
Diff

Author: Michael R. Crusoe <michael.crusoe@gmail.com>
Subject: Use the simd everywhere headers from libsimde-dev
--- obs-studio.orig/libobs/util/sse-intrin.h
+++ obs-studio/libobs/util/sse-intrin.h
@@ -19,7 +19,7 @@
#if NEEDS_SIMDE
-#include "simde/sse2.h"
+#include <simde/x86/sse2.h>
#define __m128 simde__m128
#define _mm_setzero_ps simde_mm_setzero_ps
--- obs-studio.orig/libobs/CMakeLists.txt
+++ obs-studio/libobs/CMakeLists.txt
@@ -186,13 +186,6 @@
if(NEEDS_SIMDE)
set(libobs_PLATFORM_HEADERS
- util/simde/check.h
- util/simde/hedley.h
- util/simde/mmx.h
- util/simde/simde-arch.h
- util/simde/simde-common.h
- util/simde/sse.h
- util/simde/sse2.h
util/threading-posix.h)
else()
set(libobs_PLATFORM_HEADERS