Upgrade to version 3.0.3.

This commit is contained in:
David E. O'Brien 2002-01-27 13:19:16 +00:00
parent 7dbf65c308
commit 9bfa379481
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53842
3 changed files with 25 additions and 33 deletions

View File

@ -7,7 +7,7 @@
#
PORTNAME= gcc30
PORTVERSION= 3.0.2
PORTVERSION= 3.0.3
PORTREVISION= 0
CATEGORIES= lang java
MASTER_SITES= ftp://egcs.cygnus.com/pub/egcs/releases/gcc-${GCC_REV}/ \

View File

@ -1,5 +1,5 @@
MD5 (gcc-core-3.0.2.tar.bz2) = 9a184c33f21b040ff1ad0951deb78f75
MD5 (gcc-g++-3.0.2.tar.bz2) = 019cc5517ad83458f78ddd899c3af629
MD5 (gcc-g77-3.0.2.tar.bz2) = 79f2aade17285f4124c43e418c6cbd62
MD5 (gcc-java-3.0.2.tar.bz2) = cc68bf0917af33bf70d03bf17be7237e
MD5 (gcc-objc-3.0.2.tar.bz2) = 09134150a15dfe8caa7786ef99b89eba
MD5 (gcc-core-3.0.3.tar.bz2) = a5dc6133dccc0a6c72194efc68626162
MD5 (gcc-g++-3.0.3.tar.bz2) = ff1c884e867cc54b95ba6470bbb36455
MD5 (gcc-g77-3.0.3.tar.bz2) = 4c5bb69f6d3a437b4d2e6ffe67742d21
MD5 (gcc-java-3.0.3.tar.bz2) = 777cb91a6400b0923bd52fdf5ed4f907
MD5 (gcc-objc-3.0.3.tar.bz2) = b4aad82362d6b3fe349d87acc5ad4903

View File

@ -1,7 +1,7 @@
--- gcc/config/freebsd.h.orig Wed May 30 16:05:30 2001
+++ gcc/config/freebsd.h Mon Jun 18 18:46:50 2001
@@ -50,29 +50,32 @@
#undef WORD_SWITCH_TAKES_ARG
--- gcc/config/freebsd.h.orig Sat Nov 3 12:28:24 2001
+++ gcc/config/freebsd.h Sun Jan 27 02:22:51 2002
@@ -55,29 +55,32 @@
#undef WORD_SWITCH_TAKES_ARG
#define WORD_SWITCH_TAKES_ARG(STR) (FBSD_WORD_SWITCH_TAKES_ARG(STR))
+/* Place spaces around this string. We depend on string splicing to produce
@ -9,52 +9,44 @@
+
#if FBSD_MAJOR == 6
#define FBSD_CPP_PREDEFINES \
- "-D__FreeBSD__=6 -Dunix -D__ELF__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
+ " -D__FreeBSD__=6 -Dunix -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
- "-D__FreeBSD__=6 -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
+ " -D__FreeBSD__=6 -Dunix -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
#endif
#if FBSD_MAJOR == 5
#define FBSD_CPP_PREDEFINES \
- "-D__FreeBSD__=5 -Dunix -D__ELF__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
+ " -D__FreeBSD__=5 -Dunix -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
- "-D__FreeBSD__=5 -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
+ " -D__FreeBSD__=5 -Dunix -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
#endif
#if FBSD_MAJOR == 4
#define FBSD_CPP_PREDEFINES \
- "-D__FreeBSD__=4 -Dunix -D__ELF__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
+ " -D__FreeBSD__=4 -Dunix -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
- "-D__FreeBSD__=4 -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
+ " -D__FreeBSD__=4 -Dunix -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
#endif
#if FBSD_MAJOR == 3
#define FBSD_CPP_PREDEFINES \
- "-D__FreeBSD__=3 -Dunix -D__ELF__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
+ " -D__FreeBSD__=3 -Dunix -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
- "-D__FreeBSD__=3 -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
+ " -D__FreeBSD__=3 -Dunix -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
#endif
#ifndef FBSD_CPP_PREDEFINES
#define FBSD_CPP_PREDEFINES \
- "-D__FreeBSD__ -Dunix -D__ELF__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
+ " -D__FreeBSD__ -Dunix -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
- "-D__FreeBSD__ -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
+ " -D__FreeBSD__ -Dunix -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
#endif
#undef CPP_PREDEFINES
@@ -81,10 +84,16 @@
/* Provide a CPP_SPEC appropriate for FreeBSD. We just deal with the GCC
option `-posix', and PIC issues. */
-#undef CPP_SPEC
-#define CPP_SPEC "%(cpp_cpu) \
+#define FBSD_CPP_SPEC " \
+ %(cpp_cpu) \
@@ -89,7 +92,10 @@
#define FBSD_CPP_SPEC " \
%(cpp_cpu) \
%{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} \
- %{posix:-D_POSIX_SOURCE}"
+ %{posix:-D_POSIX_SOURCE} \
+ %{!maout: -D__ELF__} \
+ %{munderscores: -D__UNDERSCORES__} \
+ %{maout: %{!mno-underscores: -D__UNDERSCORES__}}"
+
+#undef CPP_SPEC
+#define CPP_SPEC FBSD_CPP_SPEC
/* Provide a LIB_SPEC appropriate for FreeBSD as configured and as
required by the user-land thread model. Before __FreeBSD_version
#undef CPP_SPEC
#define CPP_SPEC FBSD_CPP_SPEC