summaryrefslogtreecommitdiff
path: root/misc/stellarium
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-05-04 12:59:45 +0000
committerjoerg <joerg@pkgsrc.org>2013-05-04 12:59:45 +0000
commit60d1e1be247c550f5aabec51b492bed1218721b1 (patch)
tree9cbfc1fe003470fab96bf2cf0fa419937d4ce84e /misc/stellarium
parent3473e129f50d5f97b86712e8b70acf80233e296a (diff)
downloadpkgsrc-60d1e1be247c550f5aabec51b492bed1218721b1.tar.gz
Add a bunch of missing includes hidden by libstdc++ namespace pollution.
Diffstat (limited to 'misc/stellarium')
-rw-r--r--misc/stellarium/distinfo6
-rw-r--r--misc/stellarium/patches/patch-src_StelMainGraphicsView.cpp12
-rw-r--r--misc/stellarium/patches/patch-src_core_renderer_StelQGLArrayVertexBufferBackend.cpp13
-rw-r--r--misc/stellarium/patches/patch-src_core_renderer_StelQGLInterleavedArrayVertexBufferBackend.cpp13
-rw-r--r--misc/stellarium/patches/patch-src_main.cpp12
5 files changed, 55 insertions, 1 deletions
diff --git a/misc/stellarium/distinfo b/misc/stellarium/distinfo
index 428db2ffac9..3afcc8c149d 100644
--- a/misc/stellarium/distinfo
+++ b/misc/stellarium/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2013/05/03 16:23:53 drochner Exp $
+$NetBSD: distinfo,v 1.27 2013/05/04 12:59:47 joerg Exp $
SHA1 (stellarium-0.12.1.tar.gz) = 0a7fbe913d4e37e6ff281f81e67dc7831796b41c
RMD160 (stellarium-0.12.1.tar.gz) = 5b0d181388d3e37b285fc2be8953832498d7b8ca
@@ -6,4 +6,8 @@ Size (stellarium-0.12.1.tar.gz) = 74127605 bytes
SHA1 (patch-ab) = 5ecb4a06f44520ec3fb3f17816b1f84dd2bcd28c
SHA1 (patch-ad) = 8257570ab31b25e4b90714125d5b8c7bfebd7240
SHA1 (patch-ae) = e6ee27b2b0914eb25a7e35b58dcadefb0fd349e0
+SHA1 (patch-src_StelMainGraphicsView.cpp) = 4428ce8676784116b39a2e2ea692940f5b2c8f97
SHA1 (patch-src_core_modules_Skybright.cpp) = 7b6369fce6fa77b7007023136d7e8aebafd5c627
+SHA1 (patch-src_core_renderer_StelQGLArrayVertexBufferBackend.cpp) = 8e3ec2e3a279d45aa5175f87780c15bbd8abfdee
+SHA1 (patch-src_core_renderer_StelQGLInterleavedArrayVertexBufferBackend.cpp) = 26ac644af6fe577a9187dc33b574bbf132593ede
+SHA1 (patch-src_main.cpp) = 12f7685cb5672c226576223ee2c86b416864ecc3
diff --git a/misc/stellarium/patches/patch-src_StelMainGraphicsView.cpp b/misc/stellarium/patches/patch-src_StelMainGraphicsView.cpp
new file mode 100644
index 00000000000..ac096b04160
--- /dev/null
+++ b/misc/stellarium/patches/patch-src_StelMainGraphicsView.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_StelMainGraphicsView.cpp,v 1.1 2013/05/04 12:59:47 joerg Exp $
+
+--- src/StelMainGraphicsView.cpp.orig 2013-05-04 00:38:40.000000000 +0000
++++ src/StelMainGraphicsView.cpp
+@@ -41,6 +41,7 @@
+ #include <QtPlugin>
+ #include <QThread>
+ #include <QTimer>
++#include <clocale>
+
+ #ifndef DISABLE_SCRIPTING
+ #include "StelScriptMgr.hpp"
diff --git a/misc/stellarium/patches/patch-src_core_renderer_StelQGLArrayVertexBufferBackend.cpp b/misc/stellarium/patches/patch-src_core_renderer_StelQGLArrayVertexBufferBackend.cpp
new file mode 100644
index 00000000000..f0c44762479
--- /dev/null
+++ b/misc/stellarium/patches/patch-src_core_renderer_StelQGLArrayVertexBufferBackend.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_core_renderer_StelQGLArrayVertexBufferBackend.cpp,v 1.1 2013/05/04 12:59:47 joerg Exp $
+
+--- src/core/renderer/StelQGLArrayVertexBufferBackend.cpp.orig 2013-05-04 00:38:04.000000000 +0000
++++ src/core/renderer/StelQGLArrayVertexBufferBackend.cpp
+@@ -20,7 +20,7 @@
+ #include "StelProjector.hpp"
+ #include "StelQGLArrayVertexBufferBackend.hpp"
+ #include "StelQGLIndexBuffer.hpp"
+-
++#include <cstdlib>
+
+ StelQGLArrayVertexBufferBackend::
+ StelQGLArrayVertexBufferBackend(const PrimitiveType type,
diff --git a/misc/stellarium/patches/patch-src_core_renderer_StelQGLInterleavedArrayVertexBufferBackend.cpp b/misc/stellarium/patches/patch-src_core_renderer_StelQGLInterleavedArrayVertexBufferBackend.cpp
new file mode 100644
index 00000000000..f04e0cf90ac
--- /dev/null
+++ b/misc/stellarium/patches/patch-src_core_renderer_StelQGLInterleavedArrayVertexBufferBackend.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_core_renderer_StelQGLInterleavedArrayVertexBufferBackend.cpp,v 1.1 2013/05/04 12:59:47 joerg Exp $
+
+--- src/core/renderer/StelQGLInterleavedArrayVertexBufferBackend.cpp.orig 2013-05-04 00:37:31.000000000 +0000
++++ src/core/renderer/StelQGLInterleavedArrayVertexBufferBackend.cpp
+@@ -21,7 +21,7 @@
+ #include "StelProjector.hpp"
+ #include "StelQGLInterleavedArrayVertexBufferBackend.hpp"
+ #include "StelQGLIndexBuffer.hpp"
+-
++#include <cstdlib>
+
+ StelQGLInterleavedArrayVertexBufferBackend::
+ StelQGLInterleavedArrayVertexBufferBackend
diff --git a/misc/stellarium/patches/patch-src_main.cpp b/misc/stellarium/patches/patch-src_main.cpp
new file mode 100644
index 00000000000..bafa59e076c
--- /dev/null
+++ b/misc/stellarium/patches/patch-src_main.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_main.cpp,v 1.1 2013/05/04 12:59:47 joerg Exp $
+
+--- src/main.cpp.orig 2013-05-04 00:38:57.000000000 +0000
++++ src/main.cpp
+@@ -36,6 +36,7 @@
+ #ifdef Q_OS_WIN
+ #include <windows.h>
+ #endif //Q_OS_WIN
++#include <clocale>
+
+ //! @class GettextStelTranslator
+ //! Provides i18n support through gettext.