diff options
Diffstat (limited to 'meta/recipes-devtools/apt/apt-0.7.14/localefixes.patch')
-rw-r--r-- | meta/recipes-devtools/apt/apt-0.7.14/localefixes.patch | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt-0.7.14/localefixes.patch b/meta/recipes-devtools/apt/apt-0.7.14/localefixes.patch new file mode 100644 index 0000000000..80252732e2 --- /dev/null +++ b/meta/recipes-devtools/apt/apt-0.7.14/localefixes.patch | |||
@@ -0,0 +1,91 @@ | |||
1 | Add in missing header includes to resolve compile failures with recent | ||
2 | compiler/glibc combinations. | ||
3 | |||
4 | Upstream-Status: Inappropriate [Resolved upstream] | ||
5 | |||
6 | RP 2011/11/23 | ||
7 | |||
8 | Index: apt-0.7.14/apt-pkg/init.cc | ||
9 | =================================================================== | ||
10 | --- apt-0.7.14.orig/apt-pkg/init.cc 2011-11-23 22:48:53.544637868 +0000 | ||
11 | +++ apt-0.7.14/apt-pkg/init.cc 2011-11-23 22:48:59.456638260 +0000 | ||
12 | @@ -16,6 +16,7 @@ | ||
13 | #include <config.h> | ||
14 | #include <cstdlib> | ||
15 | #include <sys/stat.h> | ||
16 | +#include <locale> | ||
17 | /*}}}*/ | ||
18 | |||
19 | #define Stringfy_(x) # x | ||
20 | Index: apt-0.7.14/cmdline/apt-cache.cc | ||
21 | =================================================================== | ||
22 | --- apt-0.7.14.orig/cmdline/apt-cache.cc 2011-11-23 22:53:29.048631067 +0000 | ||
23 | +++ apt-0.7.14/cmdline/apt-cache.cc 2011-11-23 22:54:15.784616212 +0000 | ||
24 | @@ -32,6 +32,7 @@ | ||
25 | #include <apti18n.h> | ||
26 | |||
27 | #include <locale.h> | ||
28 | +#include <locale> | ||
29 | #include <iostream> | ||
30 | #include <unistd.h> | ||
31 | #include <errno.h> | ||
32 | Index: apt-0.7.14/cmdline/apt-cdrom.cc | ||
33 | =================================================================== | ||
34 | --- apt-0.7.14.orig/cmdline/apt-cdrom.cc 2011-11-23 22:53:29.064631096 +0000 | ||
35 | +++ apt-0.7.14/cmdline/apt-cdrom.cc 2011-11-23 22:53:57.616630261 +0000 | ||
36 | @@ -27,6 +27,7 @@ | ||
37 | //#include "indexcopy.h" | ||
38 | |||
39 | #include <locale.h> | ||
40 | +#include <locale> | ||
41 | #include <iostream> | ||
42 | #include <fstream> | ||
43 | #include <vector> | ||
44 | Index: apt-0.7.14/cmdline/apt-config.cc | ||
45 | =================================================================== | ||
46 | --- apt-0.7.14.orig/cmdline/apt-config.cc 2011-11-23 22:50:16.796635352 +0000 | ||
47 | +++ apt-0.7.14/cmdline/apt-config.cc 2011-11-23 22:50:25.640633906 +0000 | ||
48 | @@ -27,6 +27,7 @@ | ||
49 | #include <locale.h> | ||
50 | #include <iostream> | ||
51 | #include <string> | ||
52 | +#include <locale> | ||
53 | /*}}}*/ | ||
54 | using namespace std; | ||
55 | |||
56 | Index: apt-0.7.14/cmdline/apt-extracttemplates.cc | ||
57 | =================================================================== | ||
58 | --- apt-0.7.14.orig/cmdline/apt-extracttemplates.cc 2011-11-23 22:53:29.080631084 +0000 | ||
59 | +++ apt-0.7.14/cmdline/apt-extracttemplates.cc 2011-11-23 22:53:38.304630439 +0000 | ||
60 | @@ -39,6 +39,7 @@ | ||
61 | #include <config.h> | ||
62 | #include <apti18n.h> | ||
63 | #include "apt-extracttemplates.h" | ||
64 | +#include <locale> | ||
65 | /*}}}*/ | ||
66 | |||
67 | using namespace std; | ||
68 | Index: apt-0.7.14/cmdline/apt-get.cc | ||
69 | =================================================================== | ||
70 | --- apt-0.7.14.orig/cmdline/apt-get.cc 2011-11-23 22:53:29.096631090 +0000 | ||
71 | +++ apt-0.7.14/cmdline/apt-get.cc 2011-11-23 22:53:49.368629452 +0000 | ||
72 | @@ -48,6 +48,7 @@ | ||
73 | |||
74 | #include <set> | ||
75 | #include <locale.h> | ||
76 | +#include <locale> | ||
77 | #include <langinfo.h> | ||
78 | #include <fstream> | ||
79 | #include <termios.h> | ||
80 | Index: apt-0.7.14/cmdline/apt-sortpkgs.cc | ||
81 | =================================================================== | ||
82 | --- apt-0.7.14.orig/cmdline/apt-sortpkgs.cc 2011-11-23 22:52:03.872640247 +0000 | ||
83 | +++ apt-0.7.14/cmdline/apt-sortpkgs.cc 2011-11-23 22:52:10.880638611 +0000 | ||
84 | @@ -27,6 +27,7 @@ | ||
85 | |||
86 | #include <locale.h> | ||
87 | #include <unistd.h> | ||
88 | +#include <locale> | ||
89 | /*}}}*/ | ||
90 | |||
91 | using namespace std; | ||