- Make it happy with recent gcc update (3.4.4 -> 3.4.6)

This commit is contained in:
Stanislav Sedov 2006-09-24 09:04:22 +00:00
parent d18369b83b
commit 86e145d646
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173692
2 changed files with 18 additions and 4 deletions

View File

@ -16,7 +16,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A library to access GSM mobile phones through GSM modems
USE_GNOME= gnometarget lthack
USE_GETOPT_LONG= yes
USE_GETOPT_LONG=yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

View File

@ -1,5 +1,5 @@
--- gsmlib/gsm_map_key.h.orig Wed May 15 04:38:12 2002
+++ gsmlib/gsm_map_key.h Wed Aug 18 22:19:20 2004
--- gsmlib/gsm_map_key.h.orig Tue May 14 23:38:12 2002
+++ gsmlib/gsm_map_key.h Sun Sep 24 00:37:00 2006
@@ -25,6 +25,16 @@
// wrapper for map key, can access Sortedtore to get sortOrder()
@ -17,7 +17,7 @@
template <class SortedStore> class MapKey
{
SortedStore &_myStore; // my store
@@ -61,14 +71,6 @@
@@ -61,18 +71,10 @@
const MapKey<SortedStore> &y);
};
@ -32,3 +32,17 @@
// MapKey members
template <class SortedStore>
- bool gsmlib::operator<(const MapKey<SortedStore> &x,
+ bool operator<(const MapKey<SortedStore> &x,
const MapKey<SortedStore> &y)
{
assert(&x._myStore == &y._myStore);
@@ -97,7 +99,7 @@
}
template <class SortedStore>
- bool gsmlib::operator==(const MapKey<SortedStore> &x,
+ bool operator==(const MapKey<SortedStore> &x,
const MapKey<SortedStore> &y)
{
assert(&x._myStore == &y._myStore);