aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gnustep-gui/Makefile3
-rw-r--r--x11-toolkits/gnustep-gui/files/patch-Tools_sound_AudioOutputSink.m10
2 files changed, 12 insertions, 1 deletions
diff --git a/x11-toolkits/gnustep-gui/Makefile b/x11-toolkits/gnustep-gui/Makefile
index c1069a755710..175e63cf7c9e 100644
--- a/x11-toolkits/gnustep-gui/Makefile
+++ b/x11-toolkits/gnustep-gui/Makefile
@@ -8,6 +8,7 @@
PORTNAME= gnustep-gui
.if defined(WITH_GNUSTEP_DEVEL)
PORTVERSION= 0.19.0
+PORTREVISION= 1
.else
PORTVERSION= 0.17.1
PORTREVISION= 2
@@ -25,7 +26,7 @@ LIB_DEPENDS+= png.6:${PORTSDIR}/graphics/png
LIB_DEPENDS+= gif.5:${PORTSDIR}/graphics/giflib
.if defined(WITH_GNUSTEP_DEVEL)
LIB_DEPENDS+= sndfile:${PORTSDIR}/audio/libsndfile
-LIB_DEPENDS+= ao.3:${PORTSDIR}/audio/libao
+LIB_DEPENDS+= ao.4:${PORTSDIR}/audio/libao
BUILD_DEPENDS+= ${LOCALBASE}/lib/libflite.a:${PORTSDIR}/audio/flite
.else
LIB_DEPENDS+= audiofile:${PORTSDIR}/audio/libaudiofile
diff --git a/x11-toolkits/gnustep-gui/files/patch-Tools_sound_AudioOutputSink.m b/x11-toolkits/gnustep-gui/files/patch-Tools_sound_AudioOutputSink.m
new file mode 100644
index 000000000000..4610c84a9431
--- /dev/null
+++ b/x11-toolkits/gnustep-gui/files/patch-Tools_sound_AudioOutputSink.m
@@ -0,0 +1,10 @@
+--- Tools/sound/AudioOutputSink.m.orig 2010-06-06 18:12:07.000000000 +0200
++++ Tools/sound/AudioOutputSink.m 2010-06-06 18:12:53.000000000 +0200
+@@ -72,6 +72,7 @@
+ return nil;
+ }
+
++ memset(&_format, 0, sizeof(_format));
+ _format.channels = (int)channelCount;
+ _format.rate = (int)sampleRate;
+