]> git.pld-linux.org Git - packages/celestia.git/blob - celestia-includes.patch
- up to 1.6.4
[packages/celestia.git] / celestia-includes.patch
1 diff -dur -x '*~' celestia-1.6.1.orig/src/celengine/asterism.cpp celestia-1.6.1/src/celengine/asterism.cpp
2 --- celestia-1.6.1.orig/src/celengine/asterism.cpp      2011-06-05 18:11:09.000000000 +0200
3 +++ celestia-1.6.1/src/celengine/asterism.cpp   2015-07-10 19:59:04.239679001 +0200
4 @@ -15,6 +15,7 @@
5  #endif /* TARGET_OS_MAC */
6  #endif /* _WIN32 */
7  
8 +#include <libintl.h>
9  #include <celutil/util.h>
10  #include <celutil/debug.h>
11  #include "parser.h"
12 diff -dur -x '*~' celestia-1.6.1.orig/src/celengine/astro.cpp celestia-1.6.1/src/celengine/astro.cpp
13 --- celestia-1.6.1.orig/src/celengine/astro.cpp 2011-06-05 18:11:09.000000000 +0200
14 +++ celestia-1.6.1/src/celengine/astro.cpp      2015-07-10 19:59:04.243012354 +0200
15 @@ -11,6 +11,7 @@
16  #include <cmath>
17  #include <iomanip>
18  #include <cstdio>
19 +#include <cstring>
20  #include <time.h>
21  #include <celutil/basictypes.h>
22  #include <celmath/mathlib.h>
23 diff -dur -x '*~' celestia-1.6.1.orig/src/celengine/dsodb.cpp celestia-1.6.1/src/celengine/dsodb.cpp
24 --- celestia-1.6.1.orig/src/celengine/dsodb.cpp 2011-06-05 18:11:09.000000000 +0200
25 +++ celestia-1.6.1/src/celengine/dsodb.cpp      2015-07-10 19:59:04.243012354 +0200
26 @@ -14,6 +14,7 @@
27  #include <cstdlib>
28  #include <cstdio>
29  #include <cassert>
30 +#include <libintl.h>
31  #include <algorithm>
32  #include <celmath/mathlib.h>
33  #include <celmath/plane.h>
34 diff -dur -x '*~' celestia-1.6.1.orig/src/celengine/fragmentprog.cpp celestia-1.6.1/src/celengine/fragmentprog.cpp
35 --- celestia-1.6.1.orig/src/celengine/fragmentprog.cpp  2011-06-05 18:11:09.000000000 +0200
36 +++ celestia-1.6.1/src/celengine/fragmentprog.cpp       2015-07-10 19:59:04.243012354 +0200
37 @@ -7,6 +7,7 @@
38  // as published by the Free Software Foundation; either version 2
39  // of the License, or (at your option) any later version.
40  
41 +#include <libintl.h>
42  #include <iostream>
43  #include <fstream>
44  #include <string>
45 diff -dur -x '*~' celestia-1.6.1.orig/src/celengine/galaxy.cpp celestia-1.6.1/src/celengine/galaxy.cpp
46 --- celestia-1.6.1.orig/src/celengine/galaxy.cpp        2011-06-05 18:11:09.000000000 +0200
47 +++ celestia-1.6.1/src/celengine/galaxy.cpp     2015-07-10 19:59:04.243012354 +0200
48 @@ -12,6 +12,8 @@
49  #include <algorithm>
50  #include <cstdio>
51  #include <cassert>
52 +#include <cstring>
53 +#include <libintl.h>
54  #include "celestia.h"
55  #include <celmath/mathlib.h>
56  #include <celmath/perlin.h>
57 diff -dur -x '*~' celestia-1.6.1.orig/src/celengine/image.cpp celestia-1.6.1/src/celengine/image.cpp
58 --- celestia-1.6.1.orig/src/celengine/image.cpp 2011-06-05 18:11:09.000000000 +0200
59 +++ celestia-1.6.1/src/celengine/image.cpp      2015-07-10 19:59:04.243012354 +0200
60 @@ -8,6 +8,7 @@
61  // of the License, or (at your option) any later version.
62  
63  #include <fstream>
64 +#include <cstring>
65  
66  #ifndef TARGET_OS_MAC
67  #define JPEG_SUPPORT
68 diff -dur -x '*~' celestia-1.6.1.orig/src/celengine/location.cpp celestia-1.6.1/src/celengine/location.cpp
69 --- celestia-1.6.1.orig/src/celengine/location.cpp      2011-06-05 18:11:09.000000000 +0200
70 +++ celestia-1.6.1/src/celengine/location.cpp   2015-07-10 19:59:04.243012354 +0200
71 @@ -7,6 +7,7 @@
72  // as published by the Free Software Foundation; either version 2
73  // of the License, or (at your option) any later version.
74  
75 +#include <libintl.h>
76  #include <map>
77  #include <celengine/location.h>
78  #include <celengine/body.h>
79 diff -dur -x '*~' celestia-1.6.1.orig/src/celengine/meshmanager.cpp celestia-1.6.1/src/celengine/meshmanager.cpp
80 --- celestia-1.6.1.orig/src/celengine/meshmanager.cpp   2011-06-05 18:11:09.000000000 +0200
81 +++ celestia-1.6.1/src/celengine/meshmanager.cpp        2015-07-10 19:59:04.243012354 +0200
82 @@ -13,6 +13,7 @@
83  #include <iostream>
84  #include <fstream>
85  #include <cassert>
86 +#include <libintl.h>
87  
88  #include "celestia.h"
89  #include <celutil/debug.h>
90 diff -dur -x '*~' celestia-1.6.1.orig/src/celengine/nebula.cpp celestia-1.6.1/src/celengine/nebula.cpp
91 --- celestia-1.6.1.orig/src/celengine/nebula.cpp        2011-06-05 18:11:09.000000000 +0200
92 +++ celestia-1.6.1/src/celengine/nebula.cpp     2015-07-10 19:59:04.243012354 +0200
93 @@ -8,7 +8,8 @@
94  // of the License, or (at your option) any later version.
95  
96  #include <algorithm>
97 -#include <stdio.h>
98 +#include <cstdio>
99 +#include <libintl.h>
100  #include "celestia.h"
101  #include <celmath/mathlib.h>
102  #include <celutil/util.h>
103 diff -dur -x '*~' celestia-1.6.1.orig/src/celengine/opencluster.cpp celestia-1.6.1/src/celengine/opencluster.cpp
104 --- celestia-1.6.1.orig/src/celengine/opencluster.cpp   2011-06-05 18:11:09.000000000 +0200
105 +++ celestia-1.6.1/src/celengine/opencluster.cpp        2015-07-10 19:59:04.243012354 +0200
106 @@ -8,7 +8,8 @@
107  // of the License, or (at your option) any later version.
108  
109  #include <algorithm>
110 -#include <stdio.h>
111 +#include <cstdio>
112 +#include <libintl.h>
113  #include "celestia.h"
114  #include <celmath/mathlib.h>
115  #include <celutil/util.h>
116 diff -dur -x '*~' celestia-1.6.1.orig/src/celengine/overlay.cpp celestia-1.6.1/src/celengine/overlay.cpp
117 --- celestia-1.6.1.orig/src/celengine/overlay.cpp       2011-06-05 18:11:09.000000000 +0200
118 +++ celestia-1.6.1/src/celengine/overlay.cpp    2015-07-10 19:59:04.243012354 +0200
119 @@ -10,6 +10,7 @@
120  #include <cstring>
121  #include <cstdarg>
122  #include <cstdio>
123 +#include <cstring>
124  #include <celutil/utf8.h>
125  #include "gl.h"
126  #include "vecgl.h"
127 diff -dur -x '*~' celestia-1.6.1.orig/src/celengine/solarsys.cpp celestia-1.6.1/src/celengine/solarsys.cpp
128 --- celestia-1.6.1.orig/src/celengine/solarsys.cpp      2011-06-05 18:11:09.000000000 +0200
129 +++ celestia-1.6.1/src/celengine/solarsys.cpp   2015-07-10 19:59:04.243012354 +0200
130 @@ -19,6 +19,7 @@
131  #endif /* ! TARGET_OS_MAC */
132  #endif /* ! _WIN32 */
133  
134 +#include <libintl.h>
135  #include <celutil/debug.h>
136  #include <celmath/mathlib.h>
137  #include <celutil/util.h>
138 diff -dur -x '*~' celestia-1.6.1.orig/src/celengine/stardb.cpp celestia-1.6.1/src/celengine/stardb.cpp
139 --- celestia-1.6.1.orig/src/celengine/stardb.cpp        2011-06-05 18:11:09.000000000 +0200
140 +++ celestia-1.6.1/src/celengine/stardb.cpp     2015-07-10 19:59:04.243012354 +0200
141 @@ -11,7 +11,9 @@
142  #include <cmath>
143  #include <cstdlib>
144  #include <cstdio>
145 +#include <cstring>
146  #include <cassert>
147 +#include <libintl.h>
148  #include <algorithm>
149  #include <celmath/mathlib.h>
150  #include <celmath/plane.h>
151 diff -dur -x '*~' celestia-1.6.1.orig/src/celengine/texture.cpp celestia-1.6.1/src/celengine/texture.cpp
152 --- celestia-1.6.1.orig/src/celengine/texture.cpp       2011-06-05 18:11:09.000000000 +0200
153 +++ celestia-1.6.1/src/celengine/texture.cpp    2015-07-10 19:59:04.246345706 +0200
154 @@ -22,12 +22,14 @@
155  #endif
156  
157  #include <cmath>
158 +#include <libintl.h>
159  #include <algorithm>
160  #include <iostream>
161  #include <fstream>
162  #include <cstdlib>
163  #include <cstdio>
164  #include <cassert>
165 +#include <cstring>
166  
167  #ifndef _WIN32
168  #ifndef TARGET_OS_MAC
169 diff -dur -x '*~' celestia-1.6.1.orig/src/celengine/vertexprog.cpp celestia-1.6.1/src/celengine/vertexprog.cpp
170 --- celestia-1.6.1.orig/src/celengine/vertexprog.cpp    2011-06-05 18:11:09.000000000 +0200
171 +++ celestia-1.6.1/src/celengine/vertexprog.cpp 2015-07-10 19:59:04.246345706 +0200
172 @@ -7,6 +7,7 @@
173  // as published by the Free Software Foundation; either version 2
174  // of the License, or (at your option) any later version.
175  
176 +#include <libintl.h>
177  #include <iostream>
178  #include <fstream>
179  #include <string>
180 diff -dur -x '*~' celestia-1.6.1.orig/src/celestia/celestiacore.cpp celestia-1.6.1/src/celestia/celestiacore.cpp
181 --- celestia-1.6.1.orig/src/celestia/celestiacore.cpp   2011-06-05 18:11:13.000000000 +0200
182 +++ celestia-1.6.1/src/celestia/celestiacore.cpp        2015-07-10 19:59:04.246345706 +0200
183 @@ -23,6 +23,7 @@
184  #include <cstring>
185  #include <cassert>
186  #include <ctime>
187 +#include <libintl.h>
188  #include <celengine/gl.h>
189  #include <celmath/vecmath.h>
190  #include <celmath/quaternion.h>
191 diff -dur -x '*~' celestia-1.6.1.orig/src/celestia/glutmain.cpp celestia-1.6.1/src/celestia/glutmain.cpp
192 --- celestia-1.6.1.orig/src/celestia/glutmain.cpp       2011-06-05 18:11:13.000000000 +0200
193 +++ celestia-1.6.1/src/celestia/glutmain.cpp    2015-07-10 19:59:04.246345706 +0200
194 @@ -15,6 +15,7 @@
195  #include <cstdlib>
196  #include <cctype>
197  #include <cstring>
198 +#include <libintl.h>
199  #include <time.h>
200  #include <unistd.h>
201  #include <celengine/gl.h>
202 diff -dur -x '*~' celestia-1.6.1.orig/src/celestia/imagecapture.cpp celestia-1.6.1/src/celestia/imagecapture.cpp
203 --- celestia-1.6.1.orig/src/celestia/imagecapture.cpp   2011-06-05 18:11:13.000000000 +0200
204 +++ celestia-1.6.1/src/celestia/imagecapture.cpp        2015-07-10 19:59:25.123132399 +0200
205 @@ -28,6 +28,7 @@
206  #ifdef MACOSX
207  #include "../celestia/Celestia.app.skel/Contents/Frameworks/Headers/png.h"
208  #else
209 +#include <zlib.h>
210  #include "png.h"
211  #endif
212  
213 diff -dur -x '*~' celestia-1.6.1.orig/src/celestia/kde/kdeapp.cpp celestia-1.6.1/src/celestia/kde/kdeapp.cpp
214 --- celestia-1.6.1.orig/src/celestia/kde/kdeapp.cpp     2011-06-05 18:11:13.000000000 +0200
215 +++ celestia-1.6.1/src/celestia/kde/kdeapp.cpp  2015-07-10 19:59:04.246345706 +0200
216 @@ -19,6 +19,7 @@
217  #include <libintl.h>
218  #include <fstream>
219  #include <sstream>
220 +#include <libintl.h>
221  
222  #include <qpushbutton.h>
223  #include <qslider.h>
224 diff -dur -x '*~' celestia-1.6.1.orig/src/celestia/kde/kdeuniquecelestia.cpp celestia-1.6.1/src/celestia/kde/kdeuniquecelestia.cpp
225 --- celestia-1.6.1.orig/src/celestia/kde/kdeuniquecelestia.cpp  2011-06-05 18:11:13.000000000 +0200
226 +++ celestia-1.6.1/src/celestia/kde/kdeuniquecelestia.cpp       2015-07-10 19:59:04.249679059 +0200
227 @@ -20,6 +20,7 @@
228  #include <qdir.h>
229  #include <string>
230  #include <vector>
231 +#include <libintl.h>
232  #include <klocale.h>
233  #include <libintl.h>
234  
235 diff -dur -x '*~' celestia-1.6.1.orig/src/celestia/kde/selectionpopup.cpp celestia-1.6.1/src/celestia/kde/selectionpopup.cpp
236 --- celestia-1.6.1.orig/src/celestia/kde/selectionpopup.cpp     2011-06-05 18:11:13.000000000 +0200
237 +++ celestia-1.6.1/src/celestia/kde/selectionpopup.cpp  2015-07-10 19:59:04.249679059 +0200
238 @@ -20,6 +20,7 @@
239  #include <sstream>
240  #include <fstream>
241  #include <algorithm>
242 +#include <libintl.h>
243  
244  #include "selectionpopup.h"
245  
246 diff -dur -x '*~' celestia-1.6.1.orig/src/celestia/oggtheoracapture.cpp celestia-1.6.1/src/celestia/oggtheoracapture.cpp
247 --- celestia-1.6.1.orig/src/celestia/oggtheoracapture.cpp       2011-06-05 18:11:13.000000000 +0200
248 +++ celestia-1.6.1/src/celestia/oggtheoracapture.cpp    2015-07-10 19:59:04.249679059 +0200
249 @@ -62,6 +62,9 @@
250  #include <cstdlib>
251  #include <cstdio>
252  #include <cmath>
253 +#include <cstring>
254 +#include <ctime>
255 +#include <libintl.h>
256  #include <celutil/debug.h>
257  #include <celutil/util.h>
258  #include "../celengine/gl.h"
259 diff -dur -x '*~' celestia-1.6.1.orig/src/celmath/intersect.h celestia-1.6.1/src/celmath/intersect.h
260 --- celestia-1.6.1.orig/src/celmath/intersect.h 2011-06-05 18:11:15.000000000 +0200
261 +++ celestia-1.6.1/src/celmath/intersect.h      2015-07-10 19:59:04.249679059 +0200
262 @@ -12,6 +12,7 @@
263  #ifndef _CELMATH_INTERSECT_H_
264  #define _CELMATH_INTERSECT_H_
265  
266 +#include "mathlib.h"
267  #include "ray.h"
268  #include "sphere.h"
269  #include "ellipsoid.h"
270 diff -dur -x '*~' celestia-1.6.1.orig/src/celutil/util.cpp celestia-1.6.1/src/celutil/util.cpp
271 --- celestia-1.6.1.orig/src/celutil/util.cpp    2011-06-05 18:11:15.000000000 +0200
272 +++ celestia-1.6.1/src/celutil/util.cpp 2015-07-10 19:59:04.249679059 +0200
273 @@ -12,6 +12,7 @@
274  #include "util.h"
275  #include <sys/types.h>
276  #include <sys/stat.h>
277 +#include <libintl.h>
278  
279  using namespace std;
280  
This page took 0.081687 seconds and 3 git commands to generate.