OpenSDE Packages Database (without history before r20070)
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.

83 lines
3.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../gsmlib/gcc43.patch
  5. # Copyright (C) 2010 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -ruN gsmlib-1.10-orig/apps/gsmsmsd.cc gsmlib-1.10/apps/gsmsmsd.cc
  17. --- gsmlib-1.10-orig/apps/gsmsmsd.cc 2002-10-03 11:55:15.000000000 +0200
  18. +++ gsmlib-1.10/apps/gsmsmsd.cc 2010-08-25 12:36:42.500283559 +0200
  19. @@ -14,6 +14,7 @@
  20. #include <gsm_config.h>
  21. #endif
  22. #include <gsmlib/gsm_nls.h>
  23. +#include <string.h>
  24. #include <string>
  25. #ifdef WIN32
  26. diff -ruN gsmlib-1.10-orig/gsmlib/gsm_me_ta.cc gsmlib-1.10/gsmlib/gsm_me_ta.cc
  27. --- gsmlib-1.10-orig/gsmlib/gsm_me_ta.cc 2002-10-22 22:48:39.000000000 +0200
  28. +++ gsmlib-1.10/gsmlib/gsm_me_ta.cc 2010-08-25 12:36:42.504279967 +0200
  29. @@ -19,6 +19,8 @@
  30. #include <gsmlib/gsm_parser.h>
  31. #include <gsmlib/gsm_sysdep.h>
  32. +#include <stdlib.h>
  33. +
  34. using namespace std;
  35. using namespace gsmlib;
  36. diff -ruN gsmlib-1.10-orig/gsmlib/gsm_sms_codec.cc gsmlib-1.10/gsmlib/gsm_sms_codec.cc
  37. --- gsmlib-1.10-orig/gsmlib/gsm_sms_codec.cc 2002-09-23 00:09:16.000000000 +0200
  38. +++ gsmlib-1.10/gsmlib/gsm_sms_codec.cc 2010-08-25 12:36:42.500283559 +0200
  39. @@ -18,6 +18,7 @@
  40. #include <gsmlib/gsm_sms_codec.h>
  41. #include <gsmlib/gsm_util.h>
  42. #include <time.h>
  43. +#include <limits.h>
  44. #include <strstream>
  45. #include <iomanip>
  46. #ifdef HAVE_STRING_H
  47. diff -ruN gsmlib-1.10-orig/gsmlib/gsm_sorted_phonebook.cc gsmlib-1.10/gsmlib/gsm_sorted_phonebook.cc
  48. --- gsmlib-1.10-orig/gsmlib/gsm_sorted_phonebook.cc 2002-05-14 21:38:12.000000000 +0200
  49. +++ gsmlib-1.10/gsmlib/gsm_sorted_phonebook.cc 2010-08-25 12:36:42.504279967 +0200
  50. @@ -20,6 +20,7 @@
  51. #include <iostream>
  52. #include <fstream>
  53. #include <limits.h>
  54. +#include <string.h>
  55. const int MAX_LINE_SIZE = 1000;
  56. diff -ruN gsmlib-1.10-orig/gsmlib/gsm_unix_serial.cc gsmlib-1.10/gsmlib/gsm_unix_serial.cc
  57. --- gsmlib-1.10-orig/gsmlib/gsm_unix_serial.cc 2002-09-22 13:51:10.000000000 +0200
  58. +++ gsmlib-1.10/gsmlib/gsm_unix_serial.cc 2010-08-25 12:36:42.500283559 +0200
  59. @@ -21,6 +21,7 @@
  60. #include <iostream>
  61. #include <strstream>
  62. #include <errno.h>
  63. +#include <string.h>
  64. #include <stdio.h>
  65. #include <unistd.h>
  66. #include <sys/ioctl.h>
  67. diff -ruN gsmlib-1.10-orig/gsmlib/gsm_util.cc gsmlib-1.10/gsmlib/gsm_util.cc
  68. --- gsmlib-1.10-orig/gsmlib/gsm_util.cc 2002-09-22 15:41:08.000000000 +0200
  69. +++ gsmlib-1.10/gsmlib/gsm_util.cc 2010-08-25 12:36:42.500283559 +0200
  70. @@ -17,6 +17,7 @@
  71. #include <gsmlib/gsm_util.h>
  72. #include <gsmlib/gsm_sysdep.h>
  73. #include <sys/stat.h>
  74. +#include <stdlib.h>
  75. #include <assert.h>
  76. #include <string.h>
  77. #include <iostream>