From dc301e1308649164cf302200f9dbc788dbbbca73 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 25 Jan 2006 17:45:32 +0000 Subject: net/if_ether.h and net/ethertypes.h are approximately replacable by netinet/if_ether.h on FreeBSD and DragonFly. --- net/mouse-pppoe/distinfo | 4 ++-- net/mouse-pppoe/patches/patch-aa | 20 +++++++++++++++++--- 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 @@ -10,7 +10,21 @@ $NetBSD: patch-aa,v 1.2 2001/02/27 17:41:06 hubertf Exp $ #include #include #include -@@ -677,7 +678,6 @@ +@@ -13,8 +14,13 @@ + #include + #include + #include ++#if defined(__DragonFly__) || defined(__FreeBSD__) ++#include ++#include ++#else + #include + #include ++#endif + + extern const char *__progname; + +@@ -677,7 +683,6 @@ static void fork_pppd(void) *ap++ = "nodeflate"; *ap++ = "nodetach"; *ap++ = "noipdefault"; -- cgit v1.2.3