Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2005 21:53:39 +1200
From:      Matthew Luckie <mjl@luckie.org.nz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        obrien@FreeBSD.org
Subject:   ports/85036: [patch] unbreak gcc28 on 6.0
Message-ID:  <E1E5Kc7-0003Vy-4e@rayon.plunket.luckie.org.nz>
Resent-Message-ID: <200508171000.j7HA0cOq098678@freefall.freebsd.org>

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

>Number:         85036
>Category:       ports
>Synopsis:       [patch] unbreak gcc28 on 6.0
>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 Aug 17 10:00:37 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Luckie
>Release:        FreeBSD 6.0-BETA i386
>Organization:
University of Waikato
>Environment:
System: FreeBSD rayon.plunket.luckie.org.nz 6.0-BETA FreeBSD 6.0-BETA #0: Mon Jul 18 21:32:58 NZST 2005 root@rayon.plunket.luckie.org.nz:/usr/obj/usr/src/sys/rayon i386
>Description:

this patch unbreaks gcc28 on 6.0 and has been compile tested on 4.11,
5.3, 6.0 i386

i have compiled and run a small program on 6.0, but gcc28 is showing
its age.

i have bumped portrevision so that the pointyhat systems rebuild it,
and have offered to take maintainer.

>How-To-Repeat:
N/A
>Fix:
diff -uNr gcc28.orig/Makefile gcc28/Makefile
--- gcc28.orig/Makefile	Tue Jun  7 07:00:31 2005
+++ gcc28/Makefile	Wed Aug 17 21:39:29 2005
@@ -8,12 +8,12 @@
 
 PORTNAME=	gcc
 PORTVERSION=	2.8.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	gcc
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	mjl@luckie.org.nz
 COMMENT=	GNU Compiler Collection 2.8
 
 NOT_FOR_ARCHS=	amd64 sparc64 ia64
diff -uNr gcc28.orig/files/patch-24 gcc28/files/patch-24
--- gcc28.orig/files/patch-24	Thu Jan  1 12:00:00 1970
+++ gcc28/files/patch-24	Wed Aug 17 21:30:58 2005
@@ -0,0 +1,10 @@
+--- protoize.c.orig	Fri Feb 27 01:39:03 1998
++++ protoize.c	Wed Aug 17 21:22:15 2005
+@@ -57,6 +57,7 @@
+ #define _POSIX_SOURCE
+ #endif
+ 
++#include <sys/cdefs.h>
+ #include <varargs.h>
+ /* On some systems stdio.h includes stdarg.h;
+    we must bring in varargs.h first.  */
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1E5Kc7-0003Vy-4e>