summaryrefslogtreecommitdiff
path: root/time/glclock
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
parent57144080ce01226f488768c2a206226f4dc5c8c1 (diff)
downloadpkgsrc-7f41aefc9353d70b68e9f553bfc3b22aeaddf62e.tar.gz
Fix build with newer GCC.
Diffstat (limited to 'time/glclock')
-rw-r--r--time/glclock/distinfo4
-rw-r--r--time/glclock/patches/patch-GLObject.H19
-rw-r--r--time/glclock/patches/patch-MString.H21
3 files changed, 43 insertions, 1 deletions
diff --git a/time/glclock/distinfo b/time/glclock/distinfo
index 858632b874c..6e00ffb2919 100644
--- a/time/glclock/distinfo
+++ b/time/glclock/distinfo
@@ -1,8 +1,10 @@
-$NetBSD: distinfo,v 1.7 2008/04/24 13:57:08 tron Exp $
+$NetBSD: distinfo,v 1.8 2011/11/25 22:19:56 joerg Exp $
SHA1 (glclock-6.0b6.0.tar.gz) = e276a516d543c9a6c04f06cfa046f89a476a8685
RMD160 (glclock-6.0b6.0.tar.gz) = f0bd207a47a01e3dc3d3da5b107b168a3210d2a3
Size (glclock-6.0b6.0.tar.gz) = 811803 bytes
+SHA1 (patch-GLObject.H) = 62040251be8e6dba3d744640fdcb614eed30a306
+SHA1 (patch-MString.H) = 3d31d19c33327d6b6775d9bb7db165a8949e4fc2
SHA1 (patch-aa) = d2526e6ce7679ce67835b6b916b4524b4249d7e5
SHA1 (patch-ab) = 8d4f12c9948d703e4fbff68282388efc7a352f59
SHA1 (patch-ac) = d06a44d725820c2988888665c4d5dd75161525b8
diff --git a/time/glclock/patches/patch-GLObject.H b/time/glclock/patches/patch-GLObject.H
new file mode 100644
index 00000000000..a679d548c37
--- /dev/null
+++ b/time/glclock/patches/patch-GLObject.H
@@ -0,0 +1,19 @@
+$NetBSD: patch-GLObject.H,v 1.1 2011/11/25 22:19:56 joerg Exp $
+
+--- GLObject.H.orig 2011-11-25 18:07:37.000000000 +0000
++++ GLObject.H
+@@ -11,11 +11,13 @@
+ #pragma warning(disable : 4051) // ALPHA
+ #endif
+
+-#include <iostream.h>
++#include <iostream>
+
+ #include "GLextensions.H"
+ #include "PnmIO.H"
+
++using namespace std;
++
+
+ // for debug
+ //#define glNormal3f(x,y,z) glTexCoord2f(x, y)
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
+