summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-04-21 11:09:04 +0000
committerPeter Volkov <pva@gentoo.org>2008-04-21 11:09:04 +0000
commitcf5cfa9275a58f4da6ff0216682b892233a57e07 (patch)
tree4d7ad1196d1fdc1fc8840ae07f6865b4861513fa /net-misc/l7-protocols/l7-protocols-2008.02.20.ebuild
parentAdded patch for new header location in ffmpeg-0.4.9_p20080326, Bug #218094. F... (diff)
downloadhistorical-cf5cfa9275a58f4da6ff0216682b892233a57e07.tar.gz
historical-cf5cfa9275a58f4da6ff0216682b892233a57e07.tar.bz2
historical-cf5cfa9275a58f4da6ff0216682b892233a57e07.zip
Fixed compilation with gcc-4.3.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-misc/l7-protocols/l7-protocols-2008.02.20.ebuild')
-rw-r--r--net-misc/l7-protocols/l7-protocols-2008.02.20.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/net-misc/l7-protocols/l7-protocols-2008.02.20.ebuild b/net-misc/l7-protocols/l7-protocols-2008.02.20.ebuild
index 9bd467578272..c8d09dfb9ffe 100644
--- a/net-misc/l7-protocols/l7-protocols-2008.02.20.ebuild
+++ b/net-misc/l7-protocols/l7-protocols-2008.02.20.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/l7-protocols-2008.02.20.ebuild,v 1.1 2008/03/04 16:21:44 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/l7-protocols-2008.02.20.ebuild,v 1.2 2008/04/21 11:09:03 pva Exp $
-inherit fixheadtails toolchain-funcs
+inherit eutils fixheadtails toolchain-funcs
IUSE=""
@@ -20,9 +20,13 @@ S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
+
+ cd "${S}"
sed -i -e "s/gcc.*\-o/$(tc-getCC) ${CFLAGS} -o/g" \
- -e "s/g++.*\-o/$(tc-getCXX) ${CXXFLAGS} -o/g" "${S}"/testing/Makefile
- ht_fix_file "${S}"/testing/*.sh
+ -e "s/g++.*\-o/$(tc-getCXX) ${CXXFLAGS} -o/g" testing/Makefile
+ ht_fix_file testing/*.sh
+
+ epatch "${FILESDIR}"/${P}-gcc4.3.patch
}
src_compile() {