summaryrefslogtreecommitdiff
path: root/net/kdenetwork3/patches
diff options
context:
space:
mode:
Diffstat (limited to 'net/kdenetwork3/patches')
-rw-r--r--net/kdenetwork3/patches/patch-aa27
-rw-r--r--net/kdenetwork3/patches/patch-ab17
-rw-r--r--net/kdenetwork3/patches/patch-ad28
3 files changed, 66 insertions, 6 deletions
diff --git a/net/kdenetwork3/patches/patch-aa b/net/kdenetwork3/patches/patch-aa
index b596b0ae629..1ebf0f275b1 100644
--- a/net/kdenetwork3/patches/patch-aa
+++ b/net/kdenetwork3/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.13 2004/08/21 14:56:18 markd Exp $
+$NetBSD: patch-aa,v 1.14 2005/11/18 15:04:57 joerg Exp $
---- configure.orig 2004-06-01 02:06:53.000000000 +1200
+--- configure.orig 2005-10-05 21:04:45.000000000 +0000
+++ configure
-@@ -26504,72 +26504,6 @@ _ACEOF
+@@ -27460,72 +27460,6 @@ _ACEOF
@@ -75,3 +75,24 @@ $NetBSD: patch-aa,v 1.13 2004/08/21 14:56:18 markd Exp $
# darwin needs this to initialize the environment
for ac_header in crt_externs.h
+@@ -41114,7 +41048,11 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #endif
+ #include <unistd.h>
+ #include <arpa/inet.h>
++#ifdef __DragonFly__
++#include <net/ppp_layer/ppp_defs.h>
++#else
+ #include <net/ppp_defs.h>
++#endif
+ #include <netinet/in.h>
+
+ #ifdef __svr4__
+@@ -41130,6 +41068,8 @@ cat >>conftest.$ac_ext <<_ACEOF
+
+ #if defined(linux)
+ #include <linux/if_ppp.h>
++ #elif defined(__DragonFly__)
++ #include <net/ppp/if_ppp.h>
+ #else
+ #include <net/if_ppp.h> /* BSD, NeXT, etc. */
+ #endif
diff --git a/net/kdenetwork3/patches/patch-ab b/net/kdenetwork3/patches/patch-ab
new file mode 100644
index 00000000000..e6171bc1ffa
--- /dev/null
+++ b/net/kdenetwork3/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.3 2005/11/18 15:04:57 joerg Exp $
+
+--- kppp/opener.cpp.orig 2005-11-16 16:45:28.000000000 +0000
++++ kppp/opener.cpp
+@@ -68,7 +68,11 @@ extern "C" int _Precvmsg(int, void*, int
+ #endif
+
+ #ifndef HAVE_NET_IF_PPP_H
+-# ifdef HAVE_LINUX_IF_PPP_H
++# if defined(__DragonFly__)
++# include <net/ppp_layer/ppp_defs.h>
++# include <net/if.h>
++# include <net/ppp/if_ppp.h>
++# elif defined(HAVE_LINUX_IF_PPP_H)
+ # include <linux/if_ppp.h>
+ # endif
+ #else
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));