1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

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.

Contrary to other ports, PORTREVISION was not bumped here because
freemat already depended on glu, we just needed to add a missing
#include.

[1] e7eed096a0

Approved by:	miwi (needed for the Qt 4.8.1 exp-run)
This commit is contained in:
Raphael Kubo da Costa 2012-05-20 14:52:11 +00:00
parent 9a52b47ede
commit 50d2623232
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297031

View File

@ -0,0 +1,11 @@
--- ./libs/libGraphics/GLRenderEngine.cpp~ 2012-05-20 11:26:18.000000000 -0300
+++ ./libs/libGraphics/GLRenderEngine.cpp 2012-05-20 11:26:30.000000000 -0300
@@ -23,6 +23,8 @@
#include <math.h>
#include "IEEEFP.hpp"
+#include <GL/glu.h>
+
GLRenderEngine::GLRenderEngine(QGLWidget *widget, double x1, double y1,
double width, double height) {
m_x1 = x1;