summaryrefslogtreecommitdiff
path: root/audio/xamp/patches/patch-al
diff options
context:
space:
mode:
authorblymn <blymn>2000-06-18 11:11:51 +0000
committerblymn <blymn>2000-06-18 11:11:51 +0000
commit59fd929d60a190e911587519b6a811cb42e0a2d7 (patch)
tree829892dcba3563a11d9620d12ff68cdc144a019b /audio/xamp/patches/patch-al
parent582a4a18e1ba3903124d6b442d9afe9f94e61b1a (diff)
downloadpkgsrc-59fd929d60a190e911587519b6a811cb42e0a2d7.tar.gz
* Changed the way xamp supports NetBSD, we now have our own audioIO file.
* Added support for 8bit sound cards (it sounds crappy but when it is all you have....) * Fixed bug in debug mode code.
Diffstat (limited to 'audio/xamp/patches/patch-al')
-rw-r--r--audio/xamp/patches/patch-al24
1 files changed, 24 insertions, 0 deletions
diff --git a/audio/xamp/patches/patch-al b/audio/xamp/patches/patch-al
new file mode 100644
index 00000000000..c897978b26a
--- /dev/null
+++ b/audio/xamp/patches/patch-al
@@ -0,0 +1,24 @@
+diff -c ../configure.in:1.1.1.1 xamp/configure.in:1.4
+*** ../configure.in:1.1.1.1 Wed Jun 14 22:23:51 2000
+--- ../configure.in Wed Jun 14 22:23:51 2000
+***************
+*** 73,78 ****
+--- 73,90 ----
+ DEFINES="-DNO_BYTE_SWAPPING -DOS_$OS_TYPE -DARCH_$ARCH_TYPE"
+ ;;
+
++ NetBSD)
++ if test "$ARCH_TYPE" = "i486" ; then
++ CFLAGS_ARCH="-m486"
++ fi
++ if test "$ARCH_TYPE" = "i586" ; then
++ CFLAGS_ARCH="-i586 -pipe"
++ fi
++ CFLAGS="-O6 -ffast-math -fomit-frame-pointer"
++ DEFINES="-DNO_BYTE_SWAPPING -DOS_$OS_TYPE -DARCH_$ARCH_TYPE"
++ LDFLAGS="-lossaudio"
++ ;;
++
+ SunOS)
+ if test "$CC" = "gcc"; then
+ CFLAGS="-O6 -Dinline= "