From 262d17374bd70bd15c12e9b7963ed638e24e221b Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 2 Oct 2000 11:14:28 +0000 Subject: Instead of making up the declarations for functions, include the headers that are actually supposed to do so. --- net/freewais-sf/files/patch-sum | 3 ++- net/freewais-sf/patches/patch-ax | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 net/freewais-sf/patches/patch-ax (limited to 'net/freewais-sf') diff --git a/net/freewais-sf/files/patch-sum b/net/freewais-sf/files/patch-sum index 558e87797bb..abb334ac552 100644 --- a/net/freewais-sf/files/patch-sum +++ b/net/freewais-sf/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.1 1999/07/09 14:12:20 agc Exp $ +$NetBSD: patch-sum,v 1.2 2000/10/02 11:14:28 jlam Exp $ MD5 (patch-aa) = 442f230fb48e34944758efed18a245ec MD5 (patch-ab) = 70339edf836b581cc87e3ade91545ef0 @@ -23,3 +23,4 @@ MD5 (patch-at) = 6a3c3f63f2eef9d65a5f9e6d8709156d MD5 (patch-au) = 9230c47ebcdcf764e425f3e90b9de358 MD5 (patch-av) = c86640e6c3a9c063a68ad530ec65547e MD5 (patch-aw) = 07790f74abd8d958f90c07fbd5b39d8a +MD5 (patch-ax) = 40a98e539677540419bfa831a9083d22 diff --git a/net/freewais-sf/patches/patch-ax b/net/freewais-sf/patches/patch-ax new file mode 100644 index 00000000000..dbcd94e26dc --- /dev/null +++ b/net/freewais-sf/patches/patch-ax @@ -0,0 +1,17 @@ +$NetBSD: patch-ax,v 1.1 2000/10/02 11:14:28 jlam Exp $ + +--- lib/ir/udping.c.orig Fri Apr 16 05:59:39 1999 ++++ lib/ir/udping.c +@@ -34,10 +34,8 @@ + #define UDP_HOST_NO "129.217.20.172" + #endif + +-extern uid_t getuid(); +-extern int socket(); +-extern int sendto(); +-extern int close(); ++#include /* declarations for getuid(), close() */ ++#include /* declarations for socket(), sendto() */ + + static int iamhere(progname) + char *progname; -- cgit v1.2.3