diff options
author | joerg <joerg> | 2013-05-12 19:16:01 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-05-12 19:16:01 +0000 |
commit | 1f28beb4b132a0b733c6336c30f21b5d4451ac09 (patch) | |
tree | 691362fdb9601e26fe2fd41df9a4b90f2c3c7217 /math/qalculate-units | |
parent | 6dc55a599ba7e1aab87f1e7ef4b76f0270158a04 (diff) | |
download | pkgsrc-1f28beb4b132a0b733c6336c30f21b5d4451ac09.tar.gz |
Add const for the compare operator.
Diffstat (limited to 'math/qalculate-units')
-rw-r--r-- | math/qalculate-units/distinfo | 3 | ||||
-rw-r--r-- | math/qalculate-units/patches/patch-src_qalcunits.cc | 13 |
2 files changed, 15 insertions, 1 deletions
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; + } + }; |