diff options
author | joerg <joerg> | 2006-03-14 02:38:16 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-03-14 02:38:16 +0000 |
commit | 2658a3e41fec6eeea19a8429f4d3d8a256b59ff3 (patch) | |
tree | a49072ef74defaa3e51b0db20857d7844c5d064a /net | |
parent | c16c986b825ecabef9d07b66bcf15ff90a26a7bf (diff) | |
download | pkgsrc-2658a3e41fec6eeea19a8429f4d3d8a256b59ff3.tar.gz |
DragonFly support.
Diffstat (limited to 'net')
-rw-r--r-- | net/latd/distinfo | 6 | ||||
-rw-r--r-- | net/latd/patches/patch-ab | 18 | ||||
-rw-r--r-- | net/latd/patches/patch-ae | 14 | ||||
-rw-r--r-- | net/latd/patches/patch-af | 13 |
4 files changed, 46 insertions, 5 deletions
diff --git a/net/latd/distinfo b/net/latd/distinfo index da62d4f88b7..b5b8d580d9a 100644 --- a/net/latd/distinfo +++ b/net/latd/distinfo @@ -1,9 +1,11 @@ -$NetBSD: distinfo,v 1.3 2005/02/24 12:13:51 agc Exp $ +$NetBSD: distinfo,v 1.4 2006/03/14 02:38:16 joerg Exp $ SHA1 (latd-1.18.tar.gz) = a7cecdb97507f485e726ea4c2fef0a59ad3adbae RMD160 (latd-1.18.tar.gz) = a0be3bd71b76c6a07c47fc2ad863526303d365bf Size (latd-1.18.tar.gz) = 233882 bytes SHA1 (patch-aa) = 70e2a543f471c9a818bfbe138137920d605d5aa9 -SHA1 (patch-ab) = 6d62fc224d383ca20758bc9a76a789e5f4b965e5 +SHA1 (patch-ab) = 8729c74907ac9ea077e9ddf1131cc4af6ecedcc7 SHA1 (patch-ac) = adbe7b78bce30b6fbf540a18922ddb073cfccf0c SHA1 (patch-ad) = f606a87bf3dff0571db3ededc6889e31f2012397 +SHA1 (patch-ae) = 931842733d2166c0fd29b5f0d0772c44f1d79fd3 +SHA1 (patch-af) = 3b2f723ec163d925dee42b7d6597f8219ebe22df diff --git a/net/latd/patches/patch-ab b/net/latd/patches/patch-ab index 2384b65049b..56daf1647db 100644 --- a/net/latd/patches/patch-ab +++ b/net/latd/patches/patch-ab @@ -1,7 +1,7 @@ -$NetBSD: patch-ab,v 1.1 2003/10/21 20:55:42 xtraeme Exp $ +$NetBSD: patch-ab,v 1.2 2006/03/14 02:38:16 joerg Exp $ ---- interfaces-bpf.cc.orig 2003-10-20 19:13:38.000000000 +0200 -+++ interfaces-bpf.cc 2003-10-20 19:13:52.000000000 +0200 +--- interfaces-bpf.cc.orig 2003-03-17 09:32:30.000000000 +0000 ++++ interfaces-bpf.cc @@ -15,6 +15,7 @@ GNU General Public License for more details. ******************************************************************************/ @@ -10,3 +10,15 @@ $NetBSD: patch-ab,v 1.1 2003/10/21 20:55:42 xtraeme Exp $ #include <unistd.h> #include <stdio.h> #include <fcntl.h> +@@ -383,7 +384,11 @@ int BPFInterfaces::send_packet(int ifn, + /* write this packet: */ + iov[0].iov_base = (char* )ðer_packet; + iov[0].iov_len = sizeof(ether_packet); ++#if defined(__DragonFly__) ++ iov[1].iov_base = (char *)data; ++#else + iov[1].iov_base = data; ++#endif + iov[1].iov_len = len; + if (writev(_latd_bpf_fd, iov, 2) < 0) { + syslog(LOG_ERR, "writev: %m"); diff --git a/net/latd/patches/patch-ae b/net/latd/patches/patch-ae new file mode 100644 index 00000000000..714f37b721d --- /dev/null +++ b/net/latd/patches/patch-ae @@ -0,0 +1,14 @@ +$NetBSD: patch-ae,v 1.1 2006/03/14 02:38:16 joerg Exp $ + +--- dn_endian.h.orig 2006-03-14 02:30:07.000000000 +0000 ++++ dn_endian.h +@@ -17,6 +17,9 @@ + #if defined(__NetBSD__) || defined(__FreeBSD__) + #include <machine/endian.h> + #define __BYTE_ORDER BYTE_ORDER ++#elif defined(__DragonFly__) ++#define __BYTE_ORDER _BYTE_ORDER ++#include <sys/endian.h> + #endif + + #ifdef __APPLE__ diff --git a/net/latd/patches/patch-af b/net/latd/patches/patch-af new file mode 100644 index 00000000000..4e49dffe736 --- /dev/null +++ b/net/latd/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2006/03/14 02:38:16 joerg Exp $ + +--- moprc.cc.orig 2006-03-14 02:34:38.000000000 +0000 ++++ moprc.cc +@@ -51,7 +51,7 @@ + #include "interfaces.h" + #include "moprc.h" + +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) || defined(__DragonFly__) + #define ether_addr_octet octet + #endif + |