diff options
author | Alexis Ballier <aballier@gentoo.org> | 2006-11-27 20:25:09 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2006-11-27 20:25:09 +0000 |
commit | 3f435984b999e28ac0a55af001194f1645263421 (patch) | |
tree | 01163f7384e6ee9e98f8640b3c14a2cb9c685502 /media-sound/traverso/traverso-0.30.1.ebuild | |
parent | Added herd=voip and fixed some minor problems. (diff) | |
download | gentoo-2-3f435984b999e28ac0a55af001194f1645263421.tar.gz gentoo-2-3f435984b999e28ac0a55af001194f1645263421.tar.bz2 gentoo-2-3f435984b999e28ac0a55af001194f1645263421.zip |
Patch to fix exec stacks with sse asm
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'media-sound/traverso/traverso-0.30.1.ebuild')
-rw-r--r-- | media-sound/traverso/traverso-0.30.1.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/media-sound/traverso/traverso-0.30.1.ebuild b/media-sound/traverso/traverso-0.30.1.ebuild index 6cafefca5d5e..400cdd2e1d4d 100644 --- a/media-sound/traverso/traverso-0.30.1.ebuild +++ b/media-sound/traverso/traverso-0.30.1.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/media-sound/traverso/traverso-0.30.1.ebuild,v 1.3 2006/11/27 06:38:24 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/traverso/traverso-0.30.1.ebuild,v 1.4 2006/11/27 20:25:09 aballier Exp $ inherit eutils qt4 toolchain-funcs @@ -26,6 +26,12 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-nojack.patch" + + # remove exec stacks + mv "${S}/src/engine/sse_functions.s" "${S}/src/engine/sse_functions.S" + epatch "${FILESDIR}/${P}-execstack.patch" + + use jack || sed -ie "s:^\(DEFINES\ +=\ JACK_SUPPORT.*\):#\1:" src/base.pri use alsa || sed -ie "s:^\(DEFINES\ +=\ ALSA_SUPPORT.*\):#\1:" src/base.pri use sse || sed -ie "s:^\(.*DEFINES\ +=\ SSE_OPTIMIZATIONS.*\):#\1:" src/base.pri |