summaryrefslogtreecommitdiff
path: root/net/irrtoolset-nox11/patches/patch-br
diff options
context:
space:
mode:
authorspz <spz@pkgsrc.org>2005-03-06 11:40:21 +0000
committerspz <spz@pkgsrc.org>2005-03-06 11:40:21 +0000
commit950a1c977c7365ffb4842c064d51e9ee00a5fefe (patch)
tree1d616b17471aa592f83109bedbef243505af61de /net/irrtoolset-nox11/patches/patch-br
parentf1d32079331d1105b47a9e1cb22d4e3827551ac4 (diff)
downloadpkgsrc-950a1c977c7365ffb4842c064d51e9ee00a5fefe.tar.gz
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
Diffstat (limited to 'net/irrtoolset-nox11/patches/patch-br')
-rw-r--r--net/irrtoolset-nox11/patches/patch-br16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/irrtoolset-nox11/patches/patch-br b/net/irrtoolset-nox11/patches/patch-br
new file mode 100644
index 00000000000..d49f2d0f4b4
--- /dev/null
+++ b/net/irrtoolset-nox11/patches/patch-br
@@ -0,0 +1,16 @@
+$NetBSD: patch-br,v 1.1 2005/03/06 11:40:21 spz Exp $
+
+--- src/normalform/SetOfSymbol.cc.orig 2004-07-30 12:58:13.000000000 +0200
++++ src/normalform/SetOfSymbol.cc
+@@ -51,7 +51,11 @@
+ //
+ // Author(s): Cengiz Alaettinoglu <cengiz@ISI.EDU>
+
++#if (__GNUC__ > 2)
+ #include <ostream>
++#else
++#include <ostream.h>
++#endif
+ #include <cstdio>
+ #include <cassert>
+ #include "config.h"