ports/85036: [patch] unbreak gcc28 on 6.0
Matthew Luckie
mjl at luckie.org.nz
Wed Aug 17 10:00:50 UTC 2005
>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 at 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 at FreeBSD.org
+MAINTAINER= mjl at 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:
More information about the freebsd-ports-bugs
mailing list