openbsd-ports/x11/gtkglextmm/patches/patch-gtkglext_gtkmm_gl_widget_cc

18 lines
514 B
Plaintext
Raw Normal View History

$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
{