diff options
author | jlam <jlam> | 2002-10-17 00:02:00 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-10-17 00:02:00 +0000 |
commit | 22e057193a4bd6888ca4abff6228600dad619e3d (patch) | |
tree | c2770de2e6c42816227ee91d6c072634279d7429 /audio/xmms-crossfade/patches | |
parent | a5c37884f82fd0c3e7c279a64c08aa3a33ccabe1 (diff) | |
download | pkgsrc-22e057193a4bd6888ca4abff6228600dad619e3d.tar.gz |
Make this package OSS-aware.
Diffstat (limited to 'audio/xmms-crossfade/patches')
-rw-r--r-- | audio/xmms-crossfade/patches/patch-ab | 8 | ||||
-rw-r--r-- | audio/xmms-crossfade/patches/patch-af | 13 |
2 files changed, 18 insertions, 3 deletions
diff --git a/audio/xmms-crossfade/patches/patch-ab b/audio/xmms-crossfade/patches/patch-ab index e3dda2e31ff..3bbb1e2cdb9 100644 --- a/audio/xmms-crossfade/patches/patch-ab +++ b/audio/xmms-crossfade/patches/patch-ab @@ -1,16 +1,18 @@ -$NetBSD: patch-ab,v 1.1.1.1 2001/05/23 20:17:22 rh Exp $ +$NetBSD: patch-ab,v 1.2 2002/10/17 00:02:01 jlam Exp $ ---- crossfade.h.orig Tue May 8 15:32:19 2001 +--- crossfade.h.orig Mon May 14 04:27:08 2001 +++ crossfade.h -@@ -108,7 +108,11 @@ +@@ -108,7 +108,13 @@ #define FC_OFFSET_LOCK_OUT 2 #define FC_OFFSET_CUSTOM 3 ++#ifndef DEFAULT_OSS_ALT_AUDIO_DEVICE +#ifdef __NetBSD__ +#define DEFAULT_OSS_ALT_AUDIO_DEVICE "/dev/sound" +#else #define DEFAULT_OSS_ALT_AUDIO_DEVICE "/dev/dsp" +#endif ++#endif #define DEFAULT_OSS_ALT_MIXER_DEVICE "/dev/mixer" #define DEFAULT_OP_CONFIG_STRING "libOSS.so=0,1,2304,0; libdisk_writer.so=1,0,2304,1" #define DEFAULT_OP_NAME "libOSS.so" diff --git a/audio/xmms-crossfade/patches/patch-af b/audio/xmms-crossfade/patches/patch-af new file mode 100644 index 00000000000..8581d5de4cc --- /dev/null +++ b/audio/xmms-crossfade/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2002/10/17 00:02:01 jlam Exp $ + +--- Makefile.in.orig Thu Jun 7 09:35:11 2001 ++++ Makefile.in +@@ -109,7 +109,7 @@ CONFIG_CLEAN_FILES = xmms-crossfade.spe + LTLIBRARIES = $(lib_LTLIBRARIES) + + +-DEFS = @DEFS@ -I. -I$(srcdir) -I. ++DEFS = @DEFS@ -I. -I$(srcdir) -I. $(OSS_DEFS) + CPPFLAGS = @CPPFLAGS@ + LDFLAGS = @LDFLAGS@ + LIBS = @LIBS@ |