diff options
author | hubertf <hubertf> | 2000-10-03 01:29:19 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2000-10-03 01:29:19 +0000 |
commit | e7b3cc353fc9e53061c4ab3f9c2c8ee23670d2a1 (patch) | |
tree | 707bb17413f028c2a72dd90b3c7c9de45c659152 /net/choparp | |
parent | 5c993f7bb33af48fe385b46e27845594e20483b0 (diff) | |
download | pkgsrc-e7b3cc353fc9e53061c4ab3f9c2c8ee23670d2a1.tar.gz |
Make this go on alpha, by pulling in the right headers
(it's interresting to see what's all accepted on some other archs...)
Diffstat (limited to 'net/choparp')
-rw-r--r-- | net/choparp/files/patch-sum | 4 | ||||
-rw-r--r-- | net/choparp/patches/patch-ac | 18 |
2 files changed, 16 insertions, 6 deletions
diff --git a/net/choparp/files/patch-sum b/net/choparp/files/patch-sum index 79b9917e179..5723b2d0d5a 100644 --- a/net/choparp/files/patch-sum +++ b/net/choparp/files/patch-sum @@ -1,5 +1,5 @@ -$NetBSD: patch-sum,v 1.1 2000/01/10 01:25:13 wiz Exp $ +$NetBSD: patch-sum,v 1.2 2000/10/03 01:29:19 hubertf Exp $ MD5 (patch-aa) = fb10239aae60df9f954196309001fd52 MD5 (patch-ab) = b7538f28f62eddbebc4a6633c779bc78 -MD5 (patch-ac) = bac22231c1c5bd3e13c226c7de0043d5 +MD5 (patch-ac) = 782f3324801214db4c500b8b6d6b3253 diff --git a/net/choparp/patches/patch-ac b/net/choparp/patches/patch-ac index ae2aa5ff678..7c209f18776 100644 --- a/net/choparp/patches/patch-ac +++ b/net/choparp/patches/patch-ac @@ -1,8 +1,18 @@ -$NetBSD: patch-ac,v 1.3 1999/09/12 20:12:19 dbj Exp $ +$NetBSD: patch-ac,v 1.4 2000/10/03 01:29:19 hubertf Exp $ --- choparp.c.orig Tue Oct 7 05:29:46 1997 -+++ choparp.c Sun Sep 12 15:58:41 1999 -@@ -24,6 +24,7 @@ ++++ choparp.c +@@ -12,6 +12,9 @@ + #include <stdio.h> + #include <unistd.h> + #include <string.h> ++#ifdef __NetBSD__ ++# include <stdlib.h> /* malloc() */ ++#endif + #include <sys/types.h> + #include <fcntl.h> + #include <sys/time.h> +@@ -24,6 +27,7 @@ #include <netinet/if_ether.h> #include <sys/param.h> #include <errno.h> @@ -10,7 +20,7 @@ $NetBSD: patch-ac,v 1.3 1999/09/12 20:12:19 dbj Exp $ #define BPFFILENAME "/dev/bpf%d" /* bpf file template */ #ifndef NBPFILTER /* number of available bpf */ -@@ -217,20 +218,35 @@ +@@ -217,20 +221,35 @@ void loop(int fd, char *buf, size_t buflen){ |