summaryrefslogtreecommitdiff
path: root/audio/nas/patches
diff options
context:
space:
mode:
authoraugustss <augustss>1997-10-28 23:18:20 +0000
committeraugustss <augustss>1997-10-28 23:18:20 +0000
commit7a44f9ac3808518e0b6ab44a549a37657b42243d (patch)
treecc8ee8439ae9a5d7d4a09af2bda1536118792658 /audio/nas/patches
parent6648b5d0679fcec1a16dfe55f49f61c206383a30 (diff)
downloadpkgsrc-7a44f9ac3808518e0b6ab44a549a37657b42243d.tar.gz
Initial import of FreeBSD audio packages.
Diffstat (limited to 'audio/nas/patches')
-rw-r--r--audio/nas/patches/patch-ab16
-rw-r--r--audio/nas/patches/patch-ac12
-rw-r--r--audio/nas/patches/patch-ad55
-rw-r--r--audio/nas/patches/patch-ae25
4 files changed, 108 insertions, 0 deletions
diff --git a/audio/nas/patches/patch-ab b/audio/nas/patches/patch-ab
new file mode 100644
index 00000000000..df614f79147
--- /dev/null
+++ b/audio/nas/patches/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(sndStatPtr)
+ SndStat* sndStatPtr;
+ {
diff --git a/audio/nas/patches/patch-ac b/audio/nas/patches/patch-ac
new file mode 100644
index 00000000000..67ce9ac3f3b
--- /dev/null
+++ b/audio/nas/patches/patch-ac
@@ -0,0 +1,12 @@
+*** ./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 ----
diff --git a/audio/nas/patches/patch-ad b/audio/nas/patches/patch-ad
new file mode 100644
index 00000000000..06c979d270e
--- /dev/null
+++ b/audio/nas/patches/patch-ad
@@ -0,0 +1,55 @@
+*** clients/audio/auedit/Graph.c.orig Wed Dec 6 10:11:03 1995
+--- clients/audio/auedit/Graph.c Sat Oct 5 11:37:52 1996
+***************
+*** 28,34 ****
+ */
+
+ #ifndef WIN32
+! #include <values.h>
+ #else /* WIN32 */
+ #define MAXSHORT 0x7fff
+ #endif /* WIN32 */
+--- 28,34 ----
+ */
+
+ #ifndef WIN32
+! #include <limits.h>
+ #else /* WIN32 */
+ #define MAXSHORT 0x7fff
+ #endif /* WIN32 */
+***************
+*** 322,329 ****
+
+ for (x = 0; x < (int) w->core.width; x++)
+ {
+! minY = MAXSHORT;
+! maxY = -MAXSHORT;
+
+ for (; (int) k == x && p < end; k += w->graph.hscale)
+ {
+--- 322,329 ----
+
+ for (x = 0; x < (int) w->core.width; x++)
+ {
+! minY = SHRT_MAX;
+! maxY = SHRT_MIN;
+
+ for (; (int) k == x && p < end; k += w->graph.hscale)
+ {
+***************
+*** 391,397 ****
+ GraphWidget w;
+ {
+ w->graph.vscale = (float) w->core.height / w->graph.numTracks /
+! (MAXSHORT - -MAXSHORT + 1);
+
+ w->graph.hscale = (float) ((int) w->core.width - 1) /
+ (w->graph.end - w->graph.start);
+--- 391,397 ----
+ GraphWidget w;
+ {
+ w->graph.vscale = (float) w->core.height / w->graph.numTracks /
+! (SHRT_MAX - SHRT_MIN + 1);
+
+ w->graph.hscale = (float) ((int) w->core.width - 1) /
+ (w->graph.end - w->graph.start);
diff --git a/audio/nas/patches/patch-ae b/audio/nas/patches/patch-ae
new file mode 100644
index 00000000000..9de5c29d898
--- /dev/null
+++ b/audio/nas/patches/patch-ae
@@ -0,0 +1,25 @@
+*** lib/audio/Imakefile Tue Feb 13 12:18:13 1996
+--- lib/audio/Imakefile Tue Feb 13 10:21:19 1996
+***************
+*** 66,73 ****
+ #endif /* ProjectX < 5 */
+
+ EDB_DEFINES = -DERRORDB=\"$(LIBDIR)/AuErrorDB\"
+
+ DEFINES = $(MALLOC_DEFINES) $(SYSV_DEFINES)
+! CONN_DEFINES = ConnectionFlags
+ INSTALLFLAGS += $(INSTINCFLAGS)
+
+--- 66,78 ----
+ #endif /* ProjectX < 5 */
+
++ #if HasBSD44Sockets
++ SOCK_DEFINES = -DBSD44SOCKETS
++ #endif
++
++
+ EDB_DEFINES = -DERRORDB=\"$(LIBDIR)/AuErrorDB\"
+
+ DEFINES = $(MALLOC_DEFINES) $(SYSV_DEFINES)
+! CONN_DEFINES = ConnectionFlags $(SOCK_DEFINES)
+ INSTALLFLAGS += $(INSTINCFLAGS)