mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.3 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/public/gsmlib/gcc34.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- gsmlib-1.10/gsmlib/gsm_unix_serial.h~ 2002-09-22 13:51:10.000000000 +0200
  20. +++ gsmlib-1.10/gsmlib/gsm_unix_serial.h 2004-03-14 04:16:26.000000000 +0100
  21. @@ -13,6 +13,7 @@
  22. #ifndef GSM_UNIX_SERIAL_H
  23. #define GSM_UNIX_SERIAL_H
  24. +#include <cassert>
  25. #include <string>
  26. #include <gsmlib/gsm_error.h>
  27. #include <gsmlib/gsm_port.h>
  28. --- gsmlib-1.10/gsmlib/gsm_map_key.h.orig Wed May 15 04:38:12 2002
  29. +++ gsmlib-1.10/gsmlib/gsm_map_key.h Wed Aug 18 22:19:20 2004
  30. @@ -25,6 +25,16 @@
  31. // wrapper for map key, can access Sortedtore to get sortOrder()
  32. + template <class SortedStore> class MapKey;
  33. +
  34. + // compare two keys
  35. + template <class SortedStore>
  36. + extern bool operator<(const MapKey<SortedStore> &x,
  37. + const MapKey<SortedStore> &y);
  38. + template <class SortedStore>
  39. + extern bool operator==(const MapKey<SortedStore> &x,
  40. + const MapKey<SortedStore> &y);
  41. +
  42. template <class SortedStore> class MapKey
  43. {
  44. SortedStore &_myStore; // my store
  45. @@ -61,14 +71,6 @@
  46. const MapKey<SortedStore> &y);
  47. };
  48. - // compare two keys
  49. - template <class SortedStore>
  50. - extern bool operator<(const MapKey<SortedStore> &x,
  51. - const MapKey<SortedStore> &y);
  52. - template <class SortedStore>
  53. - extern bool operator==(const MapKey<SortedStore> &x,
  54. - const MapKey<SortedStore> &y);
  55. -
  56. // MapKey members
  57. template <class SortedStore>