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
commit17dd013a2729906f65e09e731a3a3f6dcf70f490 (patch)
treedd14194d11d61b9a151241a63d0d875f4297d39e /net
parent4f252814eeb520dc8ceae668505f0c2edbee445f (diff)
downloadpkgsrc-17dd013a2729906f65e09e731a3a3f6dcf70f490.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: