summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-25 17:45:32 +0000
committerjoerg <joerg>2006-01-25 17:45:32 +0000
commitdc301e1308649164cf302200f9dbc788dbbbca73 (patch)
tree94c5808c5858b01e7cde0a41e638d6248b691136 /net
parent5785a5b029443a2bfaed942496cd00dfce10e286 (diff)
downloadpkgsrc-dc301e1308649164cf302200f9dbc788dbbbca73.tar.gz
net/if_ether.h and net/ethertypes.h are approximately replacable by
netinet/if_ether.h on FreeBSD and DragonFly.
Diffstat (limited to 'net')
-rw-r--r--net/mouse-pppoe/distinfo4
-rw-r--r--net/mouse-pppoe/patches/patch-aa20
2 files changed, 19 insertions, 5 deletions
diff --git a/net/mouse-pppoe/distinfo b/net/mouse-pppoe/distinfo
index 5dab238dbc8..45c5a3c8405 100644
--- a/net/mouse-pppoe/distinfo
+++ b/net/mouse-pppoe/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 12:13:53 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/01/25 17:45:32 joerg Exp $
SHA1 (pppoe.20000912.tar.gz) = e077e02e42cad1266316cdfa87c31bde191e530e
RMD160 (pppoe.20000912.tar.gz) = c0034484f2dbc54a3e1ea9648dfb37f6f25f0a2e
Size (pppoe.20000912.tar.gz) = 9621 bytes
-SHA1 (patch-aa) = 9c1b59a7138a7f02329fbabd36026b5554ca1197
+SHA1 (patch-aa) = 7478d6d155cdec4c9b6d11ccdde467a9fddff0c4
diff --git a/net/mouse-pppoe/patches/patch-aa b/net/mouse-pppoe/patches/patch-aa
index ec69f482b6f..ebf87195c63 100644
--- a/net/mouse-pppoe/patches/patch-aa
+++ b/net/mouse-pppoe/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.2 2001/02/27 17:41:06 hubertf Exp $
+$NetBSD: patch-aa,v 1.3 2006/01/25 17:45:32 joerg Exp $
---- pppoe.c.orig Fri Apr 21 05:58:32 2000
+--- pppoe.c.orig 2000-04-21 03:58:32.000000000 +0000
+++ pppoe.c
@@ -5,6 +5,7 @@
#include <stdarg.h>
@@ -10,7 +10,21 @@ $NetBSD: patch-aa,v 1.2 2001/02/27 17:41:06 hubertf Exp $
#include <net/if.h>
#include <termios.h>
#include <strings.h>
-@@ -677,7 +678,6 @@
+@@ -13,8 +14,13 @@
+ #include <net/if_dl.h>
+ #include <sys/ioctl.h>
+ #include <sys/socket.h>
++#if defined(__DragonFly__) || defined(__FreeBSD__)
++#include <netinet/in.h>
++#include <netinet/if_ether.h>
++#else
+ #include <net/if_ether.h>
+ #include <net/ethertypes.h>
++#endif
+
+ extern const char *__progname;
+
+@@ -677,7 +683,6 @@ static void fork_pppd(void)
*ap++ = "nodeflate";
*ap++ = "nodetach";
*ap++ = "noipdefault";