diff options
author | augustss <augustss@pkgsrc.org> | 1997-10-30 00:30:18 +0000 |
---|---|---|
committer | augustss <augustss@pkgsrc.org> | 1997-10-30 00:30:18 +0000 |
commit | a3d9eb2f9d78af809e37639f281b9bfcaf6eb6e4 (patch) | |
tree | ed14affc47a7f85adf65a0814606163b9d4c22be /audio/xmix/patches | |
parent | c9eb3f5b8de5b0d00681773cfd9ce2417b569744 (diff) | |
download | pkgsrc-a3d9eb2f9d78af809e37639f281b9bfcaf6eb6e4.tar.gz |
NetBSD port.
Diffstat (limited to 'audio/xmix/patches')
-rw-r--r-- | audio/xmix/patches/patch-ab | 28 | ||||
-rw-r--r-- | audio/xmix/patches/patch-ac | 12 |
2 files changed, 40 insertions, 0 deletions
diff --git a/audio/xmix/patches/patch-ab b/audio/xmix/patches/patch-ab new file mode 100644 index 00000000000..cf940d5af0a --- /dev/null +++ b/audio/xmix/patches/patch-ab @@ -0,0 +1,28 @@ +diff -u ../../work/xmix/Imakefile ./Imakefile +--- ../../work/xmix/Imakefile Thu Oct 30 01:21:25 1997 ++++ ./Imakefile Thu Oct 30 00:46:39 1997 +@@ -12,7 +12,7 @@ + + all:: $(PROGRAMS) + +-LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) ++LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) -lossaudio + + PROGRAM = $(PROGRAMS) + +diff -u ../../work/xmix/xmix.c ./xmix.c +--- ../../work/xmix/xmix.c Thu Oct 30 01:21:25 1997 ++++ ./xmix.c Thu Oct 30 00:45:45 1997 +@@ -77,7 +77,12 @@ + #include "square_empty.bit" + #include "square_with_x.bit" + ++#ifdef __NetBSD__ ++#include <sys/ioctl.h> ++#include <soundcard.h> ++#else + #include <machine/soundcard.h> ++#endif + + #define SOUND_FULL_SCALE 100.0 + #define MAX_SOUND_VOL 95 diff --git a/audio/xmix/patches/patch-ac b/audio/xmix/patches/patch-ac new file mode 100644 index 00000000000..5ca14c80176 --- /dev/null +++ b/audio/xmix/patches/patch-ac @@ -0,0 +1,12 @@ +diff -u ../../work/xmix/xmix.c ./xmix.c +--- ../../work/xmix/xmix.c Thu Oct 30 01:23:01 1997 ++++ ./xmix.c Thu Oct 30 01:25:53 1997 +@@ -747,7 +747,7 @@ + mic.locked = 0; + reclvl.locked = 0; + +- printf("supported = 0x%x\n",supported); ++ /*printf("supported = 0x%x\n",supported);*/ + set_supported(&master,(supported & SOUND_MASK_VOLUME) != 0); + set_supported(&bass,(supported & SOUND_MASK_BASS) != 0); + set_supported(&treble,(supported & SOUND_MASK_TREBLE) != 0); |