ports/graphics/autoq3d/files/patch-src__fgui__glapparea.cpp
Raphael Kubo da Costa cb15105d41 Make the port build with the upcoming Qt 4.8.x series.
Since 4.8.0 [1], Qt itself does not automatically include GLU's
headers and libraries with its OpenGL module, so applications which
relied on Qt to get these need to be adjusted.

PORTREVISION bumped since we now explicitly depend on GLU via
USE_GL=glu.

[1] e7eed096a0
2012-05-20 02:10:15 +00:00

11 lines
311 B
C++

--- src/fgui/glapparea.cpp~ 2012-05-19 22:54:35.000000000 -0300
+++ src/fgui/glapparea.cpp 2012-05-19 22:54:50.000000000 -0300
@@ -24,6 +24,8 @@
#include <qtimer.h>
#include <math.h>
+#include <GL/glu.h>
+
GLAppArea::GLAppArea( QWidget* parent,QStringList* strlista)
: QGLWidget( parent)