diff options
author | joerg <joerg> | 2006-02-24 20:48:56 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-02-24 20:48:56 +0000 |
commit | 915cac1f87f48147ec862ad146b2068393285c52 (patch) | |
tree | ad8397df6d0e6efc6a17ba20299a86ecc7bc77a2 /net | |
parent | 718d161fb13fe3ca63689063c52400678d1cf4f6 (diff) | |
download | pkgsrc-915cac1f87f48147ec862ad146b2068393285c52.tar.gz |
Add DragonFly support.
Diffstat (limited to 'net')
-rw-r--r-- | net/dip/distinfo | 4 | ||||
-rw-r--r-- | net/dip/patches/patch-ac | 29 |
2 files changed, 25 insertions, 8 deletions
diff --git a/net/dip/distinfo b/net/dip/distinfo index f0819e6e7b8..5b40fb0f274 100644 --- a/net/dip/distinfo +++ b/net/dip/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.5 2005/07/20 00:03:35 kristerw Exp $ +$NetBSD: distinfo,v 1.6 2006/02/24 20:48:56 joerg Exp $ SHA1 (bsddip-1.02.tar.Z) = f938ba32fcbb958c6a9632502d6728cb0a8bac4c RMD160 (bsddip-1.02.tar.Z) = 799b899cee5ef1b8a49c8a0929a2c4f0d17bcbab Size (bsddip-1.02.tar.Z) = 78191 bytes SHA1 (patch-aa) = 597aa71afc9cc8bcb38ad4be949d42630db0b840 SHA1 (patch-ab) = 657e3dd81394df2d8789222776a14ce083a252b6 -SHA1 (patch-ac) = d05ea6f2958968fc3f9d28d15fa38b2a8c9d8a6f +SHA1 (patch-ac) = a4d33d3c9703352b394ebafc73c220aa519bd2c3 diff --git a/net/dip/patches/patch-ac b/net/dip/patches/patch-ac index 0af21e00aa3..fdf05fc8d10 100644 --- a/net/dip/patches/patch-ac +++ b/net/dip/patches/patch-ac @@ -1,8 +1,8 @@ -$NetBSD: patch-ac,v 1.3 2003/11/13 21:20:08 tron Exp $ +$NetBSD: patch-ac,v 1.4 2006/02/24 20:48:56 joerg Exp $ ---- dip.h.orig 1995-07-01 01:41:05.000000000 +0200 -+++ dip.h 2003-11-13 22:18:59.000000000 +0100 -@@ -43,17 +43,29 @@ +--- dip.h.orig 1995-06-30 23:41:05.000000000 +0000 ++++ dip.h +@@ -43,17 +43,38 @@ #include <string.h> #include <errno.h> #include <syslog.h> @@ -29,12 +29,21 @@ $NetBSD: patch-ac,v 1.3 2003/11/13 21:20:08 tron Exp $ +#endif +#endif /*__FreeBSD__*/ #include <net/slip.h> ++#if defined(__DragonFly__) ++#include <net/if_var.h> ++#include <sys/mbuf.h> ++#include <netinet/in_systm.h> ++#include <netinet/ip.h> ++#include <net/slcompress.h> ++#include <net/sl/if_slvar.h> ++#else #include <net/if_slvar.h> -#include <netinet/in.h> ++#endif #include <arpa/inet.h> #include <netdb.h> extern int h_errno; -@@ -121,7 +133,7 @@ +@@ -121,7 +142,7 @@ struct protosw /* * Pfad- und Dateinamen-Konstanten */ @@ -43,7 +52,15 @@ $NetBSD: patch-ac,v 1.3 2003/11/13 21:20:08 tron Exp $ #define PATH_ETC_DIPHOSTS "/etc/diphosts" #define PATH_BIN_IFCONFIG "/sbin/ifconfig" #define PATH_BIN_ROUTE "/sbin/route" -@@ -231,3 +243,4 @@ +@@ -135,7 +156,6 @@ struct protosw + /* + * Extern benoetigte Variablen + */ +-extern int errno; + + extern short opt_debg; /* Debugging-output-flag */ + extern short opt_verb; /* Verbose-flag */ +@@ -231,3 +251,4 @@ int hanguptty ( void ); int tty_flush ( void ); int tty_close ( void ); int tty_open ( char * ); |