summaryrefslogtreecommitdiff
path: root/misc/marble/patches/patch-src_plugins_render_stars_StarsPlugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'misc/marble/patches/patch-src_plugins_render_stars_StarsPlugin.cpp')
-rw-r--r--misc/marble/patches/patch-src_plugins_render_stars_StarsPlugin.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/misc/marble/patches/patch-src_plugins_render_stars_StarsPlugin.cpp b/misc/marble/patches/patch-src_plugins_render_stars_StarsPlugin.cpp
new file mode 100644
index 00000000000..6d72e7c52d2
--- /dev/null
+++ b/misc/marble/patches/patch-src_plugins_render_stars_StarsPlugin.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_plugins_render_stars_StarsPlugin.cpp,v 1.1 2013/06/24 06:52:52 jperkin Exp $
+
+Avoid 'sun' clash.
+
+--- src/plugins/render/stars/StarsPlugin.cpp.orig 2013-05-03 04:38:26.039168883 +0000
++++ src/plugins/render/stars/StarsPlugin.cpp
+@@ -23,6 +23,8 @@
+ #include "SunLocator.h"
+ #include "ViewportParams.h"
+
++#undef sun
++
+ namespace Marble
+ {
+