Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2005 13:10:17 +0000
From:      "Corentin Plouet" <cplouet@medria.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        e.mounier@medria.fr
Subject:   ports/76138: [patch] ports/devel/mingw-gcc broken on FreeBSD >= 5.x
Message-ID:  <200501121210.j0CCA3X7024258@courrier.rennes.enst-bretagne.fr>
Resent-Message-ID: <200501121210.j0CCAOg0037276@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         76138
>Category:       ports
>Synopsis:       [patch] ports/devel/mingw-gcc broken on FreeBSD >= 5.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 12 12:10:24 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Corentin Plouet
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD serveurdev 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	ports/devel/mingw-gcc is marked broken because it does not compile on FreeBSD >= 5.x
>How-To-Repeat:
	Try to build ports/devel/mingw-gcc (or the mingw meta port).
>Fix:

	A patch is supplied.

--- mingw-gcc.patch begins here ---
diff -ruN mingw-gcc.bak/Makefile mingw-gcc/Makefile
--- mingw-gcc/Makefile	Fri Dec 10 22:41:53 2004
+++ mingw-gcc/Makefile	Wed Jan 12 11:40:40 2005
@@ -42,10 +42,6 @@
 
 .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 -ruN mingw-gcc.bak/files/patch-ad mingw-gcc/files/patch-ad
--- mingw-gcc/files/patch-ad	Thu Jan  1 00:00:00 1970
+++ mingw-gcc/files/patch-ad	Wed Jan 12 11:58:37 2005
@@ -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);
--- mingw-gcc.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501121210.j0CCA3X7024258>