summaryrefslogtreecommitdiff
path: root/audio/xmix
diff options
context:
space:
mode:
authoraugustss <augustss@pkgsrc.org>1997-10-30 00:30:18 +0000
committeraugustss <augustss@pkgsrc.org>1997-10-30 00:30:18 +0000
commita3d9eb2f9d78af809e37639f281b9bfcaf6eb6e4 (patch)
treeed14affc47a7f85adf65a0814606163b9d4c22be /audio/xmix
parentc9eb3f5b8de5b0d00681773cfd9ce2417b569744 (diff)
downloadpkgsrc-a3d9eb2f9d78af809e37639f281b9bfcaf6eb6e4.tar.gz
NetBSD port.
Diffstat (limited to 'audio/xmix')
-rw-r--r--audio/xmix/Makefile8
-rw-r--r--audio/xmix/patches/patch-ab28
-rw-r--r--audio/xmix/patches/patch-ac12
-rw-r--r--audio/xmix/pkg/PLIST2
4 files changed, 47 insertions, 3 deletions
diff --git a/audio/xmix/Makefile b/audio/xmix/Makefile
index e86dd8bb73d..56d52382bc8 100644
--- a/audio/xmix/Makefile
+++ b/audio/xmix/Makefile
@@ -3,7 +3,8 @@
# Date created: 30 June 1995
# Whom: janek@gaja.ipan.lublin.pl
#
-# $Id: Makefile,v 1.1.1.1 1997/10/28 23:19:27 augustss Exp $
+# $NetBSD: Makefile,v 1.2 1997/10/30 00:30:18 augustss Exp $
+# FreeBSD Id: Makefile,v 1.5 1996/11/18 13:56:53 asami Exp
#
DISTNAME= xmix-2.1
@@ -14,13 +15,16 @@ MASTER_SITE_SUBDIR= apps/sound/mixers
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= xmix-2.1.mixers.patch
+# FreeBSD maintainer
MAINTAINER= janek@gaja.ipan.lublin.pl
USE_IMAKE= yes
WRKSRC= $(WRKDIR)/xmix
-pre-install:
+pre-configure:
${CP} ${WRKSRC}/xmix.1 ${WRKSRC}/xmix.man
+
+pre-install:
${INSTALL_DATA} $(WRKSRC)/XMix ${PREFIX}/lib/X11/app-defaults
.include <bsd.port.mk>
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);
diff --git a/audio/xmix/pkg/PLIST b/audio/xmix/pkg/PLIST
index 70c43961941..78ce46ddcc7 100644
--- a/audio/xmix/pkg/PLIST
+++ b/audio/xmix/pkg/PLIST
@@ -1,3 +1,3 @@
bin/xmix
lib/X11/app-defaults/XMix
-man/man1/xmix.1.gz
+man/cat1/xmix.0