# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/gsmlib/hotfix.patch # Copyright (C) 2004 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- Accumulated compile fixes. cassert since gcc-3.3 and the template reordering since gcc-3.4. - Juergen G. Sawinsiki <> - Rene Rebe --- gsmlib-1.10/gsmlib/gsm_unix_serial.h~ 2002-09-22 13:51:10.000000000 +0200 +++ gsmlib-1.10/gsmlib/gsm_unix_serial.h 2004-03-14 04:16:26.000000000 +0100 @@ -13,6 +13,7 @@ #ifndef GSM_UNIX_SERIAL_H #define GSM_UNIX_SERIAL_H +#include #include #include #include --- gsmlib-1.10/gsmlib/gsm_map_key.h~ 2002-05-14 21:38:12.000000000 +0200 +++ gsmlib-1.10/gsmlib/gsm_map_key.h 2004-12-29 21:10:45.991761416 +0100 @@ -25,6 +25,16 @@ // wrapper for map key, can access Sortedtore to get sortOrder() + template class MapKey; + + // compare two keys + template + extern bool operator<(const MapKey &x, + const MapKey &y); + template + extern bool operator==(const MapKey &x, + const MapKey &y); + template class MapKey { SortedStore &_myStore; // my store @@ -61,14 +71,6 @@ const MapKey &y); }; - // compare two keys - template - extern bool operator<(const MapKey &x, - const MapKey &y); - template - extern bool operator==(const MapKey &x, - const MapKey &y); - // MapKey members template