summaryrefslogtreecommitdiff
path: root/math/qalculate-gtk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-05-12 19:16:01 +0000
committerjoerg <joerg@pkgsrc.org>2013-05-12 19:16:01 +0000
commitfea29bf3f8cb5b7dcb4b46cd266c7cfb433f0326 (patch)
tree691362fdb9601e26fe2fd41df9a4b90f2c3c7217 /math/qalculate-gtk
parent002c58ed8b3af0cf9a224a85c135d210fa968570 (diff)
downloadpkgsrc-fea29bf3f8cb5b7dcb4b46cd266c7cfb433f0326.tar.gz
Add const for the compare operator.
Diffstat (limited to 'math/qalculate-gtk')
-rw-r--r--math/qalculate-gtk/distinfo3
-rw-r--r--math/qalculate-gtk/patches/patch-src_callbacks.cc13
2 files changed, 15 insertions, 1 deletions
diff --git a/math/qalculate-gtk/distinfo b/math/qalculate-gtk/distinfo
index f4bee55a76e..768ccb7cf2b 100644
--- a/math/qalculate-gtk/distinfo
+++ b/math/qalculate-gtk/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.11 2010/04/13 17:28:34 drochner Exp $
+$NetBSD: distinfo,v 1.12 2013/05/12 19:16:01 joerg Exp $
SHA1 (qalculate-gtk-0.9.7.tar.gz) = c714c91224045fa49f261686e985df0aefa1d678
RMD160 (qalculate-gtk-0.9.7.tar.gz) = bbb89fbfc6199dcf87666596ee0d7df3019635af
Size (qalculate-gtk-0.9.7.tar.gz) = 1511036 bytes
SHA1 (patch-aa) = bccd5b7385652eaa1d7a85eb5396934c14c73b8a
SHA1 (patch-ac) = 85a5929715916d5fe3c2c213b71e1bf90639c7d4
+SHA1 (patch-src_callbacks.cc) = ff1e0fdd8a9aa2dbbae635f64914afa20ad0007d
diff --git a/math/qalculate-gtk/patches/patch-src_callbacks.cc b/math/qalculate-gtk/patches/patch-src_callbacks.cc
new file mode 100644
index 00000000000..d65dee6a918
--- /dev/null
+++ b/math/qalculate-gtk/patches/patch-src_callbacks.cc
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_callbacks.cc,v 1.1 2013/05/12 19:16:01 joerg Exp $
+
+--- src/callbacks.cc.orig 2013-05-12 18:04:10.000000000 +0000
++++ src/callbacks.cc
+@@ -346,7 +346,7 @@ struct tree_struct {
+ it->sort();
+ }
+ }
+- bool operator < (tree_struct &s1) const {
++ bool operator < (const tree_struct &s1) const {
+ return item < s1.item;
+ }
+ };