From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-fps/alienarena/files: alienarena-20091227-jpeg8.patch alienarena-20090616-path-overflows.patch |
Date: | Fri, 29 Jan 2010 11:57:42 |
Message-Id: | E1NapTm-0007UI-Nw@stork.gentoo.org |
1 | tupone 10/01/29 11:57:38 |
2 | |
3 | Added: alienarena-20091227-jpeg8.patch |
4 | Removed: alienarena-20090616-path-overflows.patch |
5 | Log: |
6 | Fix build with >=media-libs/jpeg-8 Bug #302093 by Xake |
7 | (Portage version: 2.1.6.13/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.1 games-fps/alienarena/files/alienarena-20091227-jpeg8.patch |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/files/alienarena-20091227-jpeg8.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/alienarena/files/alienarena-20091227-jpeg8.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: alienarena-20091227-jpeg8.patch |
16 | =================================================================== |
17 | --- ref_gl/r_image.c.old 2010-01-29 12:35:29.000000000 +0100 |
18 | +++ ref_gl/r_image.c 2010-01-29 12:37:02.000000000 +0100 |
19 | @@ -572,6 +572,8 @@ |
20 | |
21 | FS_FreeFile (pcx); |
22 | } |
23 | + |
24 | +#if JPEG_LIB_VERSION < 80 |
25 | /* |
26 | ================================================================= |
27 | |
28 | @@ -613,6 +615,7 @@ |
29 | cinfo->src->bytes_in_buffer = len; |
30 | cinfo->src->next_input_byte = mem; |
31 | } |
32 | +#endif |
33 | |
34 | #define DSTATE_START 200 /* after create_decompress */ |
35 | #define DSTATE_INHEADER 201 /* reading header markers, no SOS yet */ |