Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 20 years ago
parent
commit
682382096d
1 changed files with 34 additions and 0 deletions
  1. +34
    -0
      package/rene/gsmlib/gcc33-fix.patch

+ 34
- 0
package/rene/gsmlib/gcc33-fix.patch

@ -8,3 +8,37 @@
#include <string>
#include <gsmlib/gsm_error.h>
#include <gsmlib/gsm_port.h>
--- gsmlib-1.10/gsmlib/gsm_map_key.h.orig Wed May 15 04:38:12 2002
+++ gsmlib-1.10/gsmlib/gsm_map_key.h Wed Aug 18 22:19:20 2004
@@ -25,6 +25,16 @@
// wrapper for map key, can access Sortedtore to get sortOrder()
+ template <class SortedStore> class MapKey;
+
+ // compare two keys
+ template <class SortedStore>
+ extern bool operator<(const MapKey<SortedStore> &x,
+ const MapKey<SortedStore> &y);
+ template <class SortedStore>
+ extern bool operator==(const MapKey<SortedStore> &x,
+ const MapKey<SortedStore> &y);
+
template <class SortedStore> class MapKey
{
SortedStore &_myStore; // my store
@@ -61,14 +71,6 @@
const MapKey<SortedStore> &y);
};
- // compare two keys
- template <class SortedStore>
- extern bool operator<(const MapKey<SortedStore> &x,
- const MapKey<SortedStore> &y);
- template <class SortedStore>
- extern bool operator==(const MapKey<SortedStore> &x,
- const MapKey<SortedStore> &y);
-
// MapKey members
template <class SortedStore>

|||||||
100:0
Loading…
Cancel
Save