diff options
-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 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 }; |