pkgsrc/net/irrtoolset-nox11/patches/patch-cu
spz 015569be5a patches irrtoolset to handle extended autnums
most changes supplied by mlelstv@NetBSD.org (Michael van Elst)
patch to src/rpsl/rpsl/rptype.cc supplied by he@NetBSD.org (Havard Eidnes)

also fixes PR pkg/36807
2007-09-07 21:26:31 +00:00

14 lines
472 B
Text

$NetBSD: patch-cu,v 1.1 2007/09/07 21:26:32 spz Exp $
--- src/rpsl/rpsl/rpsl_item.hh.orig 2007-02-09 20:46:31.000000000 +0100
+++ src/rpsl/rpsl/rpsl_item.hh
@@ -127,6 +127,9 @@ public:
&& asno <= ((ItemASNO&) b).asno;
}
virtual Buffer *bufferize(Buffer *buf = NULL, bool lcase = false) const;
+ virtual const char *sprint(char *buf) {
+ asnum_string(buf, asno);
+ }
#ifdef DEBUG
virtual const char *className(void) const {
return "ItemASNO";