aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-01-12 00:27:09 +0800
committermiwi <miwi@FreeBSD.org>2007-01-12 00:27:09 +0800
commita6b9d97034b5ff64bef5f6776e205f4ec05b6eba (patch)
treeb9db262487f36336eadebb84ae2ff7878e2f9827 /emulators
parentdd22556f7091e0a5b3103fa79f4b8acce9c29e07 (diff)
downloadfreebsd-ports-gnome-a6b9d97034b5ff64bef5f6776e205f4ec05b6eba.tar.gz
freebsd-ports-gnome-a6b9d97034b5ff64bef5f6776e205f4ec05b6eba.tar.zst
freebsd-ports-gnome-a6b9d97034b5ff64bef5f6776e205f4ec05b6eba.zip
- Fix build with gcc 4.X
PR: ports/107819 Submitted by: trasz (Maintainer)
Diffstat (limited to 'emulators')
-rw-r--r--emulators/tme/Makefile2
-rw-r--r--emulators/tme/files/patch-configure13
-rw-r--r--emulators/tme/files/patch-ic-m68k-m68k-bus-auto.c11
3 files changed, 23 insertions, 3 deletions
diff --git a/emulators/tme/Makefile b/emulators/tme/Makefile
index c2efec75865a..7e3aefe30183 100644
--- a/emulators/tme/Makefile
+++ b/emulators/tme/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tme
PORTVERSION= 0.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= emulators
MASTER_SITES= http://theory.lcs.mit.edu/~fredette/tme/
diff --git a/emulators/tme/files/patch-configure b/emulators/tme/files/patch-configure
index 7c1320446e46..e167803310c1 100644
--- a/emulators/tme/files/patch-configure
+++ b/emulators/tme/files/patch-configure
@@ -1,5 +1,14 @@
---- configure.orig Wed Jan 3 19:05:49 2007
-+++ configure Wed Jan 3 19:06:10 2007
+--- configure.orig Sun May 15 03:26:11 2005
++++ configure Thu Jan 11 12:30:20 2007
+@@ -8890,7 +8890,7 @@
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+- ac_cv_have_isinff=yes
++ ac_cv_have_isinff=no
+ else
+ echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
@@ -25853,7 +25853,7 @@
enable_warnings=yes
fi;
diff --git a/emulators/tme/files/patch-ic-m68k-m68k-bus-auto.c b/emulators/tme/files/patch-ic-m68k-m68k-bus-auto.c
new file mode 100644
index 000000000000..1828c816f2c2
--- /dev/null
+++ b/emulators/tme/files/patch-ic-m68k-m68k-bus-auto.c
@@ -0,0 +1,11 @@
+--- ic/m68k/m68k-bus-auto.c.orig Thu Jan 11 12:09:14 2007
++++ ic/m68k/m68k-bus-auto.c Thu Jan 11 12:10:30 2007
+@@ -156,7 +156,7 @@
+ };
+
+ /* the 32-bit bus router used on the 68020 and 68030: */
+-static const tme_bus_lane_t tme_m68k_router_32[TME_M68K_BUS_ROUTER_SIZE(TME_BUS32_LOG2)] = {
++const tme_bus_lane_t tme_m68k_router_32[TME_M68K_BUS_ROUTER_SIZE(TME_BUS32_LOG2)] = {
+
+ /* [m68k] initiator maximum cycle size: 8 bits
+ [m68k] initiator A1,A0: 00