summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-11-04 01:53:27 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-11-04 01:53:27 +0000
commit9510e05e21954748f540ddad397c1506df45c629 (patch)
tree287693013a824f5628c9bc3fdfed7951c60f556d /audio
parentFor submakes, don't do a `${MAKE} ${MAKEFILE} all' or (diff)
NAS - NetAudio Server.
Notes
Notes: svn path=/head/; revision=317
Diffstat (limited to 'audio')
-rw-r--r--audio/nas/Makefile14
-rw-r--r--audio/nas/files/patch-aa30
-rw-r--r--audio/nas/files/patch-ab16
-rw-r--r--audio/nas/files/patch-ac24
4 files changed, 84 insertions, 0 deletions
diff --git a/audio/nas/Makefile b/audio/nas/Makefile
new file mode 100644
index 000000000000..9828f518d685
--- /dev/null
+++ b/audio/nas/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: nas (formerly netaudio)
+# Version required: 1.2p1
+# Date created: 03 Nov 1994
+# Whom: jkh
+#
+# $Id$
+#
+
+DISTNAME= nas-1.2p1
+USE_IMAKE= yes
+ALL_TARGET= World
+MASTER_SITES= ftp://ftp.x.org/contrib/audio/nas/
+
+.include <bsd.port.mk>
diff --git a/audio/nas/files/patch-aa b/audio/nas/files/patch-aa
new file mode 100644
index 000000000000..05c34cc6e18b
--- /dev/null
+++ b/audio/nas/files/patch-aa
@@ -0,0 +1,30 @@
+*** lib/audio/wave.c.orig Tue Sep 6 13:57:12 1994
+--- lib/audio/wave.c Thu Nov 3 11:31:42 1994
+***************
+*** 19,25 ****
+ * WHETHER IN AN ACTION IN CONTRACT, TORT OR NEGLIGENCE, ARISING OUT OF OR IN
+ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+! * $NCDId: @(#)wave.c,v 1.21 1994/09/06 20:57:12 greg Exp $
+ */
+
+ /*
+--- 19,25 ----
+ * WHETHER IN AN ACTION IN CONTRACT, TORT OR NEGLIGENCE, ARISING OUT OF OR IN
+ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+! * $NCDId: @(#)wave.c,v 1.22 1994/11/01 22:17:30 greg Exp $
+ */
+
+ /*
+***************
+*** 161,166 ****
+--- 161,168 ----
+ fseek(wi->fp, 0, 2);
+ wi->dataSize = ftell(wi->fp) - wi->dataOffset;
+ }
++
++ wi->dataOffset -= sizeof(long);
+ }
+ else
+ /* skip unknown chunk */
diff --git a/audio/nas/files/patch-ab b/audio/nas/files/patch-ab
new file mode 100644
index 000000000000..76240cc17e0b
--- /dev/null
+++ b/audio/nas/files/patch-ab
@@ -0,0 +1,16 @@
+*** server/dda/voxware/auvoxware.c.orig Thu Nov 3 11:24:11 1994
+--- server/dda/voxware/auvoxware.c Thu Nov 3 11:24:50 1994
+***************
+*** 755,760 ****
+--- 755,765 ----
+ /*
+ * Setup soundcard at maximum audio quality.
+ */
++
++ #ifdef __FreeBSD__
++ #define NO_16_BIT_SAMPLING
++ #endif
++
+ static void setupSoundcard(sndStat)
+ SndStat* sndStat;
+ {
diff --git a/audio/nas/files/patch-ac b/audio/nas/files/patch-ac
new file mode 100644
index 000000000000..2dd87a172353
--- /dev/null
+++ b/audio/nas/files/patch-ac
@@ -0,0 +1,24 @@
+*** ./lib/audio/Astreams.c.orig Thu Nov 3 11:58:30 1994
+--- ./lib/audio/Astreams.c Thu Nov 3 11:58:52 1994
+***************
+*** 52,58 ****
+ #include <sys/stropts.h>
+
+ extern int errno;
+- extern char *sys_errlist[];
+
+ /* stolen from <X11/Xproto.h> */
+ typedef struct {
+--- 52,57 ----
+*** ./lib/audio/Alibint.c.orig Thu Nov 3 11:58:07 1994
+--- ./lib/audio/Alibint.c Thu Nov 3 11:58:47 1994
+***************
+*** 1266,1272 ****
+ static char *_SysErrorMsg (n)
+ int n;
+ {
+- extern char *sys_errlist[];
+ extern int sys_nerr;
+ char *s = ((n >= 0 && n < sys_nerr) ? sys_errlist[n] : "unknown error");
+
+--- 1266,1271 ----