aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2007-03-22 12:02:00 +0800
committeralepulver <alepulver@FreeBSD.org>2007-03-22 12:02:00 +0800
commit47914207377662490f638b8b68283b911897d3c6 (patch)
tree2ea2bfcc3a07be44f13350179fbb136b6af77f27 /emulators
parent845aae2977b5a5df5478bcb2719e368bf1f30997 (diff)
downloadfreebsd-ports-gnome-47914207377662490f638b8b68283b911897d3c6.tar.gz
freebsd-ports-gnome-47914207377662490f638b8b68283b911897d3c6.tar.zst
freebsd-ports-gnome-47914207377662490f638b8b68283b911897d3c6.zip
- Fix building with GCC 4.x.
Reported by: pointyhat
Diffstat (limited to 'emulators')
-rw-r--r--emulators/generator/files/patch-cpu68k__def68k.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/generator/files/patch-cpu68k__def68k.c b/emulators/generator/files/patch-cpu68k__def68k.c
new file mode 100644
index 000000000000..5ee468fa6d08
--- /dev/null
+++ b/emulators/generator/files/patch-cpu68k__def68k.c
@@ -0,0 +1,11 @@
+--- cpu68k/def68k.c.orig Sun May 4 21:58:27 2003
++++ cpu68k/def68k.c Thu Mar 22 00:58:30 2007
+@@ -21,7 +21,7 @@
+ /* file-scope global variables */
+
+ static int total = 0;
+-static int clocks_movetable[]; /* pre-declaration */
++int clocks_movetable[]; /* pre-declaration */
+
+ /* private functions for forward references */
+