head	1.5;
access;
symbols
	RELEASE_6_2_0:1.4
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.4
	RELEASE_5_4_0:1.4
	RELEASE_4_11_0:1.4
	RELEASE_5_3_0:1.4
	RELEASE_4_10_0:1.4
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.4
	RELEASE_5_1_0:1.4
	RELEASE_4_8_0:1.4
	RELEASE_5_0_0:1.4
	RELEASE_4_7_0:1.4
	RELEASE_4_6_2:1.4
	RELEASE_4_6_1:1.4
	RELEASE_4_6_0:1.4
	RELEASE_5_0_DP1:1.4
	RELEASE_4_5_0:1.4
	RELEASE_4_4_0:1.4
	RELEASE_4_3_0:1.4
	RELEASE_4_2_0:1.2
	RELEASE_4_1_1:1.2
	RELEASE_4_1_0:1.2
	RELEASE_3_5_0:1.2
	RELEASE_4_0_0:1.2
	RELEASE_3_4_0:1.2
	gcc_2_95_2:1.2
	RELEASE_3_3_0:1.2
	gcc_2_95_1:1.2
	gcc_2_95:1.2
	egcs_1_1_2:1.1
	RELEASE_3_2_0:1.1;
locks; strict;
comment	@# @;


1.5
date	2006.12.12.16.06.37;	author vd;	state dead;
branches;
next	1.4;

1.4
date	2000.11.30.11.39.26;	author obrien;	state Exp;
branches;
next	1.3;

1.3
date	2000.11.27.01.12.33;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	99.08.05.16.06.04;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	99.03.30.18.15.39;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Remove expired ports:
2006-12-01 print/latex-beamer: is already included in the teTeX distribution
2006-12-01 print/latex-bibtopic: is already included in the teTeX distribution
2006-12-01 print/latex-bibunits: is already included in the teTeX distribution
2006-12-01 print/latex-booktabs: is already included in the teTeX distribution
2006-12-01 print/latex-index: is already included in the teTeX distribution
2006-12-01 print/latex-layouts: is already included in the teTeX distribution
2006-12-01 print/latex-pgf: is already included in the teTeX distribution
2006-12-01 print/latex-subfig: is already included in the teTeX distribution
2006-12-01 print/latex-xcolor: is already included in the teTeX distribution
2006-12-01 print/latex-lineno: is already included in the teTeX distribution
2006-12-01 print/latex-pict2e: is already included in the teTeX distribution
2007-05-31 multimedia/gstreamer-plugins-mpeg2enc80: Obsolete version, use gstreamer 0.10 instead
2006-12-01 lang/gcc30: "This port is no longer in use by anything in the ports collection and will be removed in the future.  Use a later release instead."
2006-12-01 lang/egcs: "This port is no longer in use by anything in the ports collection and will be removed in the future.  Use a later release of gcc instead"
2006-12-01 graphics/php4-ming: doesn't work with new version of ming library
2006-12-01 graphics/dvipng: is already included in the teTeX distribution
@
text
@--- gcc/toplev.c.orig	Sat Feb 27 10:33:02 1999
+++ gcc/toplev.c	Tue Mar 30 03:37:57 1999
@@@@ -728,6 +728,10 @@@@
 
 extern int flag_dump_unnumbered;
 
+/* Nonzero means that -Wformat accepts certain system-dependent formats.  */
+
+int flag_format_extensions = 0;
+
 
 /* Table of supported debugging formats.  */
 static struct
@@@@ -915,6 +919,8 @@@@
    "Generate code to check every memory access" },
   {"prefix-function-name", &flag_prefix_function_name, 1,
    "Add a prefix to all function names" },
+  {"format-extensions", &flag_format_extensions, 1,
+   "-Wformat accepts certain FreeBSD system-dependent formats" },
   {"dump-unnumbered", &flag_dump_unnumbered, 1}
 };
 
@


1.4
log
@This should take this port back to the last version of it for EGCS-1.1.2.
The gcc-2.95.2 bits have been repo copied to ports/lang/gcc295.

GCC 2.95.2 does not work for some people's code.  GCC 3.0 will be even
worse.  So it looks like we'll have to keep a port for each version of
GCC we've ever used.
@
text
@@


1.3
log
@Add "-Wnon-const-format" which checks for non-constant format strings for
auditing purposes.

Submitted by:	kris
Obtained from:	NetBSD
@
text
@d1 3
a3 3
--- gcc/toplev.c.orig	Thu Oct 21 00:01:37 1999
+++ gcc/toplev.c	Sun Nov 26 15:25:45 2000
@@@@ -771,6 +771,9 @@@@
d5 1
a5 1
 int flag_no_ident = 0;
d8 1
d11 1
d14 1
a14 2
 {
@@@@ -971,6 +974,8 @@@@
d20 3
a22 13
   {"dump-unnumbered", &flag_dump_unnumbered, 1,
    "Suppress output of instruction numbers and line number notes in debugging dumps"},
   {"instrument-functions", &flag_instrument_function_entry_exit, 1,
@@@@ -1051,7 +1056,9 @@@@
   { "-Wconversion", "Warn about possibly confusing type conversions" },
   { "-Wno-conversion", "" },
   { "-Wformat", "Warn about printf format anomalies" },
+  { "-Wnon-const-format", "Warn about printf-like format strings" },
   { "-Wno-format", "" },
+  { "-Wno-format-extra-args", "" },
   { "-Wimplicit-function-declaration",
     "Warn about implicit function declarations" },
   { "-Wno-implicit-function-declaration", "" },
@


1.2
log
@Update to GCC-2.95 (what would have been EGCS-1.2).
@
text
@d1 3
a3 3
--- gcc/toplev.c.orig	Mon Mar 22 15:23:26 1999
+++ gcc/toplev.c	Tue Mar 30 13:13:44 1999
@@@@ -754,6 +754,9 @@@@
d13 1
a13 1
@@@@ -954,6 +957,8 @@@@
d22 10
@


1.1
log
@Add FreeBSD's ``-fformat-extensions''.  Taken from 4.0-CURRENT, this allows
2.x/3.x people to compile kernels and world with EGCS.
@
text
@d1 3
a3 3
--- gcc/toplev.c.orig	Sat Feb 27 10:33:02 1999
+++ gcc/toplev.c	Tue Mar 30 03:37:57 1999
@@@@ -728,6 +728,10 @@@@
d5 1
a5 1
 extern int flag_dump_unnumbered;
a7 1
+
a9 1
 
d12 2
a13 1
@@@@ -915,6 +919,8 @@@@
d19 3
a21 3
   {"dump-unnumbered", &flag_dump_unnumbered, 1}
 };
 
@

