1 |
dirtyepic 08/04/20 23:18:18 |
2 |
|
3 |
Added: gsmlib-1.11-gcc43.patch |
4 |
Log: |
5 |
Add GCC 4.3 patch for bug #211314. |
6 |
(Portage version: 2.2_pre5) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 app-mobilephone/gsmlib/files/gsmlib-1.11-gcc43.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gsmlib/files/gsmlib-1.11-gcc43.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gsmlib/files/gsmlib-1.11-gcc43.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: gsmlib-1.11-gcc43.patch |
15 |
=================================================================== |
16 |
diff -Naurp gsmlib-1.11-orig/gsmlib/gsm_me_ta.cc gsmlib-1.11/gsmlib/gsm_me_ta.cc |
17 |
--- gsmlib-1.11-orig/gsmlib/gsm_me_ta.cc 2003-08-26 02:01:36.000000000 -0600 |
18 |
+++ gsmlib-1.11/gsmlib/gsm_me_ta.cc 2008-02-24 15:09:58.000000000 -0600 |
19 |
@@ -19,6 +19,8 @@ |
20 |
#include <gsmlib/gsm_parser.h> |
21 |
#include <gsmlib/gsm_sysdep.h> |
22 |
|
23 |
+#include <cstdlib> |
24 |
+ |
25 |
using namespace std; |
26 |
using namespace gsmlib; |
27 |
|
28 |
diff -Naurp gsmlib-1.11-orig/gsmlib/gsm_sms_codec.cc gsmlib-1.11/gsmlib/gsm_sms_codec.cc |
29 |
--- gsmlib-1.11-orig/gsmlib/gsm_sms_codec.cc 2004-10-27 17:06:06.000000000 -0600 |
30 |
+++ gsmlib-1.11/gsmlib/gsm_sms_codec.cc 2008-02-24 15:10:44.000000000 -0600 |
31 |
@@ -23,6 +23,7 @@ |
32 |
#ifdef HAVE_STRING_H |
33 |
#include <string.h> |
34 |
#endif |
35 |
+#include <climits> |
36 |
#include <string> |
37 |
using namespace std; |
38 |
using namespace gsmlib; |
39 |
diff -Naurp gsmlib-1.11-orig/gsmlib/gsm_util.cc gsmlib-1.11/gsmlib/gsm_util.cc |
40 |
--- gsmlib-1.11-orig/gsmlib/gsm_util.cc 2004-10-27 17:05:53.000000000 -0600 |
41 |
+++ gsmlib-1.11/gsmlib/gsm_util.cc 2008-02-24 15:09:36.000000000 -0600 |
42 |
@@ -35,6 +35,7 @@ |
43 |
#define __USE_GNU |
44 |
#define _GNU_SOURCE |
45 |
#endif |
46 |
+#include <cstdlib> |
47 |
#include <stdio.h> |
48 |
#include <sys/stat.h> |
49 |
|
50 |
diff -Naurp gsmlib-1.11-orig/gsmlib/gsm_unix_serial.cc gsmlib-1.11/gsmlib/gsm_unix_serial.cc |
51 |
--- gsmlib-1.11-orig/gsmlib/gsm_unix_serial.cc 2004-10-27 16:57:35.000000000 -0600 |
52 |
+++ gsmlib-1.11/gsmlib/gsm_unix_serial.cc 2008-02-24 15:19:03.000000000 -0600 |
53 |
@@ -28,6 +28,7 @@ |
54 |
#include <pthread.h> |
55 |
#include <cassert> |
56 |
#include <assert.h> |
57 |
+#include <cstring> |
58 |
|
59 |
using namespace std; |
60 |
using namespace gsmlib; |
61 |
diff -Naurp gsmlib-1.11-orig/gsmlib/gsm_sorted_phonebook.cc gsmlib-1.11/gsmlib/gsm_sorted_phonebook.cc |
62 |
--- gsmlib-1.11-orig/gsmlib/gsm_sorted_phonebook.cc 2002-05-14 13:38:12.000000000 -0600 |
63 |
+++ gsmlib-1.11/gsmlib/gsm_sorted_phonebook.cc 2008-02-24 15:22:52.000000000 -0600 |
64 |
@@ -20,6 +20,7 @@ |
65 |
#include <iostream> |
66 |
#include <fstream> |
67 |
#include <limits.h> |
68 |
+#include <cstring> |
69 |
|
70 |
const int MAX_LINE_SIZE = 1000; |
71 |
|
72 |
diff -Naurp gsmlib-1.11-orig/apps/gsmsmsd.cc gsmlib-1.11/apps/gsmsmsd.cc |
73 |
--- gsmlib-1.11-orig/apps/gsmsmsd.cc 2003-08-26 00:47:47.000000000 -0600 |
74 |
+++ gsmlib-1.11/apps/gsmsmsd.cc 2008-02-24 15:25:54.000000000 -0600 |
75 |
@@ -40,6 +40,7 @@ |
76 |
#include <iostream> |
77 |
#include <gsmlib/gsm_me_ta.h> |
78 |
#include <gsmlib/gsm_event.h> |
79 |
+#include <cstring> |
80 |
|
81 |
using namespace std; |
82 |
using namespace gsmlib; |
83 |
|
84 |
|
85 |
|
86 |
-- |
87 |
gentoo-commits@l.g.o mailing list |