summaryrefslogtreecommitdiffstats
path: root/libraries/qwtplot3d/qwtplot3d-qt-4.8.0.patch
diff options
context:
space:
mode:
author Fellype do Nascimento <fellype(at)gmail.com>2016-12-15 07:34:38 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-16 04:41:21 +0700
commit98e4c1010749f4acb4bcfecea990bc82565453a1 (patch)
tree66eb228b4a57cac23ee8a30e6ed3e497a9ef0d7a /libraries/qwtplot3d/qwtplot3d-qt-4.8.0.patch
parentaac482c0a988ba981c84957b57546dd0e6109125 (diff)
downloadslackbuilds-98e4c1010749f4acb4bcfecea990bc82565453a1.tar.gz
slackbuilds-98e4c1010749f4acb4bcfecea990bc82565453a1.tar.xz
libraries/qwtplot3d: Added (Qt/OpenGL-based C++ library).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/qwtplot3d/qwtplot3d-qt-4.8.0.patch')
-rw-r--r--libraries/qwtplot3d/qwtplot3d-qt-4.8.0.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/libraries/qwtplot3d/qwtplot3d-qt-4.8.0.patch b/libraries/qwtplot3d/qwtplot3d-qt-4.8.0.patch
new file mode 100644
index 0000000000..f675b95275
--- /dev/null
+++ b/libraries/qwtplot3d/qwtplot3d-qt-4.8.0.patch
@@ -0,0 +1,34 @@
+diff -urbN qwtplot3d/include/qwt3d_io_gl2ps.h qwtplot3d.patched/include/qwt3d_io_gl2ps.h
+--- qwtplot3d/include/qwt3d_io_gl2ps.h 2005-07-10 16:54:52.000000000 +0300
++++ qwtplot3d.patched/include/qwt3d_io_gl2ps.h 2012-01-21 22:15:20.000000000 +0200
+@@ -2,12 +2,7 @@
+ #define qwt3d_io_gl2ps_h__2004_05_07_01_16_begin_guarded_code
+
+ #include <time.h>
+-
+-#if QT_VERSION < 0x040000
+-#include <qgl.h>
+-#else
+-#include <QtOpenGL/qgl.h>
+-#endif
++#include <QtOpenGL>
+
+ #include "qwt3d_types.h"
+ #include "qwt3d_io.h"
+diff -urbN qwtplot3d/include/qwt3d_openglhelper.h qwtplot3d.patched/include/qwt3d_openglhelper.h
+--- qwtplot3d/include/qwt3d_openglhelper.h 2005-07-19 17:40:28.000000000 +0300
++++ qwtplot3d.patched/include/qwt3d_openglhelper.h 2012-01-21 22:29:56.000000000 +0200
+@@ -2,11 +2,8 @@
+ #define __openglhelper_2003_06_06_15_49__
+
+ #include "qglobal.h"
+-#if QT_VERSION < 0x040000
+-#include <qgl.h>
+-#else
+-#include <QtOpenGL/qgl.h>
+-#endif
++#include <QtOpenGL>
++#include <GL/glu.h>
+
+ namespace Qwt3D
+ {