aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-05-20 14:52:11 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-05-20 14:52:11 +0000
commit50d2623232974ab5c9885d5128b24d099190f43f (patch)
treeeda2f2f42647c39daf497404b5690fbbc8c5374b /math
parent9a52b47edea204c7072ba9d9c2b2ca1a57b1a4fd (diff)
downloadports-50d2623232974ab5c9885d5128b24d099190f43f.tar.gz
ports-50d2623232974ab5c9885d5128b24d099190f43f.zip
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] http://qt.gitorious.org/qt/qt/commit/e7eed096a0c33607a7a37baaf06e5952dc9d556b Approved by: miwi (needed for the Qt 4.8.1 exp-run)
Notes
Notes: svn path=/head/; revision=297031
Diffstat (limited to 'math')
-rw-r--r--math/freemat/files/patch-libs__libGraphics__GLRenderEngine.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/freemat/files/patch-libs__libGraphics__GLRenderEngine.cpp b/math/freemat/files/patch-libs__libGraphics__GLRenderEngine.cpp
new file mode 100644
index 000000000000..153edcda4f82
--- /dev/null
+++ b/math/freemat/files/patch-libs__libGraphics__GLRenderEngine.cpp
@@ -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;