diff options
author | augustss <augustss@pkgsrc.org> | 1997-10-28 23:18:20 +0000 |
---|---|---|
committer | augustss <augustss@pkgsrc.org> | 1997-10-28 23:18:20 +0000 |
commit | 4daa64a62986fd842753a48935d3c8adf6758d93 (patch) | |
tree | cc8ee8439ae9a5d7d4a09af2bda1536118792658 /audio/nas/patches | |
parent | 4434fa54eccf4fa0896d9f01cd93c91ab718ec2c (diff) | |
download | pkgsrc-4daa64a62986fd842753a48935d3c8adf6758d93.tar.gz |
Initial import of FreeBSD audio packages.
Diffstat (limited to 'audio/nas/patches')
-rw-r--r-- | audio/nas/patches/patch-ab | 16 | ||||
-rw-r--r-- | audio/nas/patches/patch-ac | 12 | ||||
-rw-r--r-- | audio/nas/patches/patch-ad | 55 | ||||
-rw-r--r-- | audio/nas/patches/patch-ae | 25 |
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) |