diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-08-28 14:16:21 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-08-28 14:16:21 +0800 |
commit | 43b5f223f9361ea3a00899da8df4646ca396bc8a (patch) | |
tree | 944328aba1f80147f4d703eb9b8ed4d12b4a0562 /x11-toolkits | |
parent | ca3e2c8a9b22f75ab1c5383d5dee436f9b92a2d3 (diff) | |
download | freebsd-ports-graphics-43b5f223f9361ea3a00899da8df4646ca396bc8a.tar.gz freebsd-ports-graphics-43b5f223f9361ea3a00899da8df4646ca396bc8a.tar.zst freebsd-ports-graphics-43b5f223f9361ea3a00899da8df4646ca396bc8a.zip |
fix build with g++3
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/gtkglarea--/files/patch-events.cc | 10 | ||||
-rw-r--r-- | x11-toolkits/gtkglarea--/files/patch-gdkgl.cc | 20 | ||||
-rw-r--r-- | x11-toolkits/gtkglarea--/files/patch-glpixmap.cc | 10 |
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 00000000000..c39ff0f997e --- /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 00000000000..1c94fa26ab0 --- /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 00000000000..bbbfe8ef7d2 --- /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 }; |