From 96b35a69330ad675c05217daa07fbdd609784c69 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Fri, 28 Nov 2003 01:02:59 +0000 Subject: - Fix build on -CURRENT (conflicting prototype) PR: ports/59684 Submitted by: Volker Stolz Approved by: marcus (portmgr) Approved by: adamw (mentor) --- net/ripetools/files/patch-whois.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 net/ripetools/files/patch-whois.c (limited to 'net/ripetools/files/patch-whois.c') diff --git a/net/ripetools/files/patch-whois.c b/net/ripetools/files/patch-whois.c new file mode 100644 index 000000000000..c3e022803f8c --- /dev/null +++ b/net/ripetools/files/patch-whois.c @@ -0,0 +1,10 @@ +--- whois.c.orig Tue Nov 25 15:41:34 2003 ++++ whois.c Tue Nov 25 15:43:57 2003 +@@ -88,7 +88,6 @@ + extern int getopt(int argc, char * const *argv, const char *optstring); + extern int kill(pid_t pid, int sig); + extern FILE *fdopen(int fildes, const char *type); +-extern int gethostname(char *name, int namelen); + #else /* !__STDC__ */ + extern int gethostname(); + #endif /* __STDC__ */ -- cgit v1.2.3