aboutsummaryrefslogtreecommitdiff
path: root/audio/squash
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2010-06-06 20:39:21 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2010-06-06 20:39:21 +0000
commitf613ac049d40272c3b27a76dbab7f6723f2a2ba2 (patch)
treee62b67c39f729f55f17b68f6438f9f1beeadd10c /audio/squash
parent2f2aafd9bf4a01f681da4598e18663001e4a9406 (diff)
downloadports-f613ac049d40272c3b27a76dbab7f6723f2a2ba2.tar.gz
ports-f613ac049d40272c3b27a76dbab7f6723f2a2ba2.zip
Notes
Diffstat (limited to 'audio/squash')
-rw-r--r--audio/squash/Makefile4
-rw-r--r--audio/squash/files/patch-src::player.c13
2 files changed, 15 insertions, 2 deletions
diff --git a/audio/squash/Makefile b/audio/squash/Makefile
index cdda52ea6585..d9c29da5448c 100644
--- a/audio/squash/Makefile
+++ b/audio/squash/Makefile
@@ -6,7 +6,7 @@
PORTNAME= squash
PORTVERSION= 1.0
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -19,7 +19,7 @@ LIB_DEPENDS+= FLAC.10:${PORTSDIR}/audio/flac \
id3-3.8.3:${PORTSDIR}/audio/id3lib \
mad.2:${PORTSDIR}/audio/mad \
vorbis.4:${PORTSDIR}/audio/libvorbis \
- ao.3:${PORTSDIR}/audio/libao
+ ao.4:${PORTSDIR}/audio/libao
RUN_DEPENDS= id3v2:${PORTSDIR}/audio/id3v2
USE_BZIP2= yes
diff --git a/audio/squash/files/patch-src::player.c b/audio/squash/files/patch-src::player.c
new file mode 100644
index 000000000000..580094e4c0f0
--- /dev/null
+++ b/audio/squash/files/patch-src::player.c
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- src/player.c.orig
++++ src/player.c
+@@ -118,6 +118,7 @@
+ char *full_filename;
+ long start_position;
+
++ memset(&sound_format, 0, sizeof(sound_format));
+ play_state = STATE_BEFORE_SONG;
+
+ /* make the compiler happy */