aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2007-07-23 00:58:39 +0800
committeralepulver <alepulver@FreeBSD.org>2007-07-23 00:58:39 +0800
commit6a28b7af38254004d96e9729be1a99a1235c78f9 (patch)
tree09a02757d2e99583244cbd067dafe01eb3c12591
parente81a93b4b4bc16cf71b16a06b1e68a3cf4a2bb7b (diff)
downloadfreebsd-ports-gnome-6a28b7af38254004d96e9729be1a99a1235c78f9.tar.gz
freebsd-ports-gnome-6a28b7af38254004d96e9729be1a99a1235c78f9.tar.zst
freebsd-ports-gnome-6a28b7af38254004d96e9729be1a99a1235c78f9.zip
- Fix building on non-i386 with GCC 4.2 (on i386 assembly code is used).
Reported by: pav
-rw-r--r--emulators/generator/files/patch-cmz80__z80.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/generator/files/patch-cmz80__z80.c b/emulators/generator/files/patch-cmz80__z80.c
new file mode 100644
index 000000000000..365c2b00ffcc
--- /dev/null
+++ b/emulators/generator/files/patch-cmz80__z80.c
@@ -0,0 +1,20 @@
+--- cmz80/z80.c.orig Mon Oct 29 20:07:24 2001
++++ cmz80/z80.c Sun Jul 22 13:54:12 2007
+@@ -633,7 +633,7 @@
+ #endif
+ }
+
+-/* inline */ static BYTE Inc(BYTE bArg)
++/* inline */ BYTE Inc(BYTE bArg)
+ {
+ #ifdef ARITH_TABLES
+ bArg++;
+@@ -646,7 +646,7 @@
+ #endif
+ }
+
+-/* inline */ static BYTE Dec(BYTE bArg)
++/* inline */ BYTE Dec(BYTE bArg)
+ {
+ #ifdef ARITH_TABLES
+ m_regF = (m_regF & C_FLAG) | rgfDec[bArg--];