pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/SDL



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed May 11 10:14:29 UTC 2022

Modified Files:
        pkgsrc/devel/SDL: Makefile

Log Message:
SDL: fix NetBSD audio in pygame, e.g. 'games/monsterz'. reported by wiz.


To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 pkgsrc/devel/SDL/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/SDL/Makefile
diff -u pkgsrc/devel/SDL/Makefile:1.146 pkgsrc/devel/SDL/Makefile:1.147
--- pkgsrc/devel/SDL/Makefile:1.146     Sat Apr  2 07:17:55 2022
+++ pkgsrc/devel/SDL/Makefile   Wed May 11 10:14:29 2022
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.146 2022/04/02 07:17:55 nia Exp $
+# $NetBSD: Makefile,v 1.147 2022/05/11 10:14:29 nia Exp $
 
 DISTNAME=      SDL-1.2.15
-PKGREVISION=   37
+PKGREVISION=   38
 CATEGORIES=    devel games
 MASTER_SITES=  http://www.libsdl.org/release/
 
@@ -18,6 +18,10 @@ PTHREAD_OPTS+=               require
 
 CONFLICTS+=            sdl12-compat-[0-9]*
 
+# Fixes skippy audio output in pygame. Also matches SDL2 where the
+# non-blocking audio code was removed.
+CPPFLAGS.NetBSD+=      -DUSE_BLOCKING_WRITES
+
 CPPFLAGS+=             -DPREFIX="\"${PREFIX}\""
 CPPFLAGS+=             -DX11BASE="\"${X11BASE}\""
 



Home | Main Index | Thread Index | Old Index