diff options
author | augustss <augustss> | 1997-10-28 23:18:20 +0000 |
---|---|---|
committer | augustss <augustss> | 1997-10-28 23:18:20 +0000 |
commit | f8e906be96435c1ec9f3f8dba3ab6d8698cb08be (patch) | |
tree | cc8ee8439ae9a5d7d4a09af2bda1536118792658 /audio/amp/patches | |
parent | 3492a1d2d3c36ad01439a85ba2bad6462bb0288d (diff) | |
download | pkgsrc-f8e906be96435c1ec9f3f8dba3ab6d8698cb08be.tar.gz |
Initial import of FreeBSD audio packages.
Diffstat (limited to 'audio/amp/patches')
-rw-r--r-- | audio/amp/patches/patch-aa | 19 | ||||
-rw-r--r-- | audio/amp/patches/patch-ab | 39 |
2 files changed, 58 insertions, 0 deletions
diff --git a/audio/amp/patches/patch-aa b/audio/amp/patches/patch-aa new file mode 100644 index 00000000000..d6313b1a88e --- /dev/null +++ b/audio/amp/patches/patch-aa @@ -0,0 +1,19 @@ +*** configure.orig Mon Sep 1 19:01:06 1997 +--- configure Mon Sep 1 19:12:55 1997 +*************** case "$OS_TYPE" in +*** 1409,1415 **** + if test "$OS_TYPE" = "FreeBSD" ; then + OS_TYPE="BSD" + fi +! CFLAGS="-O6 -ffast-math -fomit-frame-pointer ${CFLAGS_ARCH}" + DEFINES="-DNO_BYTE_SWAPPING -DOS_$OS_TYPE -DARCH_$ARCH_TYPE" + ;; + +--- 1409,1415 ---- + if test "$OS_TYPE" = "FreeBSD" ; then + OS_TYPE="BSD" + fi +! CFLAGS="-O2 -m486 -pipe -ffast-math -fomit-frame-pointer ${CFLAGS_ARCH}" + DEFINES="-DNO_BYTE_SWAPPING -DOS_$OS_TYPE -DARCH_$ARCH_TYPE" + ;; + diff --git a/audio/amp/patches/patch-ab b/audio/amp/patches/patch-ab new file mode 100644 index 00000000000..aba343a13c6 --- /dev/null +++ b/audio/amp/patches/patch-ab @@ -0,0 +1,39 @@ +*** audioIO_Linux.c.orig Mon Sep 1 19:29:08 1997 +--- audioIO_Linux.c Mon Sep 1 19:33:25 1997 +*************** +*** 26,32 **** + + /* optimal fragment size */ + +! int AUSIZ = 0; + + /* declare these static to effectively isolate the audio device */ + +--- 26,32 ---- + + /* optimal fragment size */ + +! int AUSIZ = 32768; + + /* declare these static to effectively isolate the audio device */ + +*** audioIO.h.orig Mon Sep 1 19:33:43 1997 +--- audioIO.h Mon Sep 1 19:34:04 1997 +*************** extern int AUSIZ; +*** 12,18 **** + #endif + + #ifdef OS_BSD +! #define AUSIZ 32768 + #endif + + #if defined(OS_IRIX) || defined(OS_IRIX64) +--- 12,19 ---- + #endif + + #ifdef OS_BSD +! /* #define AUSIZ 32768 */ +! extern int AUSIZ; + #endif + + #if defined(OS_IRIX) || defined(OS_IRIX64) |