openbsd-ports/x11/gtkglextmm/patches/patch-gtkglext_gtkmm_gl_widget_cc
bentley 986bf7a6a2 Import gtkglextmm-1.2.0.
gtkglextmm is a C++ wrapper for GtkGLExt, an OpenGL extension to GTK.

ok jasper@ landry@ edd@
2012-05-28 09:13:23 +00:00

18 lines
514 B
Plaintext

$OpenBSD: patch-gtkglext_gtkmm_gl_widget_cc,v 1.1.1.1 2012/05/28 09:13:23 bentley Exp $
avoid "error: 'GdkSpanFunc' has not been declared" by including
gtk/gtkglwidget.h before widget.h.
--- gtkglext/gtkmm/gl/widget.cc.orig Sun May 13 23:49:14 2012
+++ gtkglext/gtkmm/gl/widget.cc Sun May 13 23:49:20 2012
@@ -17,9 +17,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-#include <gtk/gtkglwidget.h>
-
#include "widget.h"
+
+#include <gtk/gtkglwidget.h>
namespace Gtk
{