1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Fix build on -CURRENT, catching up with the base system's more anal

compiler.

Maintainer notified in private mail.
This commit is contained in:
Sheldon Hearn 2002-06-26 23:08:25 +00:00
parent 4df34b5c86
commit e1021852e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62058
3 changed files with 39 additions and 0 deletions

View File

@ -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)

View File

@ -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

View File

@ -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