You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-visualization/qtiplot/files/qtiplot-0.9.8.9-qt48.patch

30 lines
984 B

3rdparty/qwtplot3d/include/qwt3d_openglhelper.h | 2 ++
qtiplot/src/plot3D/Cone3D.cpp | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/3rdparty/qwtplot3d/include/qwt3d_openglhelper.h b/3rdparty/qwtplot3d/include/qwt3d_openglhelper.h
index 0ee80de..3d02e3f 100755
--- a/3rdparty/qwtplot3d/include/qwt3d_openglhelper.h
+++ b/3rdparty/qwtplot3d/include/qwt3d_openglhelper.h
@@ -8,6 +8,8 @@
#include <QtOpenGL/qgl.h>
#endif
+#include <GL/glu.h>
+
namespace Qwt3D
{
diff --git a/qtiplot/src/plot3D/Cone3D.cpp b/qtiplot/src/plot3D/Cone3D.cpp
index 16df12d..169d5c7 100755
--- a/qtiplot/src/plot3D/Cone3D.cpp
+++ b/qtiplot/src/plot3D/Cone3D.cpp
@@ -27,6 +27,7 @@
* *
***************************************************************************/
#include <math.h>
+#include <GL/glu.h>
#include "qwt3d_color.h"
#include "qwt3d_plot.h"
#include <qwt3d_curve.h>