diff options
author | joerg <joerg@pkgsrc.org> | 2013-05-12 19:16:01 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-05-12 19:16:01 +0000 |
commit | fea29bf3f8cb5b7dcb4b46cd266c7cfb433f0326 (patch) | |
tree | 691362fdb9601e26fe2fd41df9a4b90f2c3c7217 /math | |
parent | 002c58ed8b3af0cf9a224a85c135d210fa968570 (diff) | |
download | pkgsrc-fea29bf3f8cb5b7dcb4b46cd266c7cfb433f0326.tar.gz |
Add const for the compare operator.
Diffstat (limited to 'math')
-rw-r--r-- | math/qalculate-gtk/distinfo | 3 | ||||
-rw-r--r-- | math/qalculate-gtk/patches/patch-src_callbacks.cc | 13 | ||||
-rw-r--r-- | math/qalculate-kde/distinfo | 3 | ||||
-rw-r--r-- | math/qalculate-kde/patches/patch-src_qalculate__kde__utils.h | 13 | ||||
-rw-r--r-- | math/qalculate-units/distinfo | 3 | ||||
-rw-r--r-- | math/qalculate-units/patches/patch-src_qalcunits.cc | 13 |
6 files changed, 45 insertions, 3 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; + } + }; diff --git a/math/qalculate-kde/distinfo b/math/qalculate-kde/distinfo index 5ab177f2634..125079ad252 100644 --- a/math/qalculate-kde/distinfo +++ b/math/qalculate-kde/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.9 2012/11/23 12:10:29 joerg Exp $ +$NetBSD: distinfo,v 1.10 2013/05/12 19:16:01 joerg Exp $ SHA1 (qalculate-kde-0.9.5.tar.gz) = b8c5ae248d630e18933ac80d873df2ee2e6d5fc9 RMD160 (qalculate-kde-0.9.5.tar.gz) = 1808d53d8f49d7f0222ba2db891391e70ba6d575 Size (qalculate-kde-0.9.5.tar.gz) = 1562344 bytes SHA1 (patch-aa) = 6ee895f1b782d8c06301c74951959a5e0be8b0ba SHA1 (patch-ac) = 0dd571e91b86052b772a892a2581b4ce8bd1feee +SHA1 (patch-src_qalculate__kde__utils.h) = 103332cb3fba479588b28b0841721da77a72aba8 SHA1 (patch-src_qalculateeditfunctiondialog.cpp) = 328e1dff896bee5255a8cf63e13f204d7a58aca2 diff --git a/math/qalculate-kde/patches/patch-src_qalculate__kde__utils.h b/math/qalculate-kde/patches/patch-src_qalculate__kde__utils.h new file mode 100644 index 00000000000..d7391f33841 --- /dev/null +++ b/math/qalculate-kde/patches/patch-src_qalculate__kde__utils.h @@ -0,0 +1,13 @@ +$NetBSD: patch-src_qalculate__kde__utils.h,v 1.1 2013/05/12 19:16:01 joerg Exp $ + +--- src/qalculate_kde_utils.h.orig 2013-05-12 18:16:41.000000000 +0000 ++++ src/qalculate_kde_utils.h +@@ -46,7 +46,7 @@ struct tree_struct { + it->sort(); + } + } +- bool operator < (tree_struct &s1) const { ++ bool operator < (const tree_struct &s1) const { + return item < s1.item; + } + }; diff --git a/math/qalculate-units/distinfo b/math/qalculate-units/distinfo index 78302723ce4..544c20fab1d 100644 --- a/math/qalculate-units/distinfo +++ b/math/qalculate-units/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.6 2009/09/06 15:46:38 asau Exp $ +$NetBSD: distinfo,v 1.7 2013/05/12 19:16:01 joerg Exp $ SHA1 (qalculate-units-0.9.4.tar.gz) = 1a6c124e572671973be9d249aba682e745f01f91 RMD160 (qalculate-units-0.9.4.tar.gz) = 621636ecc487b71a85f7e6f9785e275ed2ac2e17 Size (qalculate-units-0.9.4.tar.gz) = 375642 bytes SHA1 (patch-aa) = b345c2bfdee5c3000ae23f6f77b7ef7e491fa385 SHA1 (patch-ab) = d781007f3efb881c385e57a9ec68dd616b73d0ab +SHA1 (patch-src_qalcunits.cc) = a760fc92653fe969d62935b7b7f93724d204966d diff --git a/math/qalculate-units/patches/patch-src_qalcunits.cc b/math/qalculate-units/patches/patch-src_qalcunits.cc new file mode 100644 index 00000000000..dcaea3e3a34 --- /dev/null +++ b/math/qalculate-units/patches/patch-src_qalcunits.cc @@ -0,0 +1,13 @@ +$NetBSD: patch-src_qalcunits.cc,v 1.1 2013/05/12 19:16:01 joerg Exp $ + +--- src/qalcunits.cc.orig 2013-05-12 18:20:09.000000000 +0000 ++++ src/qalcunits.cc +@@ -81,7 +81,7 @@ struct tree_struct { + it->sort(); + } + } +- bool operator < (tree_struct &s1) const { ++ bool operator < (const tree_struct &s1) const { + return item < s1.item; + } + }; |