pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/SDL2



Module Name:    pkgsrc
Committed By:   jmcneill
Date:           Sun Oct 26 20:29:54 UTC 2025

Modified Files:
        pkgsrc/devel/SDL2: Makefile

Log Message:
SDL2: Disable Altivec support on powerpc.

Not all CPUs have Altivec and SDL2 lacks runtime detection. Fixes "illegal
instruction" crashes on 7xx family systems.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 pkgsrc/devel/SDL2/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/SDL2/Makefile
diff -u pkgsrc/devel/SDL2/Makefile:1.111 pkgsrc/devel/SDL2/Makefile:1.112
--- pkgsrc/devel/SDL2/Makefile:1.111    Thu Oct 23 20:36:14 2025
+++ pkgsrc/devel/SDL2/Makefile  Sun Oct 26 20:29:54 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.111 2025/10/23 20:36:14 wiz Exp $
+# $NetBSD: Makefile,v 1.112 2025/10/26 20:29:54 jmcneill Exp $
 
 DISTNAME=      SDL2-2.32.10
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=libsdl-org/}
 GITHUB_PROJECT=        SDL
@@ -58,6 +58,9 @@ CONFIGURE_ARGS+=      --disable-sse
 CONFIGURE_ARGS+=       --disable-ssemath
 CONFIGURE_ARGS+=       --disable-sse2
 .endif
+.if ${MACHINE_ARCH} == "powerpc"
+CONFIGURE_ARGS+=       --disable-altivec
+.endif
 
 PKGCONFIG_OVERRIDE+=   sdl2.pc.in
 



Home | Main Index | Thread Index | Old Index