libvisual/libvisual.visual_cpu_get_altivec.patch
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
669 B
Diff

better use glibc hwcap stuff instead of broken SIGILL traps.
---
libvisual/lv_cpu.c | 4 ----
1 file changed, 4 deletions(-)
Index: libvisual-0.4.0/libvisual/lv_cpu.c
===================================================================
--- libvisual-0.4.0.orig/libvisual/lv_cpu.c
+++ libvisual-0.4.0/libvisual/lv_cpu.c
@@ -441,10 +441,6 @@ void visual_cpu_initialize ()
#endif
#endif /* VISUAL_ARCH_X86 */
-#if defined(VISUAL_ARCH_POWERPC)
- check_os_altivec_support ();
-#endif /* VISUAL_ARCH_POWERPC */
-
/* Synchronizing enabled flags with has flags */
__lv_cpu_caps.enabledTSC = __lv_cpu_caps.hasTSC;
__lv_cpu_caps.enabledMMX = __lv_cpu_caps.hasMMX;