summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorspz <spz@pkgsrc.org>2009-02-17 21:04:14 +0000
committerspz <spz@pkgsrc.org>2009-02-17 21:04:14 +0000
commit90baec3907ea1f7b387c64ba17bada4e1dd12fcd (patch)
treedd14194d11d61b9a151241a63d0d875f4297d39e /net
parentba1dbcb8e95eed38eb22e1e23f05c6945214d23a (diff)
downloadpkgsrc-90baec3907ea1f7b387c64ba17bada4e1dd12fcd.tar.gz
oops, the two new patches escaped commit last time
Diffstat (limited to 'net')
-rw-r--r--net/irrtoolset-nox11/patches/patch-ea22
-rw-r--r--net/irrtoolset-nox11/patches/patch-eb12
2 files changed, 34 insertions, 0 deletions
diff --git a/net/irrtoolset-nox11/patches/patch-ea b/net/irrtoolset-nox11/patches/patch-ea
new file mode 100644
index 00000000000..83d82e4fd36
--- /dev/null
+++ b/net/irrtoolset-nox11/patches/patch-ea
@@ -0,0 +1,22 @@
+$NetBSD: patch-ea,v 1.1 2009/02/17 21:04:14 spz Exp $
+
+--- src/rpsl/rpsl/afi.cc.orig 2006-06-08 18:08:25.000000000 +0200
++++ src/rpsl/rpsl/afi.cc
+@@ -29,6 +29,8 @@
+
+ using namespace std;
+
++bool AddressFamily::noDefaultAfi = false;
++
+ AddressFamily::AddressFamily(void) :
+ afi(NULL)
+ {
+@@ -63,7 +65,7 @@ bool AddressFamily::is_ipv6() {
+ }
+
+ bool AddressFamily::is_default() {
+- if (strcmp(afi, "ipv4.unicast") == 0)
++ if (strcmp(afi, "ipv4.unicast") == 0 && !AddressFamily::noDefaultAfi)
+ return true;
+ return false;
+ }
diff --git a/net/irrtoolset-nox11/patches/patch-eb b/net/irrtoolset-nox11/patches/patch-eb
new file mode 100644
index 00000000000..8b057711cef
--- /dev/null
+++ b/net/irrtoolset-nox11/patches/patch-eb
@@ -0,0 +1,12 @@
+$NetBSD: patch-eb,v 1.1 2009/02/17 21:04:14 spz Exp $
+
+--- src/rpsl/rpsl/afi.hh.orig 2006-06-08 18:08:25.000000000 +0200
++++ src/rpsl/rpsl/afi.hh
+@@ -32,6 +32,7 @@ class MPPrefix;
+
+ class AddressFamily {
+ public:
++ static bool noDefaultAfi;
+ char *afi;
+
+ public: