summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-03-24 00:03:30 +0000
committerjoerg <joerg@pkgsrc.org>2007-03-24 00:03:30 +0000
commitaac3a41f1865068fab61c5602f85b2bc188696e9 (patch)
tree21c2d997c0f3ec5f2d17026acdc925634159fb90 /comms
parent5c59552d6100a2ae3ec78cb25c285d53b86c22c3 (diff)
downloadpkgsrc-aac3a41f1865068fab61c5602f85b2bc188696e9.tar.gz
Fix C++ to work with GCC 3.4+.
Diffstat (limited to 'comms')
-rw-r--r--comms/gsmlib/distinfo4
-rw-r--r--comms/gsmlib/patches/patch-ab22
2 files changed, 23 insertions, 3 deletions
diff --git a/comms/gsmlib/distinfo b/comms/gsmlib/distinfo
index 38dd93037c5..351c5fea3eb 100644
--- a/comms/gsmlib/distinfo
+++ b/comms/gsmlib/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2005/12/23 16:59:46 joerg Exp $
+$NetBSD: distinfo,v 1.6 2007/03/24 00:03:30 joerg Exp $
SHA1 (gsmlib-1.10.tar.gz) = 0f329f6185c0dd5221f85ee0af7d95dea23bed8f
RMD160 (gsmlib-1.10.tar.gz) = 8abd1cdb4b61ddbb6fffd3a4100edcc0f079b845
Size (gsmlib-1.10.tar.gz) = 474591 bytes
SHA1 (patch-aa) = 9b86282d92c91bdc017f6966471de4b3621cf8b5
-SHA1 (patch-ab) = 62f236e4fc130a4c8ecaab50d84043006366b3bb
+SHA1 (patch-ab) = 3bfec0d0a3d82c7918e25bc46e83387203b5782b
diff --git a/comms/gsmlib/patches/patch-ab b/comms/gsmlib/patches/patch-ab
index ec6942018b8..811b506e5d0 100644
--- a/comms/gsmlib/patches/patch-ab
+++ b/comms/gsmlib/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.1 2005/12/23 16:59:46 joerg Exp $
+$NetBSD: patch-ab,v 1.2 2007/03/24 00:03:30 joerg Exp $
--- gsmlib/gsm_map_key.h.orig 2002-05-14 19:38:12.000000000 +0000
+++ gsmlib/gsm_map_key.h
@@ -29,3 +29,23 @@ $NetBSD: patch-ab,v 1.1 2005/12/23 16:59:46 joerg Exp $
};
// compare two keys
+@@ -72,8 +64,7 @@ namespace gsmlib
+ // MapKey members
+
+ template <class SortedStore>
+- bool gsmlib::operator<(const MapKey<SortedStore> &x,
+- const MapKey<SortedStore> &y)
++ bool operator<(const MapKey<SortedStore> &x, const MapKey<SortedStore> &y)
+ {
+ assert(&x._myStore == &y._myStore);
+
+@@ -97,8 +88,7 @@ namespace gsmlib
+ }
+
+ template <class SortedStore>
+- bool gsmlib::operator==(const MapKey<SortedStore> &x,
+- const MapKey<SortedStore> &y)
++ bool operator==(const MapKey<SortedStore> &x, const MapKey<SortedStore> &y)
+ {
+ assert(&x._myStore == &y._myStore);
+