summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-05-31 08:42:14 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-05-31 08:42:14 +0000
commitdb7ed9c1a5c6840030e28bee1ae6db99d6dafd8a (patch)
treeefd62b57f5d1fc7937f033f260941d6e36222d9a /media-video
parentSet VARTEXFONTS to something sane here, even if that does not cause sandbox v... (diff)
downloadgentoo-2-db7ed9c1a5c6840030e28bee1ae6db99d6dafd8a.tar.gz
gentoo-2-db7ed9c1a5c6840030e28bee1ae6db99d6dafd8a.tar.bz2
gentoo-2-db7ed9c1a5c6840030e28bee1ae6db99d6dafd8a.zip
Add a patch to fix build failures on altivec ppc, thanks to vapier in bug #224289.
(Portage version: 2.1.5.2)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/vlc/ChangeLog8
-rw-r--r--media-video/vlc/files/0001-Include-altivec.h-before-any-other-vlc-header-as-inc.patch37
-rw-r--r--media-video/vlc/vlc-0.9.0_alpha20080524.ebuild3
3 files changed, 46 insertions, 2 deletions
diff --git a/media-video/vlc/ChangeLog b/media-video/vlc/ChangeLog
index ef02badf7086..dbbe2b51c77e 100644
--- a/media-video/vlc/ChangeLog
+++ b/media-video/vlc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/vlc
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.338 2008/05/31 08:25:25 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.339 2008/05/31 08:42:13 aballier Exp $
+
+ 31 May 2008; Alexis Ballier <aballier@gentoo.org>
+ +files/0001-Include-altivec.h-before-any-other-vlc-header-as-inc.patch,
+ vlc-0.9.0_alpha20080524.ebuild:
+ Add a patch to fix build failures on altivec ppc, thanks to vapier in bug
+ #224289.
31 May 2008; Alexis Ballier <aballier@gentoo.org>
-vlc-0.9.0_alpha20080409.ebuild:
diff --git a/media-video/vlc/files/0001-Include-altivec.h-before-any-other-vlc-header-as-inc.patch b/media-video/vlc/files/0001-Include-altivec.h-before-any-other-vlc-header-as-inc.patch
new file mode 100644
index 000000000000..3331a914cfd3
--- /dev/null
+++ b/media-video/vlc/files/0001-Include-altivec.h-before-any-other-vlc-header-as-inc.patch
@@ -0,0 +1,37 @@
+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
+
diff --git a/media-video/vlc/vlc-0.9.0_alpha20080524.ebuild b/media-video/vlc/vlc-0.9.0_alpha20080524.ebuild
index eedbc58fd120..f1fafd0ef10a 100644
--- a/media-video/vlc/vlc-0.9.0_alpha20080524.ebuild
+++ b/media-video/vlc/vlc-0.9.0_alpha20080524.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-0.9.0_alpha20080524.ebuild,v 1.2 2008/05/25 19:10:31 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-0.9.0_alpha20080524.ebuild,v 1.3 2008/05/31 08:42:13 aballier Exp $
EAPI="1"
@@ -176,6 +176,7 @@ src_unpack() {
cd "${S}"
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
+ epatch "${FILESDIR}/0001-Include-altivec.h-before-any-other-vlc-header-as-inc.patch"
AT_M4DIR="m4 ${WORKDIR}/${PN}-m4" eautoreconf
}