aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-09-20 10:15:09 +0800
committersteve <steve@FreeBSD.org>1999-09-20 10:15:09 +0800
commit6525660cd437ba70fb369115c9db660f70e57e1f (patch)
tree88c2723c9ac6703679da6d046fcf7e33f7dbee76 /audio
parent5b51401a2820625c0fe8a3f9d58731dd33fea171 (diff)
downloadfreebsd-ports-gnome-6525660cd437ba70fb369115c9db660f70e57e1f.tar.gz
freebsd-ports-gnome-6525660cd437ba70fb369115c9db660f70e57e1f.tar.zst
freebsd-ports-gnome-6525660cd437ba70fb369115c9db660f70e57e1f.zip
Break out part of a multipart patch and remove '-m486' when compiling on
FreeBSD/Alpha.
Diffstat (limited to 'audio')
-rw-r--r--audio/maplay/files/patch-ad19
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/maplay/files/patch-ad b/audio/maplay/files/patch-ad
new file mode 100644
index 000000000000..649ef65e8b9d
--- /dev/null
+++ b/audio/maplay/files/patch-ad
@@ -0,0 +1,19 @@
+--- configuration.sh.orig Thu Jun 23 07:14:46 1994
++++ configuration.sh Sat Sep 18 14:52:25 1999
+@@ -72,6 +72,16 @@
+ INCLUDEDIRS=
+ LIBRARIES=
+ AUDIO_INCLUDES='#include <sys/audioio.h>' ;;
++ FreeBSD*)
++ COMPILER=g++
++ if [ `uname -m` = "alpha" ]; then
++ COMPILERFLAGS='-O2 -DLINUX'
++ else
++ COMPILERFLAGS='-O2 -m486 -DLINUX -DDAMN_INTEL_BYTE_ORDER'
++ fi
++ INCLUDEDIRS=
++ LIBRARIES=
++ AUDIO_INCLUDES='#include <machine/soundcard.h>' ;;
+ Linux*)
+ COMPILER=g++
+ COMPILERFLAGS='-O2 -m486 -funroll-loops -DLINUX -DDAMN_INTEL_BYTE_ORDER'