summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Blaabjerg <styx@gentoo.org>2002-11-28 19:07:29 +0000
committerJoachim Blaabjerg <styx@gentoo.org>2002-11-28 19:07:29 +0000
commit2eb0f753f7a2f01838de883a00363ec4150cba04 (patch)
tree05ef9f8768ce71268da71a91e7b45047cfd126d6 /media-libs/libsdl
parentset -ppc -sparc -sparc64 -alpha in keywords (diff)
downloadhistorical-2eb0f753f7a2f01838de883a00363ec4150cba04.tar.gz
historical-2eb0f753f7a2f01838de883a00363ec4150cba04.tar.bz2
historical-2eb0f753f7a2f01838de883a00363ec4150cba04.zip
Fixed DirectFB b0rkage, no bump
Diffstat (limited to 'media-libs/libsdl')
-rw-r--r--media-libs/libsdl/ChangeLog6
-rw-r--r--media-libs/libsdl/libsdl-1.2.5.ebuild12
2 files changed, 15 insertions, 3 deletions
diff --git a/media-libs/libsdl/ChangeLog b/media-libs/libsdl/ChangeLog
index 064087239368..6adcd1e81b3d 100644
--- a/media-libs/libsdl/ChangeLog
+++ b/media-libs/libsdl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/libsdl
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/ChangeLog,v 1.12 2002/10/12 20:05:25 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/ChangeLog,v 1.13 2002/11/28 19:07:29 styx Exp $
+
+ 28 Nov 2002; Joachim Blaabjerg <styx@gentoo.org> libsdl-1.2.5.ebuild :
+
+ Added a small sed statement to fix DirectFB b0rkage. No bump.
*libsdl-1.2.5 (12 Oct 2002)
diff --git a/media-libs/libsdl/libsdl-1.2.5.ebuild b/media-libs/libsdl/libsdl-1.2.5.ebuild
index 2b3c49f3a716..5cd258545928 100644
--- a/media-libs/libsdl/libsdl-1.2.5.ebuild
+++ b/media-libs/libsdl/libsdl-1.2.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.5.ebuild,v 1.2 2002/10/16 19:10:17 bjb Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.5.ebuild,v 1.3 2002/11/28 19:07:29 styx Exp $
IUSE="arts xv opengl fbcon aalib nas esd X svga ggi alsa directfb"
@@ -27,7 +27,7 @@ RDEPEND=">=media-libs/audiofile-0.1.9
DEPEND="${RDEPEND}
x86? ( dev-lang/nasm )"
-
+# What's this?
#src_unpack() {
#unpack ${A}
@@ -43,6 +43,14 @@ DEPEND="${RDEPEND}
# SDL_DirectFB_events.c.orig > SDL_DirectFB_events.c
#}
+src_unpack() {
+ unpack ${A}
+ cd ${S}/src/video/directfb
+ cp SDL_DirectFB_video.c SDL_DirectFB_video.c.orig
+ sed -e "s:DICAPS_ALL, ::" SDL_DirectFB_video.c.orig \
+ > SDL_DirectFB_video.c
+}
+
src_compile() {
local myconf