aboutsummaryrefslogtreecommitdiffstats
path: root/math/qwtplot3d-qt4/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/qwtplot3d-qt4/files')
-rw-r--r--math/qwtplot3d-qt4/files/patch-include__qwt3d_openglhelper.h10
-rw-r--r--math/qwtplot3d-qt4/files/patch-qwtplot3d.pro14
2 files changed, 21 insertions, 3 deletions
diff --git a/math/qwtplot3d-qt4/files/patch-include__qwt3d_openglhelper.h b/math/qwtplot3d-qt4/files/patch-include__qwt3d_openglhelper.h
new file mode 100644
index 000000000000..d24e1eca0ac4
--- /dev/null
+++ b/math/qwtplot3d-qt4/files/patch-include__qwt3d_openglhelper.h
@@ -0,0 +1,10 @@
+--- ./include/qwt3d_openglhelper.h.orig 2012-04-16 21:57:23.639051666 +0000
++++ ./include/qwt3d_openglhelper.h 2012-04-16 21:57:23.713053060 +0000
+@@ -6,6 +6,7 @@
+ #include <qgl.h>
+ #else
+ #include <QtOpenGL/qgl.h>
++#include <GL/glu.h>
+ #endif
+
+ namespace Qwt3D
diff --git a/math/qwtplot3d-qt4/files/patch-qwtplot3d.pro b/math/qwtplot3d-qt4/files/patch-qwtplot3d.pro
index e2ef214a117b..6c363a30330c 100644
--- a/math/qwtplot3d-qt4/files/patch-qwtplot3d.pro
+++ b/math/qwtplot3d-qt4/files/patch-qwtplot3d.pro
@@ -1,5 +1,5 @@
---- ./qwtplot3d.pro.orig Tue Jun 26 18:34:05 2007
-+++ ./qwtplot3d.pro Tue Jun 26 18:34:57 2007
+--- ./qwtplot3d.pro.orig 2012-04-16 21:57:23.562053805 +0000
++++ ./qwtplot3d.pro 2012-04-16 21:58:00.311051941 +0000
@@ -1,9 +1,9 @@
# pro file for building the makefile for qwtplot3d
#
@@ -12,7 +12,15 @@
MOC_DIR = tmp
OBJECTS_DIR = tmp
INCLUDEPATH = include
-@@ -21,7 +21,7 @@
+@@ -11,6 +11,7 @@
+ DESTDIR = lib
+ #DESTDIR = ../../../lib
+ QT += opengl
++unix:LIBS += -lGLU
+
+ win32:TEMPLATE = vclib
+ win32:CONFIG += dll exceptions
+@@ -21,7 +22,7 @@
win32:CONFIG -= zlib
linux-g++:TMAKE_CXXFLAGS += -fno-exceptions