summaryrefslogtreecommitdiff
path: root/audio/libao/patches
diff options
context:
space:
mode:
authorlukem <lukem@pkgsrc.org>2001-08-14 14:33:29 +0000
committerlukem <lukem@pkgsrc.org>2001-08-14 14:33:29 +0000
commitbf17e8a1ef182d5eba75928a4280b6fee766e530 (patch)
tree7a773d358edde5d8d5e2d36e6dd36aff2348235c /audio/libao/patches
parent0671c7dbb53f1e0fde979f572f48d6010fe97ad4 (diff)
downloadpkgsrc-bf17e8a1ef182d5eba75928a4280b6fee766e530.tar.gz
update from libao 0.7.0 to libao 0.8.0
NOTE: api has changed (different major number on library). all other libao packages need updating as well changes: * New API is not compatible with programs that used the old API. * Default driver detection works correctly. * Compilation fixes for the BSDs and Solaris. * OSS driver no longer freezes on systems using the OSS emulation layer of ALSA when the dsp device is in use by another device. * Configuration file support has been added. See the libao.conf(5) man page for details.
Diffstat (limited to 'audio/libao/patches')
-rw-r--r--audio/libao/patches/patch-aa13
-rw-r--r--audio/libao/patches/patch-ab22
-rw-r--r--audio/libao/patches/patch-ac13
3 files changed, 13 insertions, 35 deletions
diff --git a/audio/libao/patches/patch-aa b/audio/libao/patches/patch-aa
new file mode 100644
index 00000000000..0143ad1373a
--- /dev/null
+++ b/audio/libao/patches/patch-aa
@@ -0,0 +1,13 @@
+--- src/plugins/oss/ao_oss.c.orig Mon Aug 13 16:20:05 2001
++++ src/plugins/oss/ao_oss.c Wed Aug 15 00:15:59 2001
+@@ -81,8 +81,8 @@
+ char *err = NULL;
+ char *dev = NULL;
+
+- /* default: first try the devfs path */
+- *dev_path = strdup("/dev/sound/dsp");
++ /* default: first try the NetBSD path */
++ *dev_path = strdup("/dev/sound");
+ fd = open(*dev_path, O_WRONLY | O_NONBLOCK);
+
+ /* then try the original dsp path */
diff --git a/audio/libao/patches/patch-ab b/audio/libao/patches/patch-ab
deleted file mode 100644
index c22b9e37336..00000000000
--- a/audio/libao/patches/patch-ab
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2001/05/12 21:26:40 mycroft Exp $
-
---- ../libao-0.6.0.orig/src/plugins/oss/ao_oss.c Fri Feb 23 17:31:48 2001
-+++ src/plugins/oss/ao_oss.c Wed Mar 14 22:12:22 2001
-@@ -113,7 +113,7 @@
- }
- } else {
- /* default: first try the devfs path */
-- state->dev = strdup("/dev/sound/dsp");
-+ state->dev = strdup("/dev/sound");
- state->fd=open(state->dev,O_WRONLY);
- if(state->fd < 0)
- {
-@@ -198,7 +198,7 @@
- int plugin_get_latency(ao_internal_t *state)
- {
- int odelay = 0;
-- ioctl(((ao_oss_internal_t *)state)->fd, SNDCTL_DSP_GETODELAY, &odelay);
-+/* ioctl(((ao_oss_internal_t *)state)->fd, SNDCTL_DSP_GETODELAY, &odelay); */
- return odelay;
- }
-
diff --git a/audio/libao/patches/patch-ac b/audio/libao/patches/patch-ac
deleted file mode 100644
index 517e79c2798..00000000000
--- a/audio/libao/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2001/03/15 20:35:58 wiz Exp $
-
---- ../libao-0.6.0.orig/src/audio_out.c Fri Feb 23 17:31:46 2001
-+++ src/audio_out.c Thu Mar 15 10:21:55 2001
-@@ -63,7 +63,7 @@
- driver_tree_t *dt;
- void *handle;
-
-- handle = dlopen(plugin_file, RTLD_NOW);
-+ handle = dlopen(plugin_file, DL_LAZY);
- if (handle) {
- dt = (driver_tree_t *)malloc(sizeof(driver_tree_t));
- if (!dt) return NULL;