1 |
tupone 15/01/02 17:19:01 |
2 |
|
3 |
Added: openclonk-5.5.1-jpeg9.patch |
4 |
openclonk-5.3.3-jpeg9.patch |
5 |
Log: |
6 |
Build with jpeg-9 Bug #520884 |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0145142D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 games-action/openclonk/files/openclonk-5.5.1-jpeg9.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/openclonk/files/openclonk-5.5.1-jpeg9.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/openclonk/files/openclonk-5.5.1-jpeg9.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: openclonk-5.5.1-jpeg9.patch |
17 |
=================================================================== |
18 |
--- src/graphics/C4SurfaceLoaders.cpp.old 2015-01-02 18:01:35.768676874 +0100 |
19 |
+++ src/graphics/C4SurfaceLoaders.cpp 2015-01-02 18:02:17.705896683 +0100 |
20 |
@@ -303,7 +303,7 @@ |
21 |
// The doc says to give fake end-of-inputs if there is no more data |
22 |
cinfo->src->next_input_byte = &end_of_input; |
23 |
cinfo->src->bytes_in_buffer = 1; |
24 |
- return true; |
25 |
+ return (boolean)true; |
26 |
} |
27 |
static void skip_input_data (j_decompress_ptr cinfo, long num_bytes) |
28 |
{ |
29 |
@@ -354,7 +354,7 @@ |
30 |
blub.term_source = jpeg_noop; |
31 |
|
32 |
// a missing image is an error |
33 |
- jpeg_read_header(&cinfo, true); |
34 |
+ jpeg_read_header(&cinfo, (boolean)true); |
35 |
|
36 |
// Let libjpeg convert for us |
37 |
cinfo.out_color_space = JCS_RGB; |
38 |
|
39 |
|
40 |
|
41 |
1.1 games-action/openclonk/files/openclonk-5.3.3-jpeg9.patch |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/openclonk/files/openclonk-5.3.3-jpeg9.patch?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/openclonk/files/openclonk-5.3.3-jpeg9.patch?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: openclonk-5.3.3-jpeg9.patch |
47 |
=================================================================== |
48 |
--- src/graphics/C4SurfaceLoaders.cpp.old 2015-01-02 17:31:30.976182860 +0100 |
49 |
+++ src/graphics/C4SurfaceLoaders.cpp 2015-01-02 17:31:56.488698202 +0100 |
50 |
@@ -306,7 +306,7 @@ |
51 |
// The doc says to give fake end-of-inputs if there is no more data |
52 |
cinfo->src->next_input_byte = &end_of_input; |
53 |
cinfo->src->bytes_in_buffer = 1; |
54 |
- return true; |
55 |
+ return (boolean)true; |
56 |
} |
57 |
static void skip_input_data (j_decompress_ptr cinfo, long num_bytes) |
58 |
{ |
59 |
@@ -357,7 +357,7 @@ |
60 |
blub.term_source = jpeg_noop; |
61 |
|
62 |
// a missing image is an error |
63 |
- jpeg_read_header(&cinfo, true); |
64 |
+ jpeg_read_header(&cinfo, (boolean)true); |
65 |
|
66 |
// Let libjpeg convert for us |
67 |
cinfo.out_color_space = JCS_RGB; |