summaryrefslogtreecommitdiff
path: root/net/xorp/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2006-05-09 21:18:49 +0000
committerjoerg <joerg>2006-05-09 21:18:49 +0000
commit2f1360c09b35ea25357aa3ee546bbc0614b037c1 (patch)
treea7ce52347b8281aac617cdcb77097381b66957d3 /net/xorp/patches
parent626228bea9dbe23198111e37696e5866d688c216 (diff)
downloadpkgsrc-2f1360c09b35ea25357aa3ee546bbc0614b037c1.tar.gz
Add DragonFly support. Disable propolice on DragonFly. Uses C++.
Diffstat (limited to 'net/xorp/patches')
-rw-r--r--net/xorp/patches/patch-aa15
-rw-r--r--net/xorp/patches/patch-ab23
-rw-r--r--net/xorp/patches/patch-ac13
-rw-r--r--net/xorp/patches/patch-ad13
4 files changed, 64 insertions, 0 deletions
diff --git a/net/xorp/patches/patch-aa b/net/xorp/patches/patch-aa
new file mode 100644
index 00000000000..e691bd2aaf6
--- /dev/null
+++ b/net/xorp/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.3 2006/05/09 21:18:50 joerg Exp $
+
+--- mrt/include/ip_mroute.h.orig 2006-05-09 18:33:35.000000000 +0000
++++ mrt/include/ip_mroute.h
+@@ -56,6 +56,10 @@
+ # include <netinet/ip_mroute.h>
+ #endif
+
++#if defined(HOST_OS_DRAGONFLY)
++#include <net/ip_mroute/ip_mroute.h>
++#endif
++
+ /*
+ * NetBSD (all versions)
+ * OpenBSD (all versions)
diff --git a/net/xorp/patches/patch-ab b/net/xorp/patches/patch-ab
new file mode 100644
index 00000000000..d4d18a681cf
--- /dev/null
+++ b/net/xorp/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.1 2006/05/09 21:18:50 joerg Exp $
+
+--- configure.orig 2006-05-09 19:56:35.000000000 +0000
++++ configure
+@@ -1806,6 +1806,18 @@ cat >>confdefs.h <<\_ACEOF
+ _ACEOF
+
+ ;;
++ dragonfly* )
++
++cat >>confdefs.h <<\_ACEOF
++#define HOST_OS_DRAGONFLY 1
++_ACEOF
++
++
++cat >>confdefs.h <<\_ACEOF
++#define HOST_OS_NAME "DragonFly"
++_ACEOF
++
++ ;;
+ linux* )
+
+ cat >>confdefs.h <<\_ACEOF
diff --git a/net/xorp/patches/patch-ac b/net/xorp/patches/patch-ac
new file mode 100644
index 00000000000..be78918a415
--- /dev/null
+++ b/net/xorp/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2006/05/09 21:18:50 joerg Exp $
+
+--- libxipc/sockutil.cc.orig 2006-05-09 20:01:15.000000000 +0000
++++ libxipc/sockutil.cc
+@@ -390,7 +390,7 @@ get_preferred_ipv4_addr()
+ static uint32_t
+ if_count()
+ {
+-#ifdef HOST_OS_FREEBSD
++#if defined(HOST_OS_FREEBSD) || defined(HOST_OS_DRAGONFLY)
+ int cnt, error;
+ size_t cntlen = sizeof(cnt);
+ error = sysctlbyname("net.link.generic.system.ifcount",
diff --git a/net/xorp/patches/patch-ad b/net/xorp/patches/patch-ad
new file mode 100644
index 00000000000..f7c4ae98cf3
--- /dev/null
+++ b/net/xorp/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2006/05/09 21:18:50 joerg Exp $
+
+--- fea/ifconfig_set_ioctl.cc.orig 2006-05-09 20:01:45.000000000 +0000
++++ fea/ifconfig_set_ioctl.cc
+@@ -175,7 +175,7 @@ IfConfigSetIoctl::is_discard_emulated(co
+ {
+ UNUSED(i);
+
+-#if defined(HOST_OS_BSDI) || defined(HOST_OS_FREEBSD) || defined(HOST_OS_MACOSX) || defined(HOST_OS_NETBSD) || defined(HOST_OS_OPENBSD)
++#if defined(HOST_OS_BSDI) || defined(HOST_OS_FREEBSD) || defined(HOST_OS_MACOSX) || defined(HOST_OS_NETBSD) || defined(HOST_OS_OPENBSD) || defined(HOST_OS_DRAGONFLY)
+ return (true);
+ #else
+ return (false);