From 4febfd31501ca4327a14e24bcc398bfc9761c66f7297217aa11cbb2fc39febd1 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 27 Nov 2024 22:31:46 +0000 Subject: [PATCH] [info=c54c8654e835f3914bed4556799cc04785968d12bb30e89ef503c755df608b89] OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=48 --- _scmsync.obsinfo | 4 ++-- build.specials.obscpio | 2 +- disable_sse.patch | 18 ++++++++++++++++-- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo index b316f01..c6c790c 100644 --- a/_scmsync.obsinfo +++ b/_scmsync.obsinfo @@ -1,4 +1,4 @@ -mtime: 1732740518 -commit: ae3a81c72830eaea789c5acec04582893b2059d8060a8fa981fe3e682d3edd15 +mtime: 1732746692 +commit: c54c8654e835f3914bed4556799cc04785968d12bb30e89ef503c755df608b89 url: https://src.opensuse.org/jengelh/slade revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio index 7c8e983..27447d7 100644 --- a/build.specials.obscpio +++ b/build.specials.obscpio @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c6530bb0df280fa6d99c6c2af4c8af8862d03b71f8025954f8bd6059ddb55b6f +oid sha256:ea2366b166512e4f2b9c37ff6874cdd0044559dd4debf966ab673642aa133181 size 256 diff --git a/disable_sse.patch b/disable_sse.patch index 71c9897..3c69c85 100644 --- a/disable_sse.patch +++ b/disable_sse.patch @@ -8,8 +8,9 @@ Testing the compiler for SSE availability is wrong — if anything, the test needs to happen at runtime. --- - cmake/unix.cmake | 5 ----- - 1 file changed, 5 deletions(-) + cmake/unix.cmake | 5 ----- + thirdparty/dumb/helpers/resampler.c | 2 +- + 2 files changed, 1 insertion(+), 6 deletions(-) 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.) 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 + #define _USE_MATH_DEFINES + #include +-#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 + #define RESAMPLER_SSE + #endif