Dash:
[t2-trunk.git] / package / network / gsmlib / hotfix-gcc43.patch
blob966dd12c16eee6dc3b096fc24c104f322e092be3
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../gsmlib/gcc43.patch
5 # Copyright (C) 2008 The T2 SDE 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 # --- T2-COPYRIGHT-NOTE-END ---
17 --- gsmlib-1.10/apps/gsmsmsd.cc.vanilla 2008-04-09 14:27:43.000000000 +0000
18 +++ gsmlib-1.10/apps/gsmsmsd.cc 2008-04-09 14:28:08.000000000 +0000
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>
26 #ifdef WIN32
27 --- gsmlib-1.10/gsmlib/gsm_util.cc.vanilla 2008-04-09 14:23:55.000000000 +0000
28 +++ gsmlib-1.10/gsmlib/gsm_util.cc 2008-04-09 14:24:09.000000000 +0000
29 @@ -17,6 +17,7 @@
30 #include <gsmlib/gsm_util.h>
31 #include <gsmlib/gsm_sysdep.h>
32 #include <sys/stat.h>
33 +#include <stdlib.h>
34 #include <assert.h>
35 #include <string.h>
36 #include <iostream>
37 --- gsmlib-1.10/gsmlib/gsm_unix_serial.cc.vanilla 2008-04-09 14:24:19.000000000 +0000
38 +++ gsmlib-1.10/gsmlib/gsm_unix_serial.cc 2008-04-09 14:24:31.000000000 +0000
39 @@ -21,6 +21,7 @@
40 #include <iostream>
41 #include <strstream>
42 #include <errno.h>
43 +#include <string.h>
44 #include <stdio.h>
45 #include <unistd.h>
46 #include <sys/ioctl.h>
47 --- gsmlib-1.10/gsmlib/gsm_sms_codec.cc.vanilla 2008-04-09 14:26:12.000000000 +0000
48 +++ gsmlib-1.10/gsmlib/gsm_sms_codec.cc 2008-04-09 14:26:41.000000000 +0000
49 @@ -18,6 +18,7 @@
50 #include <gsmlib/gsm_sms_codec.h>
51 #include <gsmlib/gsm_util.h>
52 #include <time.h>
53 +#include <limits.h>
54 #include <strstream>
55 #include <iomanip>
56 #ifdef HAVE_STRING_H
57 --- gsmlib-1.10/gsmlib/gsm_sorted_phonebook.cc.vanilla 2008-04-09 14:27:01.000000000 +0000
58 +++ gsmlib-1.10/gsmlib/gsm_sorted_phonebook.cc 2008-04-09 14:27:09.000000000 +0000
59 @@ -20,6 +20,7 @@
60 #include <iostream>
61 #include <fstream>
62 #include <limits.h>
63 +#include <string.h>
65 const int MAX_LINE_SIZE = 1000;
67 --- gsmlib-1.10/gsmlib/gsm_me_ta.cc.vanilla 2008-04-09 14:24:48.000000000 +0000
68 +++ gsmlib-1.10/gsmlib/gsm_me_ta.cc 2008-04-09 14:25:34.000000000 +0000
69 @@ -19,6 +19,8 @@
70 #include <gsmlib/gsm_parser.h>
71 #include <gsmlib/gsm_sysdep.h>
73 +#include <stdlib.h>
75 using namespace std;
76 using namespace gsmlib;