summaryrefslogtreecommitdiff
path: root/audio/amp/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/amp/patches
parent6648b5d0679fcec1a16dfe55f49f61c206383a30 (diff)
downloadpkgsrc-7a44f9ac3808518e0b6ab44a549a37657b42243d.tar.gz
Initial import of FreeBSD audio packages.
Diffstat (limited to 'audio/amp/patches')
-rw-r--r--audio/amp/patches/patch-aa19
-rw-r--r--audio/amp/patches/patch-ab39
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)