diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2006-07-29 07:51:27 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2006-07-29 07:51:27 +0000 |
commit | bf8044a98dff2366c91c5fc410dbf40927b42d9f (patch) | |
tree | fbdc655a9e64ade0dedf6270af5eaa37f5e30c12 /games-emulation/advancemenu/advancemenu-2.4.13.ebuild | |
parent | New nightlie. (diff) | |
download | gentoo-2-bf8044a98dff2366c91c5fc410dbf40927b42d9f.tar.gz gentoo-2-bf8044a98dff2366c91c5fc410dbf40927b42d9f.tar.bz2 gentoo-2-bf8044a98dff2366c91c5fc410dbf40927b42d9f.zip |
add patch for compiling under hardened from advancemame (bug #142021)
(Portage version: 2.1.1_pre3-r5)
Diffstat (limited to 'games-emulation/advancemenu/advancemenu-2.4.13.ebuild')
-rw-r--r-- | games-emulation/advancemenu/advancemenu-2.4.13.ebuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/games-emulation/advancemenu/advancemenu-2.4.13.ebuild b/games-emulation/advancemenu/advancemenu-2.4.13.ebuild index 8be05cd1ffa7..ca09460ca14e 100644 --- a/games-emulation/advancemenu/advancemenu-2.4.13.ebuild +++ b/games-emulation/advancemenu/advancemenu-2.4.13.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemenu/advancemenu-2.4.13.ebuild,v 1.2 2006/07/28 00:57:16 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/advancemenu/advancemenu-2.4.13.ebuild,v 1.3 2006/07/29 07:51:27 mr_bones_ Exp $ inherit eutils games @@ -29,9 +29,16 @@ src_unpack() { unpack ${A} cd "${S}" # gcc4 patch - bug #120712 + # pic patch - bug #142021 epatch \ "${FILESDIR}"/${P}-alsa-pkg-config.patch \ - "${FILESDIR}"/${P}-gcc4.patch + "${FILESDIR}"/${P}-gcc4.patch \ + "${FILESDIR}"/${P}-pic.patch + sed -i \ + -e 's/"-s"//' \ + configure \ + || die "sed failed" + use x86 && ln -s $(which nasm) "${T}/${CHOST}-nasm" use sdl && ln -s $(which sdl-config) "${T}/${CHOST}-sdl-config" use truetype && ln -s $(which freetype-config) "${T}/${CHOST}-freetype-config" @@ -54,7 +61,7 @@ src_compile() { $(use_enable x86 asm) \ $(use_enable zlib) \ || die - emake || die "emake failed" + STRIPPROG=true emake || die "emake failed" } src_install() { |