aboutsummaryrefslogtreecommitdiffstats
path: root/audio/nas
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-11-04 09:53:27 +0800
committerjkh <jkh@FreeBSD.org>1994-11-04 09:53:27 +0800
commit7b97fa84c0dd3d3ea4983d84ff120d3a466b8d34 (patch)
tree3ca19313e9912b1645567418fc26e8bc77cb1c45 /audio/nas
parent11b4a791e639bc15cf26c46b6a5698fe9b1140ed (diff)
downloadfreebsd-ports-gnome-7b97fa84c0dd3d3ea4983d84ff120d3a466b8d34.tar.gz
freebsd-ports-gnome-7b97fa84c0dd3d3ea4983d84ff120d3a466b8d34.tar.zst
freebsd-ports-gnome-7b97fa84c0dd3d3ea4983d84ff120d3a466b8d34.zip
NAS - NetAudio Server.
Diffstat (limited to 'audio/nas')
-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 ----