diff --git a/databases/gnats/files/patch-libiberty::functions.def b/databases/gnats/files/patch-libiberty::functions.def new file mode 100644 index 000000000000..c35f32897571 --- /dev/null +++ b/databases/gnats/files/patch-libiberty::functions.def @@ -0,0 +1,11 @@ +--- libiberty/functions.def.orig Thu Jun 27 00:29:49 2002 ++++ libiberty/functions.def Thu Jun 27 00:30:55 2002 +@@ -34,7 +34,7 @@ + DEF(strchr, char*, (s, c), CONST char *s AND int c) + DEF(strdup, char*, (s1), char * s1) + DEF(strrchr, char*, (s, c), CONST char *s AND int c) +-DEF(strstr, char*, (), NOTHING) ++DEF(strstr, char*, (s1, s2), char *s1 AND char *s2) + DEF(strtod, double, (), NOTHING) + DEF(strtol, long, (), NOTHING) + DEF(strtoul, unsigned long, (), NOTHING) diff --git a/databases/gnats/files/patch-libiberty::strerror.c b/databases/gnats/files/patch-libiberty::strerror.c new file mode 100644 index 000000000000..06d301579807 --- /dev/null +++ b/databases/gnats/files/patch-libiberty::strerror.c @@ -0,0 +1,14 @@ +--- libiberty/strerror.c.orig Thu Jun 27 00:32:14 2002 ++++ libiberty/strerror.c Thu Jun 27 00:38:18 2002 +@@ -460,11 +460,6 @@ + static int sys_nerr; + static const char **sys_errlist; + +-#else +- +-extern int sys_nerr; +-extern char *sys_errlist[]; +- + #endif + + diff --git a/databases/gnats/files/patch-libiberty::strsignal.c b/databases/gnats/files/patch-libiberty::strsignal.c new file mode 100644 index 000000000000..75aafb362eb9 --- /dev/null +++ b/databases/gnats/files/patch-libiberty::strsignal.c @@ -0,0 +1,14 @@ +--- libiberty/strsignal.c.orig Thu Jun 27 00:33:59 2002 ++++ libiberty/strsignal.c Thu Jun 27 00:38:03 2002 +@@ -241,11 +241,6 @@ + static int sys_nsig; + static const char **sys_siglist; + +-#else +- +-static int sys_nsig = NSIG; +-extern const char * const sys_siglist[]; +- + #endif + +