--- a 2005-01-04 20:37:28.000000000 +0200 +++ splashutils-0.9_pre10.ebuild 2005-01-12 04:20:24.125289832 +0200 @@ -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/splashutils/splashutils-0.9_pre10.ebuild,v 1.5 2005/01/04 18:35:51 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/splashutils/splashutils-0.9_pre10.ebuild,v 1.51 2005/01/11 21:54:51 ebababi Exp $ MISCSPLASH="miscsplashutils-0.1.2" GENTOOSPLASH="splashutils-gentoo-0.1.2" @@ -16,7 +16,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 amd64" -IUSE="" +IUSE="hardened" RDEPEND=">=media-libs/freetype-2 media-libs/libpng media-libs/jpeg @@ -58,6 +58,11 @@ # this should make this version of splashutils compile with the older kernels sed -e 's@../linux/include/asm/unistd.h@@' -i ${S}/libs/klibc-0.179/klibc/Makefile + # this should make this version of splashutils compile with hardened systems + if use hardened; then + sed -e 's@CFLAGS =@CFLAGS = -fno-stack-protector@' -i ${S}/Makefile + sed -e 's@CFLAGS =@CFLAGS = -fno-stack-protector@' -i ${S}/libs/klibc-0.179/klibc/MCONFIG + fi } src_compile() {