pkgsrc/net/irrtoolset-nox11/patches/patch-bf
spz 950a1c977c make compilation with gcc 2.95.* work (mostly by rolling back includes
changes from IRRToolSet 4.8.1 within #if (__GNUC__ > 2) .. #else)
also incidentially fixes a bug in rusage.cc
2005-03-06 11:40:21 +00:00

16 lines
339 B
Text

$NetBSD: patch-bf,v 1.1 2005/03/06 11:40:21 spz Exp $
--- src/rpsl/rpsl/regexp.cc.orig 2004-07-30 12:58:14.000000000 +0200
+++ src/rpsl/rpsl/regexp.cc
@@ -56,7 +56,11 @@
#include "regexp.hh"
#include <cstring>
#include "symbols.hh"
+#if (__GNUC__ > 2)
#include <ostream>
+#else
+#include <ostream.h>
+#endif
using namespace std;