pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/SDL SDL: fix NetBSD audio in pygame, e.g. 'games...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5f65f501bcdc
branches:  trunk
changeset: 379070:5f65f501bcdc
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed May 11 10:14:29 2022 +0000

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

diffstat:

 devel/SDL/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 02ccd8308995 -r 5f65f501bcdc devel/SDL/Makefile
--- a/devel/SDL/Makefile        Wed May 11 09:54:49 2022 +0000
+++ b/devel/SDL/Makefile        Wed May 11 10:14:29 2022 +0000
@@ -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 @@
 
 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