summaryrefslogtreecommitdiff
path: root/devel/i386-rtems-gcc/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/i386-rtems-gcc/files')
-rw-r--r--devel/i386-rtems-gcc/files/patch-aa25
-rw-r--r--devel/i386-rtems-gcc/files/patch-strerror.c14
-rw-r--r--devel/i386-rtems-gcc/files/patch-strsignal.c56
3 files changed, 15 insertions, 80 deletions
diff --git a/devel/i386-rtems-gcc/files/patch-aa b/devel/i386-rtems-gcc/files/patch-aa
index 9ccc2c4ab6c6..5e4cf9cad3db 100644
--- a/devel/i386-rtems-gcc/files/patch-aa
+++ b/devel/i386-rtems-gcc/files/patch-aa
@@ -1,10 +1,15 @@
---- gcc-2.95.3/Makefile.in.orig Tue Jun 22 18:44:42 1999
-+++ gcc-2.95.3/Makefile.in Tue Aug 29 17:54:58 2000
-@@ -689,7 +689,6 @@
- install-itcl \
- install-ld \
- install-libgui \
-- install-libiberty \
- install-libtool \
- install-m4 \
- install-make \
+--- gcc-3.2.1/libiberty/Makefile.in.orig Tue Jan 22 15:03:29 2002
++++ gcc-3.2.1/libiberty/Makefile.in Thu Oct 24 08:56:14 2002
+@@ -237,9 +237,9 @@
+ install: install_to_$(INSTALL_DEST) install-subdir
+
+ install_to_libdir: all
+- $(INSTALL_DATA) $(TARGETLIB) $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
+- ( cd $(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
+- mv -f $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(libdir)$(MULTISUBDIR)/$(TARGETLIB)
++# $(INSTALL_DATA) $(TARGETLIB) $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
++# ( cd $(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
++# mv -f $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(libdir)$(MULTISUBDIR)/$(TARGETLIB)
+ @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
+
+ install_to_tooldir: all
diff --git a/devel/i386-rtems-gcc/files/patch-strerror.c b/devel/i386-rtems-gcc/files/patch-strerror.c
deleted file mode 100644
index cfc439c9012a..000000000000
--- a/devel/i386-rtems-gcc/files/patch-strerror.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- gcc-2.95.3/libiberty/strerror.c.orig Fri May 15 16:42:41 1998
-+++ gcc-2.95.3/libiberty/strerror.c Mon May 6 13:53:14 2002
-@@ -461,9 +461,10 @@
- static const char **sys_errlist;
-
- #else
--
-+/* sigh... why don't they just leave this to stdio.h...
- extern int sys_nerr;
- extern char *sys_errlist[];
-+*/
-
- #endif
-
diff --git a/devel/i386-rtems-gcc/files/patch-strsignal.c b/devel/i386-rtems-gcc/files/patch-strsignal.c
deleted file mode 100644
index 5740d6f1740d..000000000000
--- a/devel/i386-rtems-gcc/files/patch-strsignal.c
+++ /dev/null
@@ -1,56 +0,0 @@
---- gcc-2.95.3/libiberty/strsignal.c.orig Fri May 15 16:42:42 1998
-+++ gcc-2.95.3/libiberty/strsignal.c Mon May 6 14:01:43 2002
-@@ -244,7 +244,7 @@
- #else
-
- #ifdef NSIG
--static int sys_nsig = NSIG;
-+static int Gsys_nsig = NSIG;
- #else
- #ifdef _NSIG
- static int sys_nsig = _NSIG;
-@@ -330,7 +330,7 @@
- if ((sys_siglist = (const char **) malloc (nbytes)) != NULL)
- {
- memset (sys_siglist, 0, nbytes);
-- sys_nsig = num_signal_names;
-+ Gsys_nsig = num_signal_names;
- for (eip = signal_table; eip -> name != NULL; eip++)
- {
- sys_siglist[eip -> value] = eip -> msg;
-@@ -379,7 +379,7 @@
- {
- init_signal_tables ();
- }
-- maxsize = MAX (sys_nsig, num_signal_names);
-+ maxsize = MAX (Gsys_nsig, num_signal_names);
- return (maxsize - 1);
- }
-
-@@ -432,7 +432,7 @@
-
- #endif
-
-- if ((signo < 0) || (signo >= sys_nsig))
-+ if ((signo < 0) || (signo >= Gsys_nsig))
- {
- /* Out of range, just return NULL */
- msg = NULL;
-@@ -591,7 +591,7 @@
- {
- init_signal_tables ();
- }
-- if ((signo <= 0) || (signo >= sys_nsig))
-+ if ((signo <= 0) || (signo >= Gsys_nsig))
- {
- fprintf (stderr, "%s: unknown signal\n", message);
- }
-@@ -621,7 +621,7 @@
-
- maxsigno = signo_max ();
- printf ("%d entries in names table.\n", num_signal_names);
-- printf ("%d entries in messages table.\n", sys_nsig);
-+ printf ("%d entries in messages table.\n", Gsys_nsig);
- printf ("%d is max useful index.\n", maxsigno);
-
- /* Keep printing values until we get to the end of *both* tables, not