ports/databases/gnats/files/patch-libiberty::functions.def
Ceri Davies 9db6920892 Dirty hack to fix build on RELENG_5 and HEAD.
Tested on:	beast, panther
2004-12-12 00:18:38 +00:00

22 lines
900 B
Modula-2

--- libiberty/functions.def.orig Thu Nov 5 19:54:15 1998
+++ libiberty/functions.def Mon Nov 15 22:14:46 2004
@@ -34,15 +34,15 @@
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)
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, (), NOTHING) */
+/* DEF(vprintf, int, (), NOTHING) */
+/* DEF(vsprintf, int, (), NOTHING) */
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 )