summaryrefslogtreecommitdiff
path: root/emulators/stonx/files/patch-configure
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-12-21 05:32:39 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-12-21 05:32:39 +0000
commitabf97d85501bccf9f592a411ab2b4d744982197d (patch)
treef984d845eb9bb396f819ecb4b111d954cdaf82d0 /emulators/stonx/files/patch-configure
parent- Update to 20101220 (0.3.4-rc2) (diff)
- update to 0.6.7.6
- update MASTER_SITES - install in standard path - wrapper script removed - enable audio support - reset MAINTAINER after 4 weeks PR: 152393 Approved by: (maintainer timeout)
Notes
Notes: svn path=/head/; revision=266690
Diffstat (limited to 'emulators/stonx/files/patch-configure')
-rw-r--r--emulators/stonx/files/patch-configure33
1 files changed, 33 insertions, 0 deletions
diff --git a/emulators/stonx/files/patch-configure b/emulators/stonx/files/patch-configure
new file mode 100644
index 000000000000..93e48031f445
--- /dev/null
+++ b/emulators/stonx/files/patch-configure
@@ -0,0 +1,33 @@
+--- configure.orig 2004-08-15 15:36:21.000000000 +0200
++++ configure 2010-04-03 09:57:44.000000000 +0200
+@@ -3989,6 +3990,30 @@
+ esac
+ copt="$copt -funroll-loops"
+ ;;
++*freebsd*)
++ echo 'A FreeBSD box...'
++ case $t in
++ i*86-*)
++ cat >>confdefs.h <<\_ACEOF
++#define NZREG "%ebx"
++_ACEOF
++
++ cat >>confdefs.h <<\_ACEOF
++#define PCREG "%ebp"
++_ACEOF
++
++ regs="-fomit-frame-pointer -ffixed-ebx -ffixed-ebp"
++ ;;
++ *)
++ regs=""
++ esac
++ # Most BSD systems support OSS audio, too:
++ cat >>confdefs.h <<\_ACEOF
++#define STONX_AUDIO_LINUX 1
++_ACEOF
++
++ libs=""
++ ;;
+ *bsd*)
+ echo 'A BSD box...'
+ case $t in