From 53193cea87f3bf65c2a7addf9a816bd97ee2c8b5 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Wed, 28 Aug 2002 06:16:21 +0000 Subject: fix build with g++3 --- x11-toolkits/gtkglarea--/files/patch-events.cc | 10 ++++++++++ x11-toolkits/gtkglarea--/files/patch-gdkgl.cc | 20 ++++++++++++++++++++ x11-toolkits/gtkglarea--/files/patch-glpixmap.cc | 10 ++++++++++ 3 files changed, 40 insertions(+) create mode 100644 x11-toolkits/gtkglarea--/files/patch-events.cc create mode 100644 x11-toolkits/gtkglarea--/files/patch-gdkgl.cc create mode 100644 x11-toolkits/gtkglarea--/files/patch-glpixmap.cc (limited to 'x11-toolkits/gtkglarea--') 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 + #include + ++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(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 + #include + ++using namespace std; + + int visual_attributes[] = { GDK_GL_RGBA, + GDK_GL_NONE }; -- cgit v1.2.3