From 5c22fe00ac0263e19f5512547a096b91bc3751c1 Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Thu, 2 Feb 2006 12:38:31 +0000 Subject: [PATCH] Stefan Fiedler: gsmlib: patch for gcc40 [2005121800014531120] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@6970 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/public/gsmlib/gcc40.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 package/public/gsmlib/gcc40.patch diff --git a/package/public/gsmlib/gcc40.patch b/package/public/gsmlib/gcc40.patch new file mode 100644 index 000000000..6dff2b194 --- /dev/null +++ b/package/public/gsmlib/gcc40.patch @@ -0,0 +1,26 @@ +This fixes errors like: + +../gsmlib/gsm_map_key.h:78: error: explicit qualification in declaration of `bool gsmlib::operator<(const gsmlib::MapKey&, const gsmlib::MapKey&)' +../gsmlib/gsm_map_key.h:103: error: explicit qualification in declaration of `bool gsmlib::operator==(const gsmlib::MapKey&, const gsmlib::MapKey&)' + +diff -dur gsmlib-1.10/gsmlib/gsm_map_key.h src.gsmlib.1134789323.26631.3587511328/gsmlib-1.10/gsmlib/gsm_map_key.h +--- gsmlib-1.10/gsmlib/gsm_map_key.h 2005-12-17 06:07:15.000000000 +0100 ++++ src.gsmlib.1134789323.26631.3587511328/gsmlib-1.10/gsmlib/gsm_map_key.h 2005-12-17 06:03:02.000000000 +0100 +@@ -74,7 +74,7 @@ + // MapKey members + + template +- bool gsmlib::operator<(const MapKey &x, ++ bool operator<(const MapKey &x, + const MapKey &y) + { + assert(&x._myStore == &y._myStore); +@@ -99,7 +99,7 @@ + } + + template +- bool gsmlib::operator==(const MapKey &x, ++ bool operator==(const MapKey &x, + const MapKey &y) + { + assert(&x._myStore == &y._myStore);