aboutsummaryrefslogtreecommitdiff
path: root/lang/egcs
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-11-25 19:02:28 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-11-25 19:02:28 +0000
commit6fb4483d59d94bd1e919a8431a2756ed87e08ac0 (patch)
treea6ab897da3b2b0dca86f727921f9f9d6ba778d97 /lang/egcs
parentaee1245fcae45caed3be8444cb6c0688165a057c (diff)
downloadports-6fb4483d59d94bd1e919a8431a2756ed87e08ac0.tar.gz
ports-6fb4483d59d94bd1e919a8431a2756ed87e08ac0.zip
Notes
Diffstat (limited to 'lang/egcs')
-rw-r--r--lang/egcs/files/patch-libiberty%Makefile.in8
-rw-r--r--lang/egcs/files/patch-strsignal.c11
-rw-r--r--lang/egcs/files/patch-va18
3 files changed, 22 insertions, 15 deletions
diff --git a/lang/egcs/files/patch-libiberty%Makefile.in b/lang/egcs/files/patch-libiberty%Makefile.in
new file mode 100644
index 000000000000..d8e34191a3ce
--- /dev/null
+++ b/lang/egcs/files/patch-libiberty%Makefile.in
@@ -0,0 +1,8 @@
+--- libiberty/Makefile.in.orig Sat May 23 15:32:53 1998
++++ libiberty/Makefile.in Sun Nov 24 14:17:03 2002
+@@ -120 +120 @@
+- strrchr.c strsignal.c strstr.c strtod.c strtol.c strtoul.c \
++ strrchr.c strstr.c strtod.c strtol.c strtoul.c \
+@@ -128 +128 @@
+- strsignal.o xatexit.o xexit.o xmalloc.o xstrdup.o xstrerror.o
++ xatexit.o xexit.o xmalloc.o xstrdup.o xstrerror.o
diff --git a/lang/egcs/files/patch-strsignal.c b/lang/egcs/files/patch-strsignal.c
deleted file mode 100644
index e746d2c9f45f..000000000000
--- a/lang/egcs/files/patch-strsignal.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- libiberty/strsignal.c.orig Sun Nov 3 21:38:47 2002
-+++ libiberty/strsignal.c Sun Nov 3 21:39:31 2002
-@@ -244,7 +244,7 @@
- #else
-
- #ifdef NSIG
--static int sys_nsig = NSIG;
-+static __const int sys_nsig = NSIG;
- #else
- #ifdef _NSIG
- static int sys_nsig = _NSIG;
diff --git a/lang/egcs/files/patch-va b/lang/egcs/files/patch-va
index 48040ffa6e96..c4d5b315bb30 100644
--- a/lang/egcs/files/patch-va
+++ b/lang/egcs/files/patch-va
@@ -1,6 +1,6 @@
---- gcc/Makefile.in.orig Thu Feb 25 12:40:16 1999
-+++ gcc/Makefile.in Mon Mar 1 04:36:40 1999
-@@ -793,7 +793,7 @@
+--- gcc/Makefile.in.orig Sun Mar 7 16:22:20 1999
++++ gcc/Makefile.in Sun Nov 24 23:51:04 2002
+@@ -768,7 +768,7 @@
rm -f config.run
$(srcdir)/configure: $(srcdir)/configure.in
@@ -9,7 +9,7 @@
# cstamp-h.in controls rebuilding of config.in.
# It is named cstamp-h.in and not stamp-h.in so the mostlyclean rule doesn't
-@@ -806,7 +806,7 @@
+@@ -781,7 +781,7 @@
# ??? Newer versions have a maintainer mode that may be useful here.
$(srcdir)/config.in: $(srcdir)/cstamp-h.in
$(srcdir)/cstamp-h.in: $(srcdir)/configure.in $(srcdir)/acconfig.h
@@ -18,3 +18,13 @@
@rm -f $(srcdir)/cstamp-h.in
echo timestamp > $(srcdir)/cstamp-h.in
auto-host.h: cstamp-h ; @true
+@@ -1914,7 +1914,8 @@
+ SYSCALLS.c.X: $(srcdir)/sys-types.h $(srcdir)/sys-protos.h $(GCC_PASSES) \
+ stmp-int-hdrs
+ -rm -f SYSCALLS.c tmp-SYSCALLS.s
+- cat $(srcdir)/sys-types.h $(srcdir)/sys-protos.h > SYSCALLS.c
++ echo "#define __NO_GNUC_VA_LIST 1" > SYSCALLS.c
++ cat $(srcdir)/sys-types.h $(srcdir)/sys-protos.h >> SYSCALLS.c
+ $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+ -aux-info $@ -S -o tmp-SYSCALLS.s SYSCALLS.c
+ -rm -f SYSCALLS.c tmp-SYSCALLS.s