diff options
Diffstat (limited to 'net/kdenetwork3/patches/patch-ad')
-rw-r--r-- | net/kdenetwork3/patches/patch-ad | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/net/kdenetwork3/patches/patch-ad b/net/kdenetwork3/patches/patch-ad index b09379da131..84ad6fe7ecd 100644 --- a/net/kdenetwork3/patches/patch-ad +++ b/net/kdenetwork3/patches/patch-ad @@ -1,8 +1,30 @@ -$NetBSD: patch-ad,v 1.2 2003/01/02 09:12:30 skrll Exp $ +$NetBSD: patch-ad,v 1.3 2005/11/18 15:04:57 joerg Exp $ ---- kppp/pppstats.cpp.orig Mon Dec 16 03:02:45 2002 +--- kppp/pppstats.cpp.orig 2005-10-05 13:24:08.000000000 +0000 +++ kppp/pppstats.cpp -@@ -218,27 +218,29 @@ bool PPPStats::initStats() { +@@ -54,7 +54,11 @@ + #include <arpa/inet.h> + #include <unistd.h> + #include <netinet/in.h> ++#ifdef __DragonFly__ ++#include <net/ppp_layer/ppp_defs.h> ++#else + #include <net/ppp_defs.h> ++#endif + + #include "config.h" + #include "pppstats.h" +@@ -70,6 +74,9 @@ + #ifdef HAVE_LINUX_IF_PPP_H + #include <linux/if.h> + #include <linux/if_ppp.h> ++ #elif defined(__DragonFly__) ++ #include <net/if.h> ++ #include <net/ppp/if_ppp.h> + #endif + #else + #include <net/if.h> +@@ -218,27 +225,29 @@ bool PPPStats::initStats() { strlcpy(ifr.ifr_name, unitName, sizeof(ifr.ifr_name)); |