diff options
author | Sheldon Hearn <sheldonh@FreeBSD.org> | 2002-06-26 23:08:25 +0000 |
---|---|---|
committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 2002-06-26 23:08:25 +0000 |
commit | e1021852e7254fc5a9617ee21a6a563b67e1020a (patch) | |
tree | 342c7c5a8f66441167a3f89b3dcd687737ad11dd /databases | |
parent | Add krdesktop 1.0, kDE Frontend for rdesktop. (diff) |
Fix build on -CURRENT, catching up with the base system's more anal
compiler.
Maintainer notified in private mail.
Notes
Notes:
svn path=/head/; revision=62058
Diffstat (limited to 'databases')
-rw-r--r-- | databases/gnats/files/patch-libiberty::functions.def | 11 | ||||
-rw-r--r-- | databases/gnats/files/patch-libiberty::strerror.c | 14 | ||||
-rw-r--r-- | databases/gnats/files/patch-libiberty::strsignal.c | 14 |
3 files changed, 39 insertions, 0 deletions
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 + + |