summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2008-04-17 13:11:35 +0000
committerMichael Januszewski <spock@gentoo.org>2008-04-17 13:11:35 +0000
commitce9cfffa9a87dcf9afcb3fe178ea4e9a9cb98933 (patch)
treeb6ed7d35a605887767c7e5ae4a63f67801de9b98 /media-gfx/splashutils
parentalpha/ia64/sparc stable wrt #218029 (diff)
downloadgentoo-2-ce9cfffa9a87dcf9afcb3fe178ea4e9a9cb98933.tar.gz
gentoo-2-ce9cfffa9a87dcf9afcb3fe178ea4e9a9cb98933.tar.bz2
gentoo-2-ce9cfffa9a87dcf9afcb3fe178ea4e9a9cb98933.zip
Add a fix for gcc 4.3.0.
(Portage version: 2.1.5_rc4)
Diffstat (limited to 'media-gfx/splashutils')
-rw-r--r--media-gfx/splashutils/ChangeLog6
-rw-r--r--media-gfx/splashutils/files/splashutils-gcc43-fix.patch13
-rw-r--r--media-gfx/splashutils/splashutils-1.5.4-r1.ebuild6
3 files changed, 23 insertions, 2 deletions
diff --git a/media-gfx/splashutils/ChangeLog b/media-gfx/splashutils/ChangeLog
index 5507264cbb95..e5f9398ad59d 100644
--- a/media-gfx/splashutils/ChangeLog
+++ b/media-gfx/splashutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/splashutils
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/ChangeLog,v 1.134 2008/04/11 16:01:15 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/ChangeLog,v 1.135 2008/04/17 13:11:34 spock Exp $
+
+ 17 Apr 2008; Michał Januszewski <spock@gentoo.org>
+ +files/splashutils-gcc43-fix.patch, splashutils-1.5.4-r1.ebuild:
+ Add a fix for gcc 4.3.0.
11 Apr 2008; Michał Januszewski <spock@gentoo.org>
+files/openrc-splash-crash.patch, splashutils-1.5.4-r1.ebuild:
diff --git a/media-gfx/splashutils/files/splashutils-gcc43-fix.patch b/media-gfx/splashutils/files/splashutils-gcc43-fix.patch
new file mode 100644
index 000000000000..518986b3bc84
--- /dev/null
+++ b/media-gfx/splashutils/files/splashutils-gcc43-fix.patch
@@ -0,0 +1,13 @@
+diff --git a/core/libs/Makefile.am b/core/libs/Makefile.am
+index 3b598bf..6675ec1 100644
+--- a/core/libs/Makefile.am
++++ b/core/libs/Makefile.am
+@@ -13,7 +13,7 @@ PNGDEFS = -DPNG_NO_WRITE_TIME -DPNG_NO_FLOATING_POINT_SUPPORTED -DPNG_NO_WRITE_S
+ -DPNG_NO_MMX_CODE
+
+ # Flags for the kernel utilities
+-K_CFLAGS = -Os -w -ffunction-sections -fdata-sections \
++K_CFLAGS = -O2 -w -ffunction-sections -fdata-sections \
+ -DWITH_ERRLIST -DTARGET_KERNEL -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER
+
+ mostlyclean-local: \
diff --git a/media-gfx/splashutils/splashutils-1.5.4-r1.ebuild b/media-gfx/splashutils/splashutils-1.5.4-r1.ebuild
index b1357d7af2cc..83e1e7736c26 100644
--- a/media-gfx/splashutils/splashutils-1.5.4-r1.ebuild
+++ b/media-gfx/splashutils/splashutils-1.5.4-r1.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-gfx/splashutils/splashutils-1.5.4-r1.ebuild,v 1.3 2008/04/11 16:01:15 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/splashutils-1.5.4-r1.ebuild,v 1.4 2008/04/17 13:11:34 spock Exp $
EAPI="1"
@@ -83,6 +83,10 @@ src_unpack() {
sed -i -e 's/fbtruetype kbd/kbd/' "${SM}/Makefile"
fi
+ if [ "$(gcc-version)" == "4.3" ]; then
+ epatch "${FILESDIR}"/splashutils-gcc43-fix.patch
+ fi
+
cd "${SG}"
if has_version sys-apps/openrc ; then
epatch "${FILESDIR}"/openrc-strlist-abi.patch