diff options
author | jlam <jlam@pkgsrc.org> | 2000-10-02 11:14:28 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-10-02 11:14:28 +0000 |
commit | 9a41c115ee66bdf6eda529cdb79efb3836d292f4 (patch) | |
tree | 4a4c10944c52d042da7b688d5af0b9447c168494 /net | |
parent | 2c4909e15b5f0e87323be15fed39dc6393019417 (diff) | |
download | pkgsrc-9a41c115ee66bdf6eda529cdb79efb3836d292f4.tar.gz |
Instead of making up the declarations for functions, include the headers
that are actually supposed to do so.
Diffstat (limited to 'net')
-rw-r--r-- | net/freewais-sf/files/patch-sum | 3 | ||||
-rw-r--r-- | net/freewais-sf/patches/patch-ax | 17 |
2 files changed, 19 insertions, 1 deletions
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 <unistd.h> /* declarations for getuid(), close() */ ++#include <sys/socket.h> /* declarations for socket(), sendto() */ + + static int iamhere(progname) + char *progname; |