pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/gsmlib Fix C++ to work with GCC 3.4+.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/072d9d561c55
branches:  trunk
changeset: 527041:072d9d561c55
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Mar 24 00:03:30 2007 +0000

description:
Fix C++ to work with GCC 3.4+.

diffstat:

 comms/gsmlib/distinfo         |   4 ++--
 comms/gsmlib/patches/patch-ab |  22 +++++++++++++++++++++-
 2 files changed, 23 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r c5793d21cb47 -r 072d9d561c55 comms/gsmlib/distinfo
--- a/comms/gsmlib/distinfo     Fri Mar 23 23:52:17 2007 +0000
+++ b/comms/gsmlib/distinfo     Sat Mar 24 00:03:30 2007 +0000
@@ -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 -r c5793d21cb47 -r 072d9d561c55 comms/gsmlib/patches/patch-ab
--- a/comms/gsmlib/patches/patch-ab     Fri Mar 23 23:52:17 2007 +0000
+++ b/comms/gsmlib/patches/patch-ab     Sat Mar 24 00:03:30 2007 +0000
@@ -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 @@
    };
  
    // 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);
+ 



Home | Main Index | Thread Index | Old Index