aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2010-06-07 04:39:21 +0800
committernaddy <naddy@FreeBSD.org>2010-06-07 04:39:21 +0800
commita7e23ef2423b94523671d838b70763ecfea3ca60 (patch)
tree3d3fdf131c6f5d30a25430d16a62f0d82e33445f /x11-toolkits
parent14d2f864caf57bceba3f0ac72ea827fafd27743d (diff)
downloadfreebsd-ports-gnome-a7e23ef2423b94523671d838b70763ecfea3ca60.tar.gz
freebsd-ports-gnome-a7e23ef2423b94523671d838b70763ecfea3ca60.tar.zst
freebsd-ports-gnome-a7e23ef2423b94523671d838b70763ecfea3ca60.zip
Bump PORTREVISION after libao update and handle API incompatibility.
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;
+