[info=c54c8654e835f3914bed4556799cc04785968d12bb30e89ef503c755df608b89]

OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=48
This commit is contained in:
OBS User unknown 2024-11-27 22:31:46 +00:00 committed by Git OBS Bridge
parent a6d7ea9a85
commit 4febfd3150
3 changed files with 19 additions and 5 deletions

View File

@ -1,4 +1,4 @@
mtime: 1732740518 mtime: 1732746692
commit: ae3a81c72830eaea789c5acec04582893b2059d8060a8fa981fe3e682d3edd15 commit: c54c8654e835f3914bed4556799cc04785968d12bb30e89ef503c755df608b89
url: https://src.opensuse.org/jengelh/slade url: https://src.opensuse.org/jengelh/slade
revision: master revision: master

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:c6530bb0df280fa6d99c6c2af4c8af8862d03b71f8025954f8bd6059ddb55b6f oid sha256:ea2366b166512e4f2b9c37ff6874cdd0044559dd4debf966ab673642aa133181
size 256 size 256

View File

@ -9,7 +9,8 @@ the test needs to happen at runtime.
--- ---
cmake/unix.cmake | 5 ----- cmake/unix.cmake | 5 -----
1 file changed, 5 deletions(-) thirdparty/dumb/helpers/resampler.c | 2 +-
2 files changed, 1 insertion(+), 6 deletions(-)
Index: SLADE-3.2.6/cmake/unix.cmake Index: SLADE-3.2.6/cmake/unix.cmake
=================================================================== ===================================================================
@ -27,3 +28,16 @@ Index: SLADE-3.2.6/cmake/unix.cmake
# Enable debug symbols for glib (so gdb debugging works properly with strings etc.) # Enable debug symbols for glib (so gdb debugging works properly with strings etc.)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_GLIBCXX_DEBUG") set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_GLIBCXX_DEBUG")
Index: SLADE-3.2.6/thirdparty/dumb/helpers/resampler.c
===================================================================
--- SLADE-3.2.6.orig/thirdparty/dumb/helpers/resampler.c
+++ SLADE-3.2.6/thirdparty/dumb/helpers/resampler.c
@@ -2,7 +2,7 @@
#include <string.h>
#define _USE_MATH_DEFINES
#include <math.h>
-#if (defined(_M_IX86) || defined(__i386__) || defined(_M_X64) || defined(__amd64__))
+#if defined(_USE_SSE) && (defined(_M_IX86) || defined(__i386__) || defined(_M_X64) || defined(__amd64__))
#include <xmmintrin.h>
#define RESAMPLER_SSE
#endif