aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-01-20 00:35:48 +0800
committervs <vs@FreeBSD.org>2005-01-20 00:35:48 +0800
commitc7c3e5b247abdba47f20a3611d50466879f10212 (patch)
tree06935fde741fa8152c1de5eaa7967a0d19603bf5 /devel
parenta7fda702abc0af9f3ff40a109e4372b8776c7a5d (diff)
downloadfreebsd-ports-gnome-c7c3e5b247abdba47f20a3611d50466879f10212.tar.gz
freebsd-ports-gnome-c7c3e5b247abdba47f20a3611d50466879f10212.tar.zst
freebsd-ports-gnome-c7c3e5b247abdba47f20a3611d50466879f10212.zip
Fix compilation on >5.x (gcc34)
PR: ports/76138 Submitted by: Corentin Plouet
Diffstat (limited to 'devel')
-rw-r--r--devel/mingw-gcc/Makefile4
-rw-r--r--devel/mingw-gcc/files/patch-ad11
2 files changed, 11 insertions, 4 deletions
diff --git a/devel/mingw-gcc/Makefile b/devel/mingw-gcc/Makefile
index a92f448896e8..e59c5b771e06 100644
--- a/devel/mingw-gcc/Makefile
+++ b/devel/mingw-gcc/Makefile
@@ -42,10 +42,6 @@ INFO= cpp g77 gcc
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
.if ${ARCH} != "i386"
BROKEN= "Does not compile on !i386"
.endif
diff --git a/devel/mingw-gcc/files/patch-ad b/devel/mingw-gcc/files/patch-ad
new file mode 100644
index 000000000000..8a190876a244
--- /dev/null
+++ b/devel/mingw-gcc/files/patch-ad
@@ -0,0 +1,11 @@
+--- gcc/f/com.h.orig Wed Jan 12 11:57:10 2005
++++ gcc/f/com.h Wed Jan 12 11:57:37 2005
+@@ -310,7 +310,7 @@
+ void ffecom_finish_progunit (void);
+ tree ffecom_get_invented_identifier (const char *pattern, const char *text,
+ int number);
+-ffeinfoKindtype ffecom_gfrt_basictype (ffecomGfrt ix);
++ffeinfoBasictype ffecom_gfrt_basictype (ffecomGfrt ix);
+ ffeinfoKindtype ffecom_gfrt_kindtype (ffecomGfrt ix);
+ void ffecom_init_0 (void);
+ void ffecom_init_2 (void);