pkgsrc/net/irrtoolset-nox11/patches/patch-bi
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
383 B
Text

$NetBSD: patch-bi,v 1.1 2005/03/06 11:40:21 spz Exp $
--- src/rpsl/rpsl/object.cc.orig 2004-07-30 12:58:14.000000000 +0200
+++ src/rpsl/rpsl/object.cc
@@ -52,7 +52,11 @@
// Author(s): Cengiz Alaettinoglu <cengiz@ISI.EDU>
#include "config.h"
+#if (__GNUC__ > 2)
#include <istream>
+#else
+#include <istream.h>
+#endif
#include <cstdio>
#include <sstream>
#include <fstream>