summaryrefslogtreecommitdiff
path: root/databases/gnats/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'databases/gnats/patches/patch-ae')
-rw-r--r--databases/gnats/patches/patch-ae24
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/gnats/patches/patch-ae b/databases/gnats/patches/patch-ae
new file mode 100644
index 00000000000..d7758807416
--- /dev/null
+++ b/databases/gnats/patches/patch-ae
@@ -0,0 +1,24 @@
+$NetBSD: patch-ae,v 1.1 2004/01/20 17:37:58 seb Exp $
+
+--- libiberty/functions.def.orig 1998-11-05 19:54:15.000000000 +0000
++++ libiberty/functions.def
+@@ -34,15 +34,15 @@ DEF(strncasecmp, int, (s1, s2, n), char
+ 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), CONST char *s1 AND CONST char *s2)
+ DEF(strtod, double, (), NOTHING)
+ DEF(strtol, long, (), NOTHING)
+ DEF(strtoul, unsigned long, (), NOTHING)
+ DEF(tmpnam, char *, (s), char * s)
+ DEF(vfork, int, (), NOTHING)
+-DEF(vfprintf, int, (), NOTHING)
+-DEF(vprintf, int, (), NOTHING)
+-DEF(vsprintf, int, (), NOTHING)
++DEF(vfprintf, int, (s, f), PTR s AND CONST char *f)
++DEF(vprintf, int, (f), CONST char *f)
++DEF(vsprintf, int, (s, f), char *s AND CONST char *f)
+ DEF(sigsetmask, int, (), NOTHING)
+ DEF(alloca, PTR, (size), size_t size)
+ DEF(waitpid, int, (pid, statp, opts), int pid AND int* statp AND int opts )