SHA256
1
0
forked from pool/libvisual
Files
libvisual/libvisual-0.4.0-2.1-nmu.diff
Yasuhiko Kamata 02b7962057 Accepting request 1180781 from home:belphegor_belbel:KDE3
Imported C99 compatibility fixes from Fedora project;
it fixes build error when using GCC14 (boo#1225859).

OBS-URL: https://build.opensuse.org/request/show/1180781
OBS-URL: https://build.opensuse.org/package/show/KDE:KDE3/libvisual?expand=0&rev=26
2024-06-14 00:18:25 +00:00

22 lines
785 B
Diff

diff -u libvisual-0.4.0/libvisual/lv_cpu.c libvisual-0.4.0/libvisual/lv_cpu.c
--- libvisual-0.4.0/libvisual/lv_cpu.c
+++ libvisual-0.4.0/libvisual/lv_cpu.c
@@ -76,7 +76,7 @@
/* The sigill handlers */
#if defined(VISUAL_ARCH_X86) //x86 (linux katmai handler check thing)
-#if defined(VISUAL_OS_LINUX) && defined(_POSIX_SOURCE) && defined(X86_FXSR_MAGIC)
+#if defined(VISUAL_OS_LINUX) && defined(_POSIX_SOURCE)
static void sigill_handler_sse( int signal, struct sigcontext sc )
{
/* Both the "xorps %%xmm0,%%xmm0" and "divps %xmm0,%%xmm1"
@@ -109,7 +109,7 @@
}
}
#endif
-#endif /* VISUAL_OS_LINUX && _POSIX_SOURCE && X86_FXSR_MAGIC */
+#endif /* VISUAL_OS_LINUX && _POSIX_SOURCE */
#if defined(VISUAL_OS_WIN32)
LONG CALLBACK win32_sig_handler_sse(EXCEPTION_POINTERS* ep)