aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2009-03-14 22:36:05 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2009-03-14 22:36:05 +0000
commit4e447f14a33084a536e1a8a5fd9cfbdf6d7e126f (patch)
treec1ed2fcdbfb0cf758370fdf6f69241b664a88439 /lang
parentca7f56f647ce5aa56ec68ad74a790b05a06f085b (diff)
downloadports-4e447f14a33084a536e1a8a5fd9cfbdf6d7e126f.tar.gz
ports-4e447f14a33084a536e1a8a5fd9cfbdf6d7e126f.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/gcc33/Makefile117
-rw-r--r--lang/gcc33/distinfo15
-rw-r--r--lang/gcc33/files/freebsd7.h23
-rw-r--r--lang/gcc33/files/opt.patch-bc11
-rw-r--r--lang/gcc33/files/patch-config.gcc10
-rw-r--r--lang/gcc33/files/patch-configure11
-rw-r--r--lang/gcc33/files/patch-fa179
-rw-r--r--lang/gcc33/files/patch-fb13
-rw-r--r--lang/gcc33/files/patch-fc21
-rw-r--r--lang/gcc33/files/patch-freebsd-spec.h11
-rw-r--r--lang/gcc33/files/patch-gengtype-yacc.y12
-rw-r--r--lang/gcc33/files/patch-i386.c14
-rw-r--r--lang/gcc33/files/patch-ltconfig14
-rw-r--r--lang/gcc33/pkg-descr6
-rw-r--r--lang/gcc33/pkg-plist14
16 files changed, 0 insertions, 472 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 87ff1d7084d0..1632264cde00 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -83,7 +83,6 @@
SUBDIR += gawk
SUBDIR += gcc-ooo
SUBDIR += gcc295
- SUBDIR += gcc33
SUBDIR += gcc34
SUBDIR += gcc42
SUBDIR += gcc42-withgcjawt
diff --git a/lang/gcc33/Makefile b/lang/gcc33/Makefile
deleted file mode 100644
index 5fa114e26547..000000000000
--- a/lang/gcc33/Makefile
+++ /dev/null
@@ -1,117 +0,0 @@
-# ex:ts=8
-# Ports collection makefile for: egcs
-# Date created: 9 Jan 1998
-# Whom: John Polstra <jdp@polstra.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= gcc
-PORTVERSION= 3.3.6
-PORTREVISION= 5
-PORTEPOCH= 1
-CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_GCC}
-MASTER_SITE_SUBDIR= releases/gcc-${PORTVERSION}
-DISTFILES= gcc-core-${PORTVERSION}${EXTRACT_SUFX} \
- gcc-g++-${PORTVERSION}${EXTRACT_SUFX} \
- gcc-g77-${PORTVERSION}${EXTRACT_SUFX} \
- gcc-objc-${PORTVERSION}${EXTRACT_SUFX}
-
-MAINTAINER= gerald@FreeBSD.org
-COMMENT= GNU Compiler Collection 3.3
-
-DEPRECATED= fails to build on FreeBSD 8 and above, not a single complaint when it failed to build for half a year, closed upstream for half a decade
-EXPIRATION_DATE=2009-03-03
-
-SUFFIX= 33
-LATEST_LINK= gcc${SUFFIX}${PKGNAMESUFFIX}
-NOT_FOR_ARCHS= amd64 sparc64
-USE_BISON= build
-USE_BZIP2= yes
-USE_GMAKE= yes
-USE_PERL5_BUILD=yes
-
-PATCH_WRKSRC= ${SRCDIR}
-CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
-NOMANCOMPRESS= yes # too hard to deal with differences on 5-cur and releng4
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 800000
-IGNORE= does not support FreeBSD 8 and above
-.endif
-
-.if ${ARCH} == "amd64"
-CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
-.else
-CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
-.endif
-
-SRCDIR= ${WRKDIR}/gcc-${PORTVERSION}
-WRKSRC= ${WRKDIR}/build
-TARGLIB= ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${PORTVERSION}
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--host=${CONFIGURE_TARGET} --target=${CONFIGURE_TARGET} \
- --disable-nls \
- --with-system-zlib \
- --program-suffix=${SUFFIX} \
- --libdir=${TARGLIB} \
- --with-gxx-include-dir=${TARGLIB}/include/c++/
-MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
-MAKE_ENV= LD_LIBRARY_PATH=.:${WRKSRC}/gcc
-ALL_TARGET= bootstrap-lean
-USE_LDCONFIG= ${TARGLIB}
-PLIST_SUB= GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET} \
- SUFFIX=${SUFFIX}
-MAN1= cpp${SUFFIX}.1 \
- g++${SUFFIX}.1 \
- g77-${SUFFIX}.1 \
- gcc${SUFFIX}.1 \
- gcov${SUFFIX}.1
-INFO= gcc${SUFFIX}/cpp \
- gcc${SUFFIX}/cppinternals \
- gcc${SUFFIX}/g77 \
- gcc${SUFFIX}/gcc \
- gcc${SUFFIX}/gccint
-
-pre-everything::
- @${ECHO_MSG} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} target=${CONFIGURE_TARGET}"
-
-post-patch:
- @${REINPLACE_CMD} -e 's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \
- ${SRCDIR}/gcc/version.c
-
-pre-configure:
- cd ${SRCDIR} ; contrib/gcc_update --touch
- @${LN} -sf ${FILESDIR}/freebsd7.h ${SRCDIR}/gcc/config
- @${RM} -f ${SRCDIR}/gcc/*/*.info*
- @${MKDIR} ${CONFIGURE_WRKSRC}
-
-post-install:
-.for f in c++ g77 gcc g++ cpp gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++
- # gij and jv-convert, for example, are not built on all platforms.
- if [ -e ${PREFIX}/man/man1/${f}.1 ]; then \
- ${MV} -f ${PREFIX}/man/man1/${f}.1 \
- ${PREFIX}/man/man1/${f}${SUFFIX}.1; \
- fi
-.endfor
- ${MV} -f ${PREFIX}/bin/g77${SUFFIX} ${PREFIX}/bin/g77-${SUFFIX}
- -${MV} -f ${PREFIX}/man/man1/g77${SUFFIX}.1 ${PREFIX}/man/man1/g77-${SUFFIX}.1
- ${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \
- ${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7
- ${RM} -f ${TARGLIB}/*.la
- # Add target libraries and include files to packaging list.
- ${RM} -f ${WRKDIR}/PLIST.lib
-.for d in ${TARGLIB:S/^${PREFIX}\///} include/gnu
- cd ${PREFIX} ; if [ -d $d ]; then \
- ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
- ${FIND} $d -type d | ${SORT} -r \
- | ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ;\
- fi
-.endfor
- ${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc-lib/${CONFIGURE_TARGET} 2>&1 || true" >> ${WRKDIR}/PLIST.lib
- ${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc-lib 2>&1 || true" >> ${WRKDIR}/PLIST.lib
- cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST}
-
-.include <bsd.port.post.mk>
diff --git a/lang/gcc33/distinfo b/lang/gcc33/distinfo
deleted file mode 100644
index bb0a790a5b21..000000000000
--- a/lang/gcc33/distinfo
+++ /dev/null
@@ -1,15 +0,0 @@
-MD5 (gcc-core-3.3.6.tar.bz2) = 18c52e6fb8966b7700665dca289d077f
-SHA256 (gcc-core-3.3.6.tar.bz2) = 4f9bee8ac57711508d6b8031d5ecfefc16fcf37ec81568b3f8344ef5f4cdfeb6
-SIZE (gcc-core-3.3.6.tar.bz2) = 11879804
-MD5 (gcc-g++-3.3.6.tar.bz2) = 6b3d00b8d079805be1b895f7f6ce47a0
-SHA256 (gcc-g++-3.3.6.tar.bz2) = 7ee9fdf2771084c4933bb0a31d2fd9bfe8df746f9f47d76562b7a9e302a29d92
-SIZE (gcc-g++-3.3.6.tar.bz2) = 2146232
-MD5 (gcc-g77-3.3.6.tar.bz2) = 3752faab670bcc43b1ad8d5ef9ed8ed2
-SHA256 (gcc-g77-3.3.6.tar.bz2) = 3f21787c966bf065eb327d2d28628d197dc3cfa6c95626abc74d44436ea5e3eb
-SIZE (gcc-g77-3.3.6.tar.bz2) = 1109786
-MD5 (gcc-objc-3.3.6.tar.bz2) = 9af803dc2f7845c5119fa0ec69228b1e
-SHA256 (gcc-objc-3.3.6.tar.bz2) = 278d75689c2769c9e06bea4c85024333cd19a6559bec99e66732f31aabf67d1d
-SIZE (gcc-objc-3.3.6.tar.bz2) = 208832
-MD5 (gcc-testsuite-3.3.6.tar.bz2) = 0d3eb24b64b1ce2e7f16902545b7608e
-SHA256 (gcc-testsuite-3.3.6.tar.bz2) = 0298e4b3f62dfed300553f6354c8d8e86efe16fca7e1f9fe0d3e012ca5c5abaa
-SIZE (gcc-testsuite-3.3.6.tar.bz2) = 1101247
diff --git a/lang/gcc33/files/freebsd7.h b/lang/gcc33/files/freebsd7.h
deleted file mode 100644
index 72f243243c13..000000000000
--- a/lang/gcc33/files/freebsd7.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* FreeBSD version number setting for FreeBSD 7.x systems.
- Copyright (C) 2001 Free Software Foundation, Inc.
- Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
- Copyright (C) 2005 David E. O'Brien.
-
-This file is part of GNU CC.
-
-GNU CC is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU CC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU CC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
-
-#define FBSD_MAJOR 7
diff --git a/lang/gcc33/files/opt.patch-bc b/lang/gcc33/files/opt.patch-bc
deleted file mode 100644
index 024997f4c17c..000000000000
--- a/lang/gcc33/files/opt.patch-bc
+++ /dev/null
@@ -1,11 +0,0 @@
---- gcc/bounds/lib/Makefile.orig Tue May 20 16:35:05 2003
-+++ gcc/bounds/lib/Makefile Tue May 20 16:35:19 2003
-@@ -14,7 +14,7 @@
- SUBDIR_INCLUDES = -I../.. -I$(srcdir)/bounds/lib -I$(srcdir) -I$(srcdir)/config -I$(srcdir)/../include
-
- # Use this on System V.
--CPPFLAGS = -DUSG
-+CPPFLAGS = -DBSD4_2
-
- .c.o:
- $(GCC_FOR_TARGET) -Wall $(OPTIMIZE) $(CPPFLAGS) \
diff --git a/lang/gcc33/files/patch-config.gcc b/lang/gcc33/files/patch-config.gcc
deleted file mode 100644
index d7615fb4d7ac..000000000000
--- a/lang/gcc33/files/patch-config.gcc
+++ /dev/null
@@ -1,10 +0,0 @@
---- gcc/config.gcc.orig Wed Apr 28 21:42:47 2004
-+++ gcc/config.gcc Sun Oct 30 21:08:57 2005
-@@ -475,6 +475,7 @@ case $machine in
- *-*-freebsd4 | *-*-freebsd[4].*) fbsd_tm_file="freebsd4.h";;
- *-*-freebsd5 | *-*-freebsd[5].*) fbsd_tm_file="freebsd5.h";;
- *-*-freebsd6 | *-*-freebsd[6].*) fbsd_tm_file="freebsd6.h";;
-+ *-*-freebsd7 | *-*-freebsd[7].*) fbsd_tm_file="freebsd7.h";;
- *) echo 'Please update *-*-freebsd* in gcc/config.gcc'; exit 1;;
- esac
- tmake_file="t-slibgcc-elf-ver t-freebsd"
diff --git a/lang/gcc33/files/patch-configure b/lang/gcc33/files/patch-configure
deleted file mode 100644
index 5223f67c27b2..000000000000
--- a/lang/gcc33/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Thu May 24 11:21:39 2007
-+++ configure Thu May 24 11:22:15 2007
-@@ -508,6 +508,8 @@
- echo ' --srcdir=DIR find the sources in DIR [. or ..]'
- echo ' --target=TARGET configure for TARGET [TARGET=HOST]'
- echo ' --tmpdir=TMPDIR create temporary files in TMPDIR [/tmp]'
-+ echo ' --infodir=DIR info documentation in DIR [PREFIX/info]'
-+ echo ' --mandir=DIR man documentation in DIR [PREFIX/man]'
- echo ' --nfp configure for software floating point [hard float]'
- echo ' --with-FOO, --with-FOO=BAR package FOO is available (parameter BAR)'
- echo ' --without-FOO package FOO is NOT available'
diff --git a/lang/gcc33/files/patch-fa b/lang/gcc33/files/patch-fa
deleted file mode 100644
index 064c33a2eb88..000000000000
--- a/lang/gcc33/files/patch-fa
+++ /dev/null
@@ -1,179 +0,0 @@
---- gcc/c-format.c.orig Wed Feb 20 14:54:32 2002
-+++ gcc/c-format.c Mon May 27 20:42:37 2002
-@@ -19,6 +19,8 @@
- Software Foundation, 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
-
-+/* $FreeBSD$ */
-+
- #include "config.h"
- #include "system.h"
- #include "tree.h"
-@@ -75,6 +77,7 @@
- last. */
- enum format_type { printf_format_type, scanf_format_type,
- strftime_format_type, strfmon_format_type,
-+ printf0_format_type,
- format_type_error };
-
- typedef struct function_format_info
-@@ -82,6 +85,7 @@
- enum format_type format_type; /* type of format (printf, scanf, etc.) */
- unsigned HOST_WIDE_INT format_num; /* number of format argument */
- unsigned HOST_WIDE_INT first_arg_num; /* number of first arg (zero for varargs) */
-+ int null_format_ok; /* TRUE if the format string may be NULL */
- } function_format_info;
-
- static bool decode_format_attr PARAMS ((tree,
-@@ -249,7 +253,7 @@
- {
- if (validated_p)
- abort ();
-- error ("unrecognized format specifier");
-+ error_with_decl (getdecls (), "unrecognized format specifier");
- return false;
- }
- else
-@@ -540,6 +544,7 @@
- /* Pointer to type of argument expected if '*' is used for a precision,
- or NULL if '*' not used for precisions. */
- tree *const precision_type;
-+ const int null_format_ok;
- } format_kind_info;
-
-
-@@ -783,6 +788,18 @@
- { "S", 1, STD_EXT, { TEX_W, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-wp", "R" },
- /* GNU conversion specifiers. */
- { "m", 0, STD_EXT, { T89_V, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-wp", "" },
-+ /* BSD conversion specifiers. */
-+ /* FreeBSD kernel extensions (src/sys/kern/subr_prf.c).
-+ The format %b is supported to decode error registers.
-+ Its usage is: printf("reg=%b\n", regval, "<base><arg>*");
-+ which produces: reg=3<BITTWO,BITONE>
-+ The format %D provides a hexdump given a pointer and separator string:
-+ ("%6D", ptr, ":") -> XX:XX:XX:XX:XX:XX
-+ ("%*D", len, ptr, " ") -> XX XX XX XX ...
-+ */
-+ { "D", 1, STD_EXT, { T89_C, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-wp", "cR" },
-+ { "b", 1, STD_EXT, { T89_C, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-wp", "" },
-+ { "rz", 0, STD_EXT, { T89_I, BADLEN, BADLEN, T89_L, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-wp0 +#", "i" },
- { NULL, 0, 0, NOLENGTHS, NULL, NULL }
- };
-
-@@ -847,23 +864,29 @@
- printf_flag_specs, printf_flag_pairs,
- FMT_FLAG_ARG_CONVERT|FMT_FLAG_DOLLAR_MULTIPLE|FMT_FLAG_USE_DOLLAR|FMT_FLAG_EMPTY_PREC_OK,
- 'w', 0, 'p', 0, 'L',
-- &integer_type_node, &integer_type_node
-+ &integer_type_node, &integer_type_node, 0
- },
- { "scanf", scanf_length_specs, scan_char_table, "*'I", NULL,
- scanf_flag_specs, scanf_flag_pairs,
- FMT_FLAG_ARG_CONVERT|FMT_FLAG_SCANF_A_KLUDGE|FMT_FLAG_USE_DOLLAR|FMT_FLAG_ZERO_WIDTH_BAD|FMT_FLAG_DOLLAR_GAP_POINTER_OK,
- 'w', 0, 0, '*', 'L',
-- NULL, NULL
-+ NULL, NULL, 0
- },
- { "strftime", NULL, time_char_table, "_-0^#", "EO",
- strftime_flag_specs, strftime_flag_pairs,
- FMT_FLAG_FANCY_PERCENT_OK, 'w', 0, 0, 0, 0,
-- NULL, NULL
-+ NULL, NULL, 0
- },
- { "strfmon", strfmon_length_specs, monetary_char_table, "=^+(!-", NULL,
- strfmon_flag_specs, strfmon_flag_pairs,
- FMT_FLAG_ARG_CONVERT, 'w', '#', 'p', 0, 'L',
-- NULL, NULL
-+ NULL, NULL, 0
-+ },
-+ { "printf0", printf_length_specs, print_char_table, " +#0-'I", NULL,
-+ printf_flag_specs, printf_flag_pairs,
-+ FMT_FLAG_ARG_CONVERT|FMT_FLAG_DOLLAR_MULTIPLE|FMT_FLAG_USE_DOLLAR|FMT_FLAG_EMPTY_PREC_OK,
-+ 'w', 0, 'p', 0, 'L',
-+ &integer_type_node, &integer_type_node, 1
- }
- };
-
-@@ -917,6 +940,14 @@
-
- static void check_format_types PARAMS ((int *, format_wanted_type *));
-
-+
-+inline static int get_null_fmt_ok (fmttype)
-+ enum format_type fmttype;
-+{
-+ return format_types[(int)fmttype].null_format_ok;
-+}
-+
-+
- /* Decode a format type from a string, returning the type, or
- format_type_error if not valid, in which case the caller should print an
- error message. */
-@@ -1986,6 +2017,57 @@
- }
- }
-
-+ if (*format_chars == 'b')
-+ {
-+ /* There should be an int arg to control the string arg. */
-+ if (params == 0)
-+ {
-+ status_warning (status, "too few arguments for format");
-+ return;
-+ }
-+ if (info->first_arg_num != 0)
-+ {
-+ cur_param = TREE_VALUE (params);
-+ params = TREE_CHAIN (params);
-+ ++arg_num;
-+ if ((TYPE_MAIN_VARIANT (TREE_TYPE (cur_param))
-+ != integer_type_node)
-+ &&
-+ (TYPE_MAIN_VARIANT (TREE_TYPE (cur_param))
-+ != unsigned_type_node))
-+ {
-+ status_warning (status, "bitmap is not type int (arg %d)",
-+ arg_num);
-+ }
-+ }
-+ }
-+ if (*format_chars == 'D')
-+ {
-+ /* There should be an unsigned char * arg before the string arg. */
-+ if (params == 0)
-+ {
-+ status_warning (status, "too few arguments for format");
-+ return;
-+ }
-+ if (info->first_arg_num != 0)
-+ {
-+ tree cur_type;
-+
-+ cur_param = TREE_VALUE (params);
-+ params = TREE_CHAIN (params);
-+ ++arg_num;
-+ cur_type = TREE_TYPE (cur_param);
-+ if (TREE_CODE (cur_type) != POINTER_TYPE
-+ || TYPE_MAIN_VARIANT (TREE_TYPE (cur_type))
-+ != unsigned_char_type_node)
-+ {
-+ status_warning (status,
-+ "ethernet address is not type unsigned char * (arg %d)",
-+ arg_num);
-+ }
-+ }
-+ }
-+
- format_char = *format_chars;
- if (format_char == 0
- || (!(fki->flags & (int) FMT_FLAG_FANCY_PERCENT_OK)
-@@ -2112,7 +2194,7 @@
- else if (strchr (fci->flags2, '2') != 0)
- y2k_level = 2;
- if (y2k_level == 3)
-- status_warning (status, "`%%%c' yields only last 2 digits of year in some locales",
-+ status_warning (status, "`%%%c' yields only last 2 digits of year in some locales on non-BSD systems",
- format_char);
- else if (y2k_level == 2)
- status_warning (status, "`%%%c' yields only last 2 digits of year", format_char);
diff --git a/lang/gcc33/files/patch-fb b/lang/gcc33/files/patch-fb
deleted file mode 100644
index dae6d331898c..000000000000
--- a/lang/gcc33/files/patch-fb
+++ /dev/null
@@ -1,13 +0,0 @@
---- gcc/flags.h.orig Sun Jan 31 09:46:18 1999
-+++ gcc/flags.h Tue Mar 30 13:17:11 1999
-@@ -137,6 +137,10 @@
-
- extern int warn_aggregate_return;
-
-+/* Nonzero means that -Wformat accepts certain non-ANSI formats. */
-+
-+extern int flag_format_extensions;
-+
- /* Nonzero if generating code to do profiling. */
-
- extern int profile_flag;
diff --git a/lang/gcc33/files/patch-fc b/lang/gcc33/files/patch-fc
deleted file mode 100644
index 628048a209e7..000000000000
--- a/lang/gcc33/files/patch-fc
+++ /dev/null
@@ -1,21 +0,0 @@
---- gcc/toplev.c.orig Tue Jun 6 13:11:39 2000
-+++ gcc/toplev.c Mon Jun 26 20:19:31 2000
-@@ -787,6 +787,9 @@
- /* Tag all structures with __attribute__(packed) */
- int flag_pack_struct = 0;
-
-+/* Nonzero means that -Wformat accepts certain system-dependent formats. */
-+int flag_format_extensions = 0;
-+
- /* Emit code to check for stack overflow; also may cause large objects
- to be allocated dynamically. */
- int flag_stack_check;
-@@ -1064,6 +1067,8 @@
- "Do the full regmove optimization pass"},
- {"pack-struct", &flag_pack_struct, 1,
- N_("Pack structure members together without holes") },
-+ {"format-extensions", &flag_format_extensions, 1,
-+ N_("-Wformat accepts certain FreeBSD system-dependent formats") },
- {"stack-check", &flag_stack_check, 1,
- N_("Insert stack checking code into the program") },
- {"argument-alias", &flag_argument_noalias, 0,
diff --git a/lang/gcc33/files/patch-freebsd-spec.h b/lang/gcc33/files/patch-freebsd-spec.h
deleted file mode 100644
index abb506655e14..000000000000
--- a/lang/gcc33/files/patch-freebsd-spec.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- gcc/config/freebsd-spec.h.orig Thu Jan 13 18:06:26 2005
-+++ gcc/config/freebsd-spec.h Sun Oct 30 21:22:05 2005
-@@ -59,6 +59,8 @@ Boston, MA 02111-1307, USA. */
- builtin_define ("__FreeBSD__=4"); \
- else if (FBSD_MAJOR == 3) \
- builtin_define ("__FreeBSD__=3"); \
-+ else if (FBSD_MAJOR == 7) \
-+ builtin_define ("__FreeBSD__=7"); \
- else \
- builtin_define ("__FreeBSD__"); \
- builtin_define_std ("unix"); \
diff --git a/lang/gcc33/files/patch-gengtype-yacc.y b/lang/gcc33/files/patch-gengtype-yacc.y
deleted file mode 100644
index 4afaae159533..000000000000
--- a/lang/gcc33/files/patch-gengtype-yacc.y
+++ /dev/null
@@ -1,12 +0,0 @@
---- gcc/gengtype-yacc.y.orig Fri Sep 20 00:33:24 2002
-+++ gcc/gengtype-yacc.y Tue Apr 22 09:11:27 2003
-@@ -24,6 +24,9 @@
- #include "system.h"
- #include "gengtype.h"
- #define YYERROR_VERBOSE
-+
-+#define malloc xmalloc
-+#define realloc xrealloc
- %}
-
- %union {
diff --git a/lang/gcc33/files/patch-i386.c b/lang/gcc33/files/patch-i386.c
deleted file mode 100644
index 8347c4779b81..000000000000
--- a/lang/gcc33/files/patch-i386.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- gcc/config/i386/i386.c.orig Sun Dec 12 13:00:44 2004
-+++ gcc/config/i386/i386.c Sun Oct 30 21:04:51 2005
-@@ -1017,4 +1017,11 @@ override_options ()
- {"athlon-mp", PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW
- | PTA_3DNOW_A | PTA_SSE},
-+ {"k8", PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW
-+ | PTA_3DNOW_A | PTA_SSE | PTA_SSE2},
-+
-+ {"opteron", PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW
-+ | PTA_3DNOW_A | PTA_SSE | PTA_SSE2},
-+ {"athlon64", PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW
-+ | PTA_3DNOW_A | PTA_SSE | PTA_SSE2},
- };
-
diff --git a/lang/gcc33/files/patch-ltconfig b/lang/gcc33/files/patch-ltconfig
deleted file mode 100644
index 238574b8adac..000000000000
--- a/lang/gcc33/files/patch-ltconfig
+++ /dev/null
@@ -1,14 +0,0 @@
-Index: ltconfig
-===================================================================
---- ltconfig
-+++ ltconfig (working copy)
-@@ -1133,7 +1133,7 @@
- ;;
-
- freebsd*)
-- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
-+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf`
- version_type=freebsd-$objformat
- case $version_type in
- freebsd-elf*)
-
diff --git a/lang/gcc33/pkg-descr b/lang/gcc33/pkg-descr
deleted file mode 100644
index 80c75f1b35bb..000000000000
--- a/lang/gcc33/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-GCC, the GNU Compiler Collection includes gcc, g++, and g77.
-
-This port installs the various front ends as gcc33, g++33,
-and g77-33 into the ${PREFIX}/bin directory.
-
-WWW: http://gcc.gnu.org/
diff --git a/lang/gcc33/pkg-plist b/lang/gcc33/pkg-plist
deleted file mode 100644
index eb222c1384ea..000000000000
--- a/lang/gcc33/pkg-plist
+++ /dev/null
@@ -1,14 +0,0 @@
-@comment $FreeBSD$
-bin/c++%%SUFFIX%%
-bin/cpp%%SUFFIX%%
-bin/g++%%SUFFIX%%
-bin/g77-%%SUFFIX%%
-bin/gcc%%SUFFIX%%
-bin/gccbug%%SUFFIX%%
-bin/gcov%%SUFFIX%%
-bin/%%GNU_HOST%%-c++%%SUFFIX%%
-bin/%%GNU_HOST%%-g++%%SUFFIX%%
-bin/%%GNU_HOST%%-gcc-%%GCC_VER%%
-bin/%%GNU_HOST%%-gcc%%SUFFIX%%
-info/gcc%%SUFFIX%%/dir
-@comment Insert PLIST.lib here