summaryrefslogtreecommitdiff
path: root/net/irrtoolset-nox11
diff options
context:
space:
mode:
authorspz <spz>2009-02-17 21:04:14 +0000
committerspz <spz>2009-02-17 21:04:14 +0000
commit5a097361128296e82927c22dcc1b736eb5d7e4ee (patch)
treedd14194d11d61b9a151241a63d0d875f4297d39e /net/irrtoolset-nox11
parentcf01cb206827195a35e25f9133fac211a2467a7c (diff)
downloadpkgsrc-5a097361128296e82927c22dcc1b736eb5d7e4ee.tar.gz
oops, the two new patches escaped commit last time
Diffstat (limited to 'net/irrtoolset-nox11')
-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: