summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Holm <dholm@gentoo.org>2005-06-11 20:31:48 +0000
committerDavid Holm <dholm@gentoo.org>2005-06-11 20:31:48 +0000
commit20d0c4fd0084bc11243eb30d7e8050ceb08f2442 (patch)
tree71f66967ac88ecf9f6c99ff9cfffe9215a8b299c /dev-libs/DirectFB-extra
parentInitial commit for new package (diff)
downloadgentoo-2-20d0c4fd0084bc11243eb30d7e8050ceb08f2442.tar.gz
gentoo-2-20d0c4fd0084bc11243eb30d7e8050ceb08f2442.tar.bz2
gentoo-2-20d0c4fd0084bc11243eb30d7e8050ceb08f2442.zip
Added patch to fix compilation on big endian
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-libs/DirectFB-extra')
-rw-r--r--dev-libs/DirectFB-extra/ChangeLog6
-rw-r--r--dev-libs/DirectFB-extra/DirectFB-extra-0.9.22.ebuild3
-rw-r--r--dev-libs/DirectFB-extra/files/DirectFB-extra-0.9.22-endian.patch12
3 files changed, 19 insertions, 2 deletions
diff --git a/dev-libs/DirectFB-extra/ChangeLog b/dev-libs/DirectFB-extra/ChangeLog
index 1bdcbfe0572f..76604d8c7018 100644
--- a/dev-libs/DirectFB-extra/ChangeLog
+++ b/dev-libs/DirectFB-extra/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/DirectFB-extra
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB-extra/ChangeLog,v 1.9 2005/05/06 00:38:09 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB-extra/ChangeLog,v 1.10 2005/06/11 20:31:48 dholm Exp $
+
+ 11 Jun 2005; David Holm <dholm@gentoo.org>
+ +files/DirectFB-extra-0.9.22-endian.patch, DirectFB-extra-0.9.22.ebuild:
+ Added patch to fix compilation on big endian.
06 May 2005; Sven Wegener <swegener@gentoo.org>
DirectFB-extra-0.9.16.ebuild, DirectFB-extra-0.9.22.ebuild:
diff --git a/dev-libs/DirectFB-extra/DirectFB-extra-0.9.22.ebuild b/dev-libs/DirectFB-extra/DirectFB-extra-0.9.22.ebuild
index 4f8cada83b6e..4a6141c329af 100644
--- a/dev-libs/DirectFB-extra/DirectFB-extra-0.9.22.ebuild
+++ b/dev-libs/DirectFB-extra/DirectFB-extra-0.9.22.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB-extra/DirectFB-extra-0.9.22.ebuild,v 1.2 2005/05/06 00:38:09 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB-extra/DirectFB-extra-0.9.22.ebuild,v 1.3 2005/06/11 20:31:48 dholm Exp $
inherit eutils
@@ -27,6 +27,7 @@ src_unpack() {
sed -i \
-e 's:libmpeg3\.h:libmpeg3/libmpeg3.h:g' \
configure interfaces/IDirectFBVideoProvider/idirectfbvideoprovider_libmpeg3.c
+ epatch ${FILESDIR}/${P}-endian.patch
}
src_compile() {
diff --git a/dev-libs/DirectFB-extra/files/DirectFB-extra-0.9.22-endian.patch b/dev-libs/DirectFB-extra/files/DirectFB-extra-0.9.22-endian.patch
new file mode 100644
index 000000000000..242c328999bd
--- /dev/null
+++ b/dev-libs/DirectFB-extra/files/DirectFB-extra-0.9.22-endian.patch
@@ -0,0 +1,12 @@
+diff -Naur DirectFB-extra-0.9.22.orig/interfaces/IDirectFBVideoProvider/video_out_dfb/video_out_dfb_proc.h DirectFB-extra-0.9.22/interfaces/IDirectFBVideoProvider/video_out_dfb/video_out_dfb_proc.h
+--- DirectFB-extra-0.9.22.orig/interfaces/IDirectFBVideoProvider/video_out_dfb/video_out_dfb_proc.h 2005-06-11 22:20:42.744174472 +0200
++++ DirectFB-extra-0.9.22/interfaces/IDirectFBVideoProvider/video_out_dfb/video_out_dfb_proc.h 2005-06-11 22:21:31.831712032 +0200
+@@ -52,7 +52,7 @@
+ # define YUY2_Y0_SHIFT 16
+ # define YUY2_Y1_SHIFT 0
+ # define YUY2_CB_SHIFT 24
+-# define YUY2_CB_SHIFT 8
++# define YUY2_CR_SHIFT 8
+ # define UYVY_Y0_SHIFT 24
+ # define UYVY_Y1_SHIFT 8
+ # define UYVY_CB_SHIFT 16