diff --git a/games/heroes/Makefile b/games/heroes/Makefile index ae153ba7b04..2628d8bc95b 100644 --- a/games/heroes/Makefile +++ b/games/heroes/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.15 2007/09/15 18:01:01 simon Exp $ +# $OpenBSD: Makefile,v 1.16 2009/01/25 01:30:16 jakemsr Exp $ COMMENT= graphically improved game of yore @@ -7,6 +7,7 @@ DATAVERSION= 1.5 SOUNDVERSION= 1.0 MUSICVERSION= 1.0 DISTNAME= heroes-${VERSION} +PKGNAME= ${DISTNAME}p0 CATEGORIES= games x11 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ diff --git a/games/heroes/patches/patch-src_media_sdl_mixer_strack_c b/games/heroes/patches/patch-src_media_sdl_mixer_strack_c new file mode 100644 index 00000000000..ca74de70c8d --- /dev/null +++ b/games/heroes/patches/patch-src_media_sdl_mixer_strack_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-src_media_sdl_mixer_strack_c,v 1.1 2009/01/25 01:30:17 jakemsr Exp $ +--- src/media/sdl_mixer/strack.c.orig Sat Jan 24 05:05:16 2009 ++++ src/media/sdl_mixer/strack.c Sat Jan 24 05:07:20 2009 +@@ -80,7 +80,7 @@ init_sound_engine (void) + if (!audio_buffers) + /* Use small values for audio buffer to reduce the duration between + the moment where a sample is mixed and the moment where it is heard. */ +- audio_buffers = (hqmix ? 2048 : 1024); ++ audio_buffers = (hqmix ? 2048 : 1024) * 2; + + init_SDL (); + /* Open the audio device */