summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-11-28 01:02:59 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-11-28 01:02:59 +0000
commit96b35a69330ad675c05217daa07fbdd609784c69 (patch)
tree5078adf9de6c1dc08b0795ff137d286cc4091272
parent*** Security Update (not fix, only workaround) *** (diff)
- Fix build on -CURRENT (conflicting prototype)
PR: ports/59684 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> Approved by: marcus (portmgr) Approved by: adamw (mentor)
Notes
Notes: svn path=/head/; revision=94813
-rw-r--r--net/ripetools/files/patch-whois.c10
1 files changed, 10 insertions, 0 deletions
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__ */