summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--palm/prc-tools/Makefile1
-rw-r--r--palm/prc-tools/files/patch-gcc:strerror.c11
-rw-r--r--palm/prc-tools/files/patch-gcc:strsignal.c11
-rw-r--r--palm/prc-tools/files/patch-gdb:strerror.c11
-rw-r--r--palm/prc-tools/files/patch-gdb:strsignal.c11
5 files changed, 45 insertions, 0 deletions
diff --git a/palm/prc-tools/Makefile b/palm/prc-tools/Makefile
index 420e527e374d..183467d52b29 100644
--- a/palm/prc-tools/Makefile
+++ b/palm/prc-tools/Makefile
@@ -7,6 +7,7 @@
PORTNAME= prc-tools
PORTVERSION= 2.2
+PORTREVISION= 1
CATEGORIES= palm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= prc-tools binutils/releases gcc/releases/gcc-2.95.3 gdb/old-releases
diff --git a/palm/prc-tools/files/patch-gcc:strerror.c b/palm/prc-tools/files/patch-gcc:strerror.c
new file mode 100644
index 000000000000..e00130466ece
--- /dev/null
+++ b/palm/prc-tools/files/patch-gcc:strerror.c
@@ -0,0 +1,11 @@
+--- ../gcc-2.95.3/libiberty/strerror.c- Mon May 5 11:38:25 2003
++++ ../gcc-2.95.3/libiberty/strerror.c Mon May 5 11:38:48 2003
+@@ -462,8 +462,6 @@
+
+ #else
+
+-extern int sys_nerr;
+-extern char *sys_errlist[];
+
+ #endif
+
diff --git a/palm/prc-tools/files/patch-gcc:strsignal.c b/palm/prc-tools/files/patch-gcc:strsignal.c
new file mode 100644
index 000000000000..eabfc1bbcfdf
--- /dev/null
+++ b/palm/prc-tools/files/patch-gcc:strsignal.c
@@ -0,0 +1,11 @@
+--- ../gcc-2.95.3/libiberty/strsignal.c~ Fri May 15 23:42:42 1998
++++ ../gcc-2.95.3/libiberty/strsignal.c Mon May 5 14:16:36 2003
+@@ -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/palm/prc-tools/files/patch-gdb:strerror.c b/palm/prc-tools/files/patch-gdb:strerror.c
new file mode 100644
index 000000000000..cd73e63fbef4
--- /dev/null
+++ b/palm/prc-tools/files/patch-gdb:strerror.c
@@ -0,0 +1,11 @@
+--- ../gdb-5.0/libiberty/strerror.c.orig Mon May 3 07:28:54 1999
++++ ../gdb-5.0/libiberty/strerror.c Mon May 5 14:27:09 2003
+@@ -462,8 +462,6 @@
+
+ #else
+
+-extern int sys_nerr;
+-extern char *sys_errlist[];
+
+ #endif
+
diff --git a/palm/prc-tools/files/patch-gdb:strsignal.c b/palm/prc-tools/files/patch-gdb:strsignal.c
new file mode 100644
index 000000000000..f931ebccfecd
--- /dev/null
+++ b/palm/prc-tools/files/patch-gdb:strsignal.c
@@ -0,0 +1,11 @@
+--- ../gdb-5.0/libiberty/strsignal.c.orig Mon May 3 07:28:54 1999
++++ ../gdb-5.0/libiberty/strsignal.c Mon May 5 14:27:35 2003
+@@ -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;