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
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')
-rw-r--r--net-misc/l7-protocols/ChangeLog7
-rw-r--r--net-misc/l7-protocols/Manifest5
-rw-r--r--net-misc/l7-protocols/files/l7-protocols-2008.02.20-gcc4.3.patch10
-rw-r--r--net-misc/l7-protocols/l7-protocols-2008.02.20.ebuild12
4 files changed, 27 insertions, 7 deletions
diff --git a/net-misc/l7-protocols/ChangeLog b/net-misc/l7-protocols/ChangeLog
index 4a08bb31e1ab..00b30d38c450 100644
--- a/net-misc/l7-protocols/ChangeLog
+++ b/net-misc/l7-protocols/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/l7-protocols
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/ChangeLog,v 1.53 2008/04/01 06:07:45 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/ChangeLog,v 1.54 2008/04/21 11:09:03 pva Exp $
+
+ 21 Apr 2008; Peter Volkov <pva@gentoo.org>
+ +files/l7-protocols-2008.02.20-gcc4.3.patch,
+ l7-protocols-2008.02.20.ebuild:
+ Fixed compilation with gcc-4.3.
01 Apr 2008; Daniel Black <dragonheart@gentoo.org>
-l7-protocols-2006.06.03.ebuild, -l7-protocols-2007.05.09.ebuild,
diff --git a/net-misc/l7-protocols/Manifest b/net-misc/l7-protocols/Manifest
index b0b3803d5fa8..1e4077652ddc 100644
--- a/net-misc/l7-protocols/Manifest
+++ b/net-misc/l7-protocols/Manifest
@@ -1,6 +1,7 @@
+AUX l7-protocols-2008.02.20-gcc4.3.patch 307 RMD160 6b479f3a50cb0aa421128fa4a9e66f48108bebfc SHA1 a7a127006a97bea80567f73a695a6816cf74657d SHA256 6a22fa11f1b2b8b334b6658f64e63455c5d740ff8053829e79155a2b1dd0ec6a
DIST l7-protocols-2008-01-16.tar.gz 126169 RMD160 186bf01f892dd251ce1fd9a6b0aee986f161ce7b SHA1 7f4e45e37cdcacabb482721675c08d94706b316c SHA256 b5b4e08ca0120a734e61b2f34e595c5188335479eedeb845461c4002624b342a
DIST l7-protocols-2008-02-20.tar.gz 127286 RMD160 e8ce9845063ece9ff089001645124ce325b4bdfb SHA1 aa1dfb9e4a8faf090e92e63a785d8a8c730e0443 SHA256 d5e324b2c23ab2ae52e7ee0e5ca1bc086be112c5add211bbb6ee0c4eb409c779
EBUILD l7-protocols-2008.01.16.ebuild 1709 RMD160 efa3b9143e60edc353e634032a86c2eb4330ff59 SHA1 9d71b5f394378fbb698d2fccc47025b530300a50 SHA256 35eaf19ab1b70487f1dd8ca233374aa2415312c3730b5d36f18fb4bc84bc5d74
-EBUILD l7-protocols-2008.02.20.ebuild 1710 RMD160 91163fac4c3a0b90a2dc087ac4e69f0a5ac2e035 SHA1 19fccfa44eb83c00f72a9ee0ebdc5559994164c4 SHA256 3de3307f183b9cfa34b2f69d102fe1a048f3a22967c052140cecb83130e689db
-MISC ChangeLog 9497 RMD160 0e7a9d42acf96adc4740bbd505c9c580f57adf06 SHA1 46675b450cf08b29cec709345ce85b89e1a0a2a9 SHA256 cd3a37103855ea4917f17fa40fdd4ea0703c1d8d2b229ec8e9ce4b32f5b99b49
+EBUILD l7-protocols-2008.02.20.ebuild 1756 RMD160 861c21c425da1569446e85b611d7836ebed250be SHA1 018a797a700aeb8cfce1f77b2a076c6ed08eb7e9 SHA256 77df8bbd2b070a0c1d26c09b5a4b26c843108958ed6aeea50b67b1264a7b797e
+MISC ChangeLog 9650 RMD160 3c39ce8fe93f367fbcc25343aeb894120af0b2c7 SHA1 3699565a2ab79d38d6fecd0d941ecffc2396c62f SHA256 8fd0601b2930bc75beb95b70d5de79c43bbedad3fd7f6c42f51f57d9256d149f
MISC metadata.xml 676 RMD160 81a7041de3780f239a538bb5e9f87bfd66abb556 SHA1 137e1a4ebec3e18ee0de4d165e83726cb4228b86 SHA256 d5aa51b8332d438acd7fcf8262a92ba09ac656477d9ea14016064af8bcb468fe
diff --git a/net-misc/l7-protocols/files/l7-protocols-2008.02.20-gcc4.3.patch b/net-misc/l7-protocols/files/l7-protocols-2008.02.20-gcc4.3.patch
new file mode 100644
index 000000000000..85453978fd56
--- /dev/null
+++ b/net-misc/l7-protocols/files/l7-protocols-2008.02.20-gcc4.3.patch
@@ -0,0 +1,10 @@
+--- testing/test_speed-userspace.cpp.orig 2008-04-21 14:41:58.000000000 +0400
++++ testing/test_speed-userspace.cpp 2008-04-21 14:42:26.000000000 +0400
+@@ -16,6 +16,7 @@
+ #include <fstream>
+ #include <iostream>
+ #include <sys/types.h>
++#include <stdlib.h>
+ #include "l7-parse-patterns.h"
+
+ #define MAX 1500
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() {