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

$NetBSD: patch-bc,v 1.1 2005/03/06 11:40:21 spz Exp $
--- src/Core/util/Buffer.hh.orig 2004-07-30 12:58:10.000000000 +0200
+++ src/Core/util/Buffer.hh
@@ -30,7 +30,11 @@
#include <cstdlib>
#include <cstring>
+#if (__GNUC__ > 2)
#include <ostream>
+#else
+#include <ostream.h>
+#endif
extern "C" {
#ifdef HAVE_MALLOC_H
#include <malloc.h>