From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo commit in src/patchsets/vlc/1.0.2: 560_all_kateppc.patch series |
Date: | Fri, 02 Oct 2009 21:41:33 |
Message-Id: | E1MtpsP-0006QZ-Io@stork.gentoo.org |
1 | aballier 09/10/02 21:41:21 |
2 | |
3 | Modified: series |
4 | Added: 560_all_kateppc.patch |
5 | Log: |
6 | fix kate module build on big endian hosts |
7 | |
8 | Revision Changes Path |
9 | 1.5 src/patchsets/vlc/1.0.2/series |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/vlc/1.0.2/series?rev=1.5&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/vlc/1.0.2/series?rev=1.5&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/vlc/1.0.2/series?r1=1.4&r2=1.5 |
14 | |
15 | Index: series |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo/src/patchsets/vlc/1.0.2/series,v |
18 | retrieving revision 1.4 |
19 | retrieving revision 1.5 |
20 | diff -u -r1.4 -r1.5 |
21 | --- series 24 Sep 2009 20:30:33 -0000 1.4 |
22 | +++ series 2 Oct 2009 21:41:21 -0000 1.5 |
23 | @@ -7,3 +7,4 @@ |
24 | 530_all_older_xcb_xv.patch |
25 | 540_all_x264.patch |
26 | 550_all_nofc.patch |
27 | +560_all_kateppc.patch |
28 | |
29 | |
30 | |
31 | 1.1 src/patchsets/vlc/1.0.2/560_all_kateppc.patch |
32 | |
33 | file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/vlc/1.0.2/560_all_kateppc.patch?rev=1.1&view=markup |
34 | plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/vlc/1.0.2/560_all_kateppc.patch?rev=1.1&content-type=text/plain |
35 | |
36 | Index: 560_all_kateppc.patch |
37 | =================================================================== |
38 | commit 9b0fc8211dfa2333a7680afc328ab695d2ba2282 |
39 | Author: Mounir Lamouri (volkmar) <mounir.lamouri@×××××.com> |
40 | Date: Fri Oct 2 23:06:14 2009 +0200 |
41 | |
42 | Fix kate module compilation for Big Endians (typo). |
43 | |
44 | Signed-off-by: Christophe Mutricy <xtophe@××××××××.org> |
45 | |
46 | Index: vlc-1.0.2/modules/codec/kate.c |
47 | =================================================================== |
48 | --- vlc-1.0.2.orig/modules/codec/kate.c |
49 | +++ vlc-1.0.2/modules/codec/kate.c |
50 | @@ -864,7 +864,7 @@ static void PostprocessTigerImage( plane |
51 | if( a ) |
52 | { |
53 | #ifdef WORDS_BIGENDIAN |
54 | - uint8_t tmp = pixel[2]; |
55 | + uint8_t tmp = p_pixel[2]; |
56 | p_pixel[0] = p_pixel[3] * 255 / a; |
57 | p_pixel[3] = a; |
58 | p_pixel[2] = p_pixel[1] * 255 / a; |