summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-08-28 06:16:21 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-08-28 06:16:21 +0000
commit53193cea87f3bf65c2a7addf9a816bd97ee2c8b5 (patch)
tree4493372c6bfc998790fdfb38bc01d453e5aceec2 /x11-toolkits
parentUpdate to verson 1.8 (diff)
fix build with g++3
Notes
Notes: svn path=/head/; revision=65148
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtkglarea--/files/patch-events.cc10
-rw-r--r--x11-toolkits/gtkglarea--/files/patch-gdkgl.cc20
-rw-r--r--x11-toolkits/gtkglarea--/files/patch-glpixmap.cc10
3 files changed, 40 insertions, 0 deletions
diff --git a/x11-toolkits/gtkglarea--/files/patch-events.cc b/x11-toolkits/gtkglarea--/files/patch-events.cc
new file mode 100644
index 000000000000..c39ff0f997e4
--- /dev/null
+++ b/x11-toolkits/gtkglarea--/files/patch-events.cc
@@ -0,0 +1,10 @@
+--- examples/extra/events.cc.orig Wed Aug 28 14:04:59 2002
++++ examples/extra/events.cc Wed Aug 28 14:05:23 2002
+@@ -28,6 +28,7 @@
+ #include <GL/gl.h>
+ #include <GL/glu.h>
+
++using namespace std;
+
+ void gl() {
+ static int displaylist=-1;
diff --git a/x11-toolkits/gtkglarea--/files/patch-gdkgl.cc b/x11-toolkits/gtkglarea--/files/patch-gdkgl.cc
new file mode 100644
index 000000000000..1c94fa26ab04
--- /dev/null
+++ b/x11-toolkits/gtkglarea--/files/patch-gdkgl.cc
@@ -0,0 +1,20 @@
+--- gtkgl--/gdkgl.cc.orig Wed Aug 28 13:56:43 2002
++++ gtkgl--/gdkgl.cc Wed Aug 28 13:58:35 2002
+@@ -69,7 +69,7 @@
+
+ Gdk_GL::Context::Context(const Gdk_Visual &visual,
+ Context &share,
+- bool direct=FALSE)
++ bool direct)
+ :Gdk_Handle<GdkGLContext>(0)
+ {create(visual,share,direct);}
+
+@@ -98,7 +98,7 @@
+ ref();
+ }
+
+-void Gdk_GL::Context::create(const Gdk_Visual &visual,Context &share,bool direct=FALSE)
++void Gdk_GL::Context::create(const Gdk_Visual &visual,Context &share,bool direct)
+ {
+ unref();
+ obj_ = gdk_gl_context_share_new(gdk_const_cast(visual),share,direct);
diff --git a/x11-toolkits/gtkglarea--/files/patch-glpixmap.cc b/x11-toolkits/gtkglarea--/files/patch-glpixmap.cc
new file mode 100644
index 000000000000..bbbfe8ef7d25
--- /dev/null
+++ b/x11-toolkits/gtkglarea--/files/patch-glpixmap.cc
@@ -0,0 +1,10 @@
+--- examples/extra/glpixmap.cc.orig Wed Aug 28 14:02:08 2002
++++ examples/extra/glpixmap.cc Wed Aug 28 14:02:29 2002
+@@ -27,6 +27,7 @@
+ #include <gdk--.h>
+ #include <gtkgl--/gdkgl.h>
+
++using namespace std;
+
+ int visual_attributes[] = { GDK_GL_RGBA,
+ GDK_GL_NONE };