summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-06-30 16:13:47 +0000
committertron <tron@pkgsrc.org>2006-06-30 16:13:47 +0000
commit0599b13f33fb8ed0b70200ecd81374992817c035 (patch)
treecada79c37080feadba10555d0d5bca6c3f5ef31e /net
parent7d4a34a023fe6e1781e492e2d68775b8aa9e0b8a (diff)
downloadpkgsrc-0599b13f33fb8ed0b70200ecd81374992817c035.tar.gz
Don't include "net/if_slvar.h" under NetBSD. It's not necessary under
older NetBSD versions and the file doesn't exist under newer versions.
Diffstat (limited to 'net')
-rw-r--r--net/dip/distinfo4
-rw-r--r--net/dip/patches/patch-ac16
2 files changed, 11 insertions, 9 deletions
diff --git a/net/dip/distinfo b/net/dip/distinfo
index 5b40fb0f274..9b71d6078b4 100644
--- a/net/dip/distinfo
+++ b/net/dip/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2006/02/24 20:48:56 joerg Exp $
+$NetBSD: distinfo,v 1.7 2006/06/30 16:13:47 tron 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) = a4d33d3c9703352b394ebafc73c220aa519bd2c3
+SHA1 (patch-ac) = 0bf7e78142ef21167475fd9af4071494054016e9
diff --git a/net/dip/patches/patch-ac b/net/dip/patches/patch-ac
index fdf05fc8d10..37b8ffc942d 100644
--- a/net/dip/patches/patch-ac
+++ b/net/dip/patches/patch-ac
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.4 2006/02/24 20:48:56 joerg Exp $
+$NetBSD: patch-ac,v 1.5 2006/06/30 16:13:47 tron Exp $
---- dip.h.orig 1995-06-30 23:41:05.000000000 +0000
-+++ dip.h
-@@ -43,17 +43,38 @@
+--- dip.h.orig 1995-07-01 00:41:05.000000000 +0100
++++ dip.h 2006-06-30 17:10:38.000000000 +0100
+@@ -43,17 +43,40 @@
#include <string.h>
#include <errno.h>
#include <syslog.h>
@@ -37,13 +37,15 @@ $NetBSD: patch-ac,v 1.4 2006/02/24 20:48:56 joerg Exp $
+#include <net/slcompress.h>
+#include <net/sl/if_slvar.h>
+#else
++#if !defined(__NetBSD__)
#include <net/if_slvar.h>
-#include <netinet/in.h>
+#endif
++#endif
#include <arpa/inet.h>
#include <netdb.h>
extern int h_errno;
-@@ -121,7 +142,7 @@ struct protosw
+@@ -121,7 +144,7 @@
/*
* Pfad- und Dateinamen-Konstanten
*/
@@ -52,7 +54,7 @@ $NetBSD: patch-ac,v 1.4 2006/02/24 20:48:56 joerg Exp $
#define PATH_ETC_DIPHOSTS "/etc/diphosts"
#define PATH_BIN_IFCONFIG "/sbin/ifconfig"
#define PATH_BIN_ROUTE "/sbin/route"
-@@ -135,7 +156,6 @@ struct protosw
+@@ -135,7 +158,6 @@
/*
* Extern benoetigte Variablen
*/
@@ -60,7 +62,7 @@ $NetBSD: patch-ac,v 1.4 2006/02/24 20:48:56 joerg Exp $
extern short opt_debg; /* Debugging-output-flag */
extern short opt_verb; /* Verbose-flag */
-@@ -231,3 +251,4 @@ int hanguptty ( void );
+@@ -231,3 +253,4 @@
int tty_flush ( void );
int tty_close ( void );
int tty_open ( char * );