public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-video/vlc/files: 0001-Include-altivec.h-before-any-other-vlc-header-as-inc.patch
@ 2008-05-31  8:42 Alexis Ballier (aballier)
  0 siblings, 0 replies; only message in thread
From: Alexis Ballier (aballier) @ 2008-05-31  8:42 UTC (permalink / raw
  To: gentoo-commits

aballier    08/05/31 08:42:14

  Added:               
                        0001-Include-altivec.h-before-any-other-vlc-header-as-inc.patch
  Log:
  Add a patch to fix build failures on altivec ppc, thanks to vapier in bug #224289.
  (Portage version: 2.1.5.2)

Revision  Changes    Path
1.1                  media-video/vlc/files/0001-Include-altivec.h-before-any-other-vlc-header-as-inc.patch

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
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

Index: 0001-Include-altivec.h-before-any-other-vlc-header-as-inc.patch
===================================================================
From 8e52e60b3fe3c9f416cbef521367f9e7259c2ed6 Mon Sep 17 00:00:00 2001
From: Alexis Ballier <aballier@gentoo.org>
Date: Sat, 31 May 2008 10:14:02 +0200
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

---
 modules/video_filter/deinterlace.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/video_filter/deinterlace.c b/modules/video_filter/deinterlace.c
index 5dc4eeb..e65a7df 100644
--- a/modules/video_filter/deinterlace.c
+++ b/modules/video_filter/deinterlace.c
@@ -30,16 +30,16 @@
 # include "config.h"
 #endif
 
+#ifdef HAVE_ALTIVEC_H
+#   include <altivec.h>
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc_plugin.h>
 #include <vlc_vout.h>
 #include <vlc_sout.h>
 #include "vlc_filter.h"
 
-#ifdef HAVE_ALTIVEC_H
-#   include <altivec.h>
-#endif
-
 #ifdef CAN_COMPILE_MMXEXT
 #   include "mmx.h"
 #endif
-- 
1.5.5.1




-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-31  8:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-31  8:42 [gentoo-commits] gentoo-x86 commit in media-video/vlc/files: 0001-Include-altivec.h-before-any-other-vlc-header-as-inc.patch Alexis Ballier (aballier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox