Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/vlc/files: 0001-Include-altivec.h-before-any-other-vlc-header-as-inc.patch
Date: Sat, 31 May 2008 08:42:20
Message-Id: E1K2MfG-0004U3-Ou@stork.gentoo.org
1 aballier 08/05/31 08:42:14
2
3 Added:
4 0001-Include-altivec.h-before-any-other-vlc-header-as-inc.patch
5 Log:
6 Add a patch to fix build failures on altivec ppc, thanks to vapier in bug #224289.
7 (Portage version: 2.1.5.2)
8
9 Revision Changes Path
10 1.1 media-video/vlc/files/0001-Include-altivec.h-before-any-other-vlc-header-as-inc.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/files/0001-Include-altivec.h-before-any-other-vlc-header-as-inc.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/vlc/files/0001-Include-altivec.h-before-any-other-vlc-header-as-inc.patch?rev=1.1&content-type=text/plain
14
15 Index: 0001-Include-altivec.h-before-any-other-vlc-header-as-inc.patch
16 ===================================================================
17 From 8e52e60b3fe3c9f416cbef521367f9e7259c2ed6 Mon Sep 17 00:00:00 2001
18 From: Alexis Ballier <aballier@g.o>
19 Date: Sat, 31 May 2008 10:14:02 +0200
20 Subject: [PATCH] Include altivec.h before any other vlc header as including it after stdbool will cause compile failures as pointed by Mike Frysinger in https://bugs.gentoo.org/show_bug.cgi?id=224289
21
22 ---
23 modules/video_filter/deinterlace.c | 8 ++++----
24 1 files changed, 4 insertions(+), 4 deletions(-)
25
26 diff --git a/modules/video_filter/deinterlace.c b/modules/video_filter/deinterlace.c
27 index 5dc4eeb..e65a7df 100644
28 --- a/modules/video_filter/deinterlace.c
29 +++ b/modules/video_filter/deinterlace.c
30 @@ -30,16 +30,16 @@
31 # include "config.h"
32 #endif
33
34 +#ifdef HAVE_ALTIVEC_H
35 +# include <altivec.h>
36 +#endif
37 +
38 #include <vlc/vlc.h>
39 #include <vlc_plugin.h>
40 #include <vlc_vout.h>
41 #include <vlc_sout.h>
42 #include "vlc_filter.h"
43
44 -#ifdef HAVE_ALTIVEC_H
45 -# include <altivec.h>
46 -#endif
47 -
48 #ifdef CAN_COMPILE_MMXEXT
49 # include "mmx.h"
50 #endif
51 --
52 1.5.5.1
53
54
55
56
57 --
58 gentoo-commits@l.g.o mailing list