pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/irrtoolset-nox11/patches oops, the two new patches...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7c15bdc6a8de
branches:  trunk
changeset: 554668:7c15bdc6a8de
user:      spz <spz%pkgsrc.org@localhost>
date:      Tue Feb 17 21:04:14 2009 +0000

description:
oops, the two new patches escaped commit last time

diffstat:

 net/irrtoolset-nox11/patches/patch-ea |  22 ++++++++++++++++++++++
 net/irrtoolset-nox11/patches/patch-eb |  12 ++++++++++++
 2 files changed, 34 insertions(+), 0 deletions(-)

diffs (42 lines):

diff -r 044a98ddf907 -r 7c15bdc6a8de net/irrtoolset-nox11/patches/patch-ea
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/irrtoolset-nox11/patches/patch-ea     Tue Feb 17 21:04:14 2009 +0000
@@ -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 -r 044a98ddf907 -r 7c15bdc6a8de net/irrtoolset-nox11/patches/patch-eb
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/irrtoolset-nox11/patches/patch-eb     Tue Feb 17 21:04:14 2009 +0000
@@ -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:



Home | Main Index | Thread Index | Old Index