summaryrefslogtreecommitdiff
path: root/misc/stellarium
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2011-03-02 15:16:27 +0000
committeradam <adam@pkgsrc.org>2011-03-02 15:16:27 +0000
commit0ec9b484b733daf552b168a3b22d0e8ca3316d50 (patch)
tree69e2e1d0289089ade273f59764126d7b93f1cbe0 /misc/stellarium
parent0e06c5989e1227755df91ede186e2daed4c9a9c6 (diff)
downloadpkgsrc-0ec9b484b733daf552b168a3b22d0e8ca3316d50.tar.gz
Fix building with Clang
Diffstat (limited to 'misc/stellarium')
-rw-r--r--misc/stellarium/distinfo3
-rw-r--r--misc/stellarium/patches/patch-plugins_Satellites_src_gsatellite_gMatrixTempl.hpp15
2 files changed, 17 insertions, 1 deletions
diff --git a/misc/stellarium/distinfo b/misc/stellarium/distinfo
index 103755960e5..d1ecddf598a 100644
--- a/misc/stellarium/distinfo
+++ b/misc/stellarium/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2011/01/12 07:22:38 adam Exp $
+$NetBSD: distinfo,v 1.18 2011/03/02 15:16:27 adam Exp $
SHA1 (stellarium-0.10.6.tar.gz) = b28f74d145c89656d9f79b86abe00297a3559cef
RMD160 (stellarium-0.10.6.tar.gz) = 31ba1a9042984939f135195c31f15f0a20021085
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = e7e1042cb674462f43fbb7c6ad5b023e62b54a59
SHA1 (patch-ac) = e9436d4f9f34127f176931dda4665ddc5d6f8bfa
SHA1 (patch-ad) = 5e4912f60fd74a868933e4afe27a67ddb73514a8
SHA1 (patch-ae) = d033aabef7777ad8c7593d067620c7cdd1a8b998
+SHA1 (patch-plugins_Satellites_src_gsatellite_gMatrixTempl.hpp) = 75c4fd20e39ca6c79295f35fd3edd78839babbdc
diff --git a/misc/stellarium/patches/patch-plugins_Satellites_src_gsatellite_gMatrixTempl.hpp b/misc/stellarium/patches/patch-plugins_Satellites_src_gsatellite_gMatrixTempl.hpp
new file mode 100644
index 00000000000..5e68b17916c
--- /dev/null
+++ b/misc/stellarium/patches/patch-plugins_Satellites_src_gsatellite_gMatrixTempl.hpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-plugins_Satellites_src_gsatellite_gMatrixTempl.hpp,v 1.1 2011/03/02 15:16:27 adam Exp $
+
+Fix C++ error.
+
+--- plugins/Satellites/src/gsatellite/gMatrixTempl.hpp.orig 2011-03-02 15:05:50.000000000 +0000
++++ plugins/Satellites/src/gsatellite/gMatrixTempl.hpp
+@@ -50,7 +50,7 @@ public:
+
+ for(size_type i = 0; i < rows; ++i)
+ for(size_type j = 0; j < columns ; ++j)
+- operator[](i)[j] = right[ i][ j];
++ this->operator[](i)[j] = right[ i][ j];
+ }
+
+ size_type Rows() const