freemat (4.0-5) 11_ftbfs_qt48.patch

Summary

 libs/libGraphics/GLRenderEngine.cpp |    1 +
 1 file changed, 1 insertion(+)

    
download this patch

Patch contents

Description: Include glu.h to fix build with qt4.8
Author: Andreas Moog <amoog@ubuntu.com>
Bug-Ubuntu: https://launchpad.net/bugs/935092

--- freemat-4.0.orig/libs/libGraphics/GLRenderEngine.cpp
+++ freemat-4.0/libs/libGraphics/GLRenderEngine.cpp
@@ -22,6 +22,7 @@
 #include <QtOpenGL>
 #include <math.h>
 #include "IEEEFP.hpp"
+#include <GL/glu.h>
 
 GLRenderEngine::GLRenderEngine(QGLWidget *widget, double x1, double y1,
 			       double width, double height) {