summaryrefslogtreecommitdiff
path: root/time/glclock/patches/patch-MString.H
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-25 22:19:56 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-25 22:19:56 +0000
commit7f41aefc9353d70b68e9f553bfc3b22aeaddf62e (patch)
treeb382d20d32d59ec0afb4cb08ab43d098b453e4fc /time/glclock/patches/patch-MString.H
parent57144080ce01226f488768c2a206226f4dc5c8c1 (diff)
downloadpkgsrc-7f41aefc9353d70b68e9f553bfc3b22aeaddf62e.tar.gz
Fix build with newer GCC.
Diffstat (limited to 'time/glclock/patches/patch-MString.H')
-rw-r--r--time/glclock/patches/patch-MString.H21
1 files changed, 21 insertions, 0 deletions
diff --git a/time/glclock/patches/patch-MString.H b/time/glclock/patches/patch-MString.H
new file mode 100644
index 00000000000..0b64e5f238a
--- /dev/null
+++ b/time/glclock/patches/patch-MString.H
@@ -0,0 +1,21 @@
+$NetBSD: patch-MString.H,v 1.1 2011/11/25 22:19:56 joerg Exp $
+
+--- MString.H.orig 2011-11-25 18:07:40.000000000 +0000
++++ MString.H
+@@ -66,7 +66,7 @@
+ #ifndef ___STRING_H___
+ #define ___STRING_H___
+
+-#include <iostream.h>
++#include <iostream>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -75,6 +75,7 @@
+
+ #include "Define.H"
+
++using namespace std;
+
+ //#define STRING_DEBUG
+