diff options
author | rakuco <rakuco@FreeBSD.org> | 2012-05-20 22:52:11 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2012-05-20 22:52:11 +0800 |
commit | 929334e98ddae6af19986c820d4d17237dcd5a4e (patch) | |
tree | 0b7e26a2d30bd9171e30a4a395e7f0194c0efc01 /math/freemat | |
parent | 3121852ffc2a4815541762ce8bb7d170daa3dbf0 (diff) | |
download | freebsd-ports-gnome-929334e98ddae6af19986c820d4d17237dcd5a4e.tar.gz freebsd-ports-gnome-929334e98ddae6af19986c820d4d17237dcd5a4e.tar.zst freebsd-ports-gnome-929334e98ddae6af19986c820d4d17237dcd5a4e.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)
Diffstat (limited to 'math/freemat')
-rw-r--r-- | math/freemat/files/patch-libs__libGraphics__GLRenderEngine.cpp | 11 |
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; |