diff options
author | Michael Januszewski <spock@gentoo.org> | 2005-12-10 16:58:19 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2005-12-10 16:58:19 +0000 |
commit | 88f0ded4e806f48448da601a8dd2d23e059ce576 (patch) | |
tree | 075b7ecec76a318db18a3adae5a6b11ec2e37bdb /media-gfx/bootsplash | |
parent | Added patch from bug #112706 to actually make it compile on modular xorg. (diff) | |
download | gentoo-2-88f0ded4e806f48448da601a8dd2d23e059ce576.tar.gz gentoo-2-88f0ded4e806f48448da601a8dd2d23e059ce576.tar.bz2 gentoo-2-88f0ded4e806f48448da601a8dd2d23e059ce576.zip |
Added a patch to fix compilation problems with gcc4 (bug #114724).
(Portage version: 2.0.53)
Diffstat (limited to 'media-gfx/bootsplash')
-rw-r--r-- | media-gfx/bootsplash/ChangeLog | 6 | ||||
-rw-r--r-- | media-gfx/bootsplash/bootsplash-0.6.1-r7.ebuild | 12 | ||||
-rw-r--r-- | media-gfx/bootsplash/files/bootsplash-gcc4-fix.patch | 24 | ||||
-rw-r--r-- | media-gfx/bootsplash/files/digest-bootsplash-0.6.1-r7 | 2 |
4 files changed, 39 insertions, 5 deletions
diff --git a/media-gfx/bootsplash/ChangeLog b/media-gfx/bootsplash/ChangeLog index 4a8a296e9d7c..1105c26f6652 100644 --- a/media-gfx/bootsplash/ChangeLog +++ b/media-gfx/bootsplash/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/bootsplash # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/bootsplash/ChangeLog,v 1.60 2005/06/05 12:04:18 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/bootsplash/ChangeLog,v 1.61 2005/12/10 16:58:19 spock Exp $ + + 10 Dec 2005; Michał Januszewski <spock@gentoo.org> + +files/bootsplash-gcc4-fix.patch, bootsplash-0.6.1-r7.ebuild: + Added a patch to fix compilation problems with gcc4 (bug #114724). 05 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> bootsplash-0.6.1-r7.ebuild: diff --git a/media-gfx/bootsplash/bootsplash-0.6.1-r7.ebuild b/media-gfx/bootsplash/bootsplash-0.6.1-r7.ebuild index 2f48c0ae687e..32a993cb103f 100644 --- a/media-gfx/bootsplash/bootsplash-0.6.1-r7.ebuild +++ b/media-gfx/bootsplash/bootsplash-0.6.1-r7.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/media-gfx/bootsplash/bootsplash-0.6.1-r7.ebuild,v 1.6 2005/06/05 12:04:18 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/bootsplash/bootsplash-0.6.1-r7.ebuild,v 1.7 2005/12/10 16:58:19 spock Exp $ inherit eutils @@ -20,7 +20,13 @@ DEPEND=">=media-libs/freetype-2 media-libs/lcms !media-gfx/splashutils" -PATCHS="${FILESDIR}/0.6.1-r7-default_theme.patch" +PATCHES="${FILESDIR}/0.6.1-r7-default_theme.patch" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/bootsplash-gcc4-fix.patch +} src_compile() { # compile utils @@ -37,7 +43,7 @@ src_compile() { src_install() { # applying patchs - epatch ${PATCHS} || die "error applying patch(s) [${PATCHS}]" + epatch ${PATCHES} || die "error applying patch(es) [${PATCHES}]" # Splash utilities exeinto /sbin doexe utils/fbmngplay/fbmngplay{,.static} diff --git a/media-gfx/bootsplash/files/bootsplash-gcc4-fix.patch b/media-gfx/bootsplash/files/bootsplash-gcc4-fix.patch new file mode 100644 index 000000000000..cd57a466ee42 --- /dev/null +++ b/media-gfx/bootsplash/files/bootsplash-gcc4-fix.patch @@ -0,0 +1,24 @@ +diff -uNr bootsplash.old/utils/fbmngplay/mng.c bootsplash/utils/fbmngplay/mng.c +--- utils/fbmngplay/mng.c 2005-12-07 11:53:20.000000000 +0100 ++++ utils/fbmngplay/mng.c 2005-12-07 12:00:20.000000000 +0100 +@@ -226,7 +226,8 @@ + a = a * mymng->alpha / 100; + switch (mymng->fbbpp) { + case 16: +- input = *((unsigned short *) background)++; ++ input = *((unsigned short *) background); ++ background += 2; + + br = (input >> mng->fbredo) << (8-mng->fbredl); + bg = (input >> mng->fbgreeno) << (8-mng->fbgreenl); +@@ -273,7 +274,9 @@ + + output = (r << mng->fbredo) | (g << mng->fbgreeno) | (b << mng->fbblueo); + +- *((unsigned short *) dest)++ = output; ++ *((unsigned short *) dest) = output; ++ dest += 2; ++ + break; + case 24: + *dest++ = b; diff --git a/media-gfx/bootsplash/files/digest-bootsplash-0.6.1-r7 b/media-gfx/bootsplash/files/digest-bootsplash-0.6.1-r7 index 42c1b61a6556..1ff076217525 100644 --- a/media-gfx/bootsplash/files/digest-bootsplash-0.6.1-r7 +++ b/media-gfx/bootsplash/files/digest-bootsplash-0.6.1-r7 @@ -1,3 +1,3 @@ MD5 3ec34e6cc47d7e47825658f1f71e718f bootsplash-core-0.6.1-r6.tar.bz2 130805 -MD5 1d93157ac8796a86cc269b24bb882769 bootsplash-themes-0.6.1.tar.bz2 416892 MD5 61ad5145876db963402bcf166a01f94a bootsplash-kernel-0.6.1-r6.tar.bz2 177574 +MD5 1d93157ac8796a86cc269b24bb882769 bootsplash-themes-0.6.1.tar.bz2 416892 |