aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libao
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2007-01-15 06:18:01 +0800
committernaddy <naddy@FreeBSD.org>2007-01-15 06:18:01 +0800
commitfbe30c5d2add3e8cc9ee732ad599c09a2dccd370 (patch)
tree40a42528f678196a92c98a0b6898e5c986af1ddb /audio/libao
parent6e7873b36b7c31da41547ad580cf97769617f56e (diff)
downloadfreebsd-ports-gnome-fbe30c5d2add3e8cc9ee732ad599c09a2dccd370.tar.gz
freebsd-ports-gnome-fbe30c5d2add3e8cc9ee732ad599c09a2dccd370.tar.zst
freebsd-ports-gnome-fbe30c5d2add3e8cc9ee732ad599c09a2dccd370.zip
On special request, provide a full prototype for ao_default_driver_id()
in ao.h. PR: 107903 Submitted by: Ed Schouten <ed@fxq.nl>
Diffstat (limited to 'audio/libao')
-rw-r--r--audio/libao/Makefile2
-rw-r--r--audio/libao/files/patch-include_ao_ao.h14
2 files changed, 15 insertions, 1 deletions
diff --git a/audio/libao/Makefile b/audio/libao/Makefile
index aaed0cd66781..0d0f04a723a3 100644
--- a/audio/libao/Makefile
+++ b/audio/libao/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libao
PORTVERSION= 0.8.5
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= http://www.xiph.org/ao/src/
diff --git a/audio/libao/files/patch-include_ao_ao.h b/audio/libao/files/patch-include_ao_ao.h
new file mode 100644
index 000000000000..7295a654dea2
--- /dev/null
+++ b/audio/libao/files/patch-include_ao_ao.h
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- include/ao/ao.h.orig
++++ include/ao/ao.h
+@@ -134,7 +134,7 @@
+
+ /* driver information */
+ int ao_driver_id(const char *short_name);
+-int ao_default_driver_id();
++int ao_default_driver_id(void);
+ ao_info *ao_driver_info(int driver_id);
+ ao_info **ao_driver_info_list(int *driver_count);
+ char *ao_file_extension(int driver_id);