summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-08-15 23:08:53 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-08-15 23:08:53 +0000
commitbecd192ac4e9aa20109edb58a092758e28161ba4 (patch)
tree3409b7ea0c6f748b353455d5ab5508429fc7a93e /media-libs
parent mark ~ppc (diff)
downloadgentoo-2-becd192ac4e9aa20109edb58a092758e28161ba4.tar.gz
gentoo-2-becd192ac4e9aa20109edb58a092758e28161ba4.tar.bz2
gentoo-2-becd192ac4e9aa20109edb58a092758e28161ba4.zip
add Debian patch the fixes up the image loading in 1.2.5. Fixes bug #143674
(Portage version: 2.1.1_pre5-r1)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/sdl-image/ChangeLog7
-rw-r--r--media-libs/sdl-image/files/digest-sdl-image-1.2.53
-rw-r--r--media-libs/sdl-image/sdl-image-1.2.5.ebuild11
3 files changed, 18 insertions, 3 deletions
diff --git a/media-libs/sdl-image/ChangeLog b/media-libs/sdl-image/ChangeLog
index 24c308f7adb8..59d2dc008c52 100644
--- a/media-libs/sdl-image/ChangeLog
+++ b/media-libs/sdl-image/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/sdl-image
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/ChangeLog,v 1.25 2006/05/19 18:39:51 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/ChangeLog,v 1.26 2006/08/15 23:08:53 mr_bones_ Exp $
+
+ 15 Aug 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ sdl-image-1.2.5.ebuild:
+ add Debian patch the fixes up the image loading in 1.2.5. Fixes bug #143674
+ and probably others.
*sdl-image-1.2.5 (19 May 2006)
diff --git a/media-libs/sdl-image/files/digest-sdl-image-1.2.5 b/media-libs/sdl-image/files/digest-sdl-image-1.2.5
index 932c24e33b11..a8686610e756 100644
--- a/media-libs/sdl-image/files/digest-sdl-image-1.2.5
+++ b/media-libs/sdl-image/files/digest-sdl-image-1.2.5
@@ -1,3 +1,6 @@
MD5 cd006109a73bf7dcc93e1c3ed15ee782 SDL_image-1.2.5.tar.gz 1308637
RMD160 3dabd3de4259519412e6fdc5c83d268dfa0b1ec0 SDL_image-1.2.5.tar.gz 1308637
SHA256 8a665d136fb17cc9fedcd8e42d21fcab553bd7ab67b6cafea2c6c7efe1adb308 SDL_image-1.2.5.tar.gz 1308637
+MD5 6ba5a176c3f93a1d916e87005d049c28 sdl-image1.2_1.2.5-2.diff.gz 11430
+RMD160 4b34099e5805841ff8ed068155e20b0c91ea21db sdl-image1.2_1.2.5-2.diff.gz 11430
+SHA256 ab4b63f5b459cf0d7505a4f6210c1c5e05175193095ae6d6cd3810ecf71d6176 sdl-image1.2_1.2.5-2.diff.gz 11430
diff --git a/media-libs/sdl-image/sdl-image-1.2.5.ebuild b/media-libs/sdl-image/sdl-image-1.2.5.ebuild
index 905dbaab6e6f..37b72b949387 100644
--- a/media-libs/sdl-image/sdl-image-1.2.5.ebuild
+++ b/media-libs/sdl-image/sdl-image-1.2.5.ebuild
@@ -1,13 +1,14 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/sdl-image-1.2.5.ebuild,v 1.2 2006/07/20 02:04:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/sdl-image-1.2.5.ebuild,v 1.3 2006/08/15 23:08:53 mr_bones_ Exp $
inherit flag-o-matic
MY_P="${P/sdl-/SDL_}"
DESCRIPTION="image file loading library"
HOMEPAGE="http://www.libsdl.org/projects/SDL_image/index.html"
-SRC_URI="http://www.libsdl.org/projects/SDL_image/release/${MY_P}.tar.gz"
+SRC_URI="http://www.libsdl.org/projects/SDL_image/release/${MY_P}.tar.gz
+ mirror://debian/pool/main/s/sdl-image1.2/sdl-image1.2_${PV}-2.diff.gz"
LICENSE="LGPL-2.1"
SLOT="0"
@@ -22,6 +23,12 @@ DEPEND="sys-libs/zlib
S=${WORKDIR}/${MY_P}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${WORKDIR}/sdl-image1.2_${PV}-2.diff"
+}
+
src_compile() {
econf \
$(use_enable gif) \