From 50d2623232974ab5c9885d5128b24d099190f43f Mon Sep 17 00:00:00 2001 From: Raphael Kubo da Costa Date: Sun, 20 May 2012 14:52:11 +0000 Subject: 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) --- .../freemat/files/patch-libs__libGraphics__GLRenderEngine.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 math/freemat/files/patch-libs__libGraphics__GLRenderEngine.cpp (limited to 'math') 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 + #include "IEEEFP.hpp" + ++#include ++ + GLRenderEngine::GLRenderEngine(QGLWidget *widget, double x1, double y1, + double width, double height) { + m_x1 = x1; -- cgit v1.2.3