diff options
author | kristerw <kristerw> | 2004-03-26 01:34:08 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2004-03-26 01:34:08 +0000 |
commit | 6770dbfed861e2a9906341e90ce246e540ed065e (patch) | |
tree | 815a67612358f1595b167f35b5a7690b90bd9413 /games/xevil/patches/patch-ae | |
parent | efd6c3d01ad6beab53bf97fbe3a7a95d23210b5e (diff) | |
download | pkgsrc-6770dbfed861e2a9906341e90ce246e540ed065e.tar.gz |
Make this compile when using gcc 3. Patches provided by
Chris Tribo in PR pkg/24886.
Diffstat (limited to 'games/xevil/patches/patch-ae')
-rw-r--r-- | games/xevil/patches/patch-ae | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/games/xevil/patches/patch-ae b/games/xevil/patches/patch-ae new file mode 100644 index 00000000000..53f4526549d --- /dev/null +++ b/games/xevil/patches/patch-ae @@ -0,0 +1,29 @@ +$NetBSD: patch-ae,v 1.1 2004/03/26 01:34:08 kristerw Exp $ + +--- physical.C.orig Fri Mar 26 02:15:18 2004 ++++ physical.C Fri Mar 26 02:16:06 2004 +@@ -22,6 +22,7 @@ + hardts@alum.mit.edu + http://graphics.lcs.mit.edu/~hardts/xevil.html + */ ++using namespace std; + + #ifndef NO_PRAGMAS + #pragma implementation "physical.h" +@@ -29,13 +30,14 @@ + + + // Include Files +-#include <iostream.h> ++#include <iostream> + + extern "C" { + #include <string.h> + } + +-#include <strstream.h> ++#include <strstream> ++using std::ostrstream; + + #include "utils.h" + #include "coord.h" |