summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-10-13 11:13:26 +0000
committerPeter Volkov <pva@gentoo.org>2008-10-13 11:13:26 +0000
commit7ecb51ac8d0ac5054fa6bc0c3667f4bc3fb80efd (patch)
treec71bbff92a0d4869f553dd9bf592a680ba5eddc0 /net-firewall
parentarm stable wrt #241642 (diff)
downloadhistorical-7ecb51ac8d0ac5054fa6bc0c3667f4bc3fb80efd.tar.gz
historical-7ecb51ac8d0ac5054fa6bc0c3667f4bc3fb80efd.tar.bz2
historical-7ecb51ac8d0ac5054fa6bc0c3667f4bc3fb80efd.zip
Fixed build issue when no optimisation or only -O0 was passed in CFLAGS, bug #240752, thank Diego Pettenò for report.
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 i686
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/arptables/ChangeLog6
-rw-r--r--net-firewall/arptables/Manifest4
-rw-r--r--net-firewall/arptables/arptables-0.0.3.3-r1.ebuild9
3 files changed, 12 insertions, 7 deletions
diff --git a/net-firewall/arptables/ChangeLog b/net-firewall/arptables/ChangeLog
index 63cffa142ed9..c763f7b994c7 100644
--- a/net-firewall/arptables/ChangeLog
+++ b/net-firewall/arptables/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-firewall/arptables
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/arptables/ChangeLog,v 1.13 2008/01/09 13:54:37 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/arptables/ChangeLog,v 1.14 2008/10/13 11:13:26 pva Exp $
+
+ 13 Oct 2008; Peter Volkov <pva@gentoo.org> arptables-0.0.3.3-r1.ebuild:
+ Fixed build issue when no optimisation or only -O0 was passed in CFLAGS,
+ bug #240752, thank Diego Pettenò for report.
09 Jan 2008; <pva@gentoo.org> -arptables-0.0.3.ebuild,
-arptables-0.0.3.3.ebuild:
diff --git a/net-firewall/arptables/Manifest b/net-firewall/arptables/Manifest
index 7dd674ac4aba..f6192543a1d9 100644
--- a/net-firewall/arptables/Manifest
+++ b/net-firewall/arptables/Manifest
@@ -1,4 +1,4 @@
DIST arptables-v0.0.3-3.tar.gz 43903 RMD160 227712bd8b6aa7baa6059b4bd7aa11692f101dec SHA1 ebcd8cc84671fddc73d23b59f767f37af7f437ac SHA256 5fe63803a843f8c3d0c7047d8a7d78cb66fed278832090c0f2a42b97de33940f
-EBUILD arptables-0.0.3.3-r1.ebuild 850 RMD160 88a093345fe4f9917287b12a16936e5bb59541f0 SHA1 d0bb83cccd8aba7e112eb613eae4137894ded2eb SHA256 eaabb075568d03ce6c2f5c0838c108e89b0e560189e1afec1c2381f4360be8cd
-MISC ChangeLog 1964 RMD160 5449f3a74a47477e82587c84ae63ed72006c2c25 SHA1 013a367793ba5c10387e9fcff18aec5c22e5569b SHA256 4983fb0cb4878144dc5c8cf4a0cb30bc00404699a050fe2260de481addfdeed3
+EBUILD arptables-0.0.3.3-r1.ebuild 932 RMD160 099cb2db51020ba9e0fd3a627eb74644ef5d99a7 SHA1 26db1f9b899ffdc52543c7c1b834151d71fa62a2 SHA256 ea8c8ff2429a4d4d3b9a27589185d1ee87e0782b93ee38bf0e70d23e8af77b87
+MISC ChangeLog 2162 RMD160 0a43cd3632bba751511b8d85f0648053cd2a4b34 SHA1 9daf65f5edb448bb73d861c56bb438412a8ce9be SHA256 76eaa0b5537f4fa16af18acc35294f2ea3c16237fd95ede32a8fd668575eea36
MISC metadata.xml 251 RMD160 2acabb95dba06572ab5dfd2a6d7bca5ab53d7a64 SHA1 6bf96c40f48fb4f92026dd80b7b3e1ce7ebdc9d1 SHA256 8d646b2f01acd31f9bc065850081adfa7f1dfabd8e305e05331fc6d21cbbd504
diff --git a/net-firewall/arptables/arptables-0.0.3.3-r1.ebuild b/net-firewall/arptables/arptables-0.0.3.3-r1.ebuild
index ec367623d73f..5136bf23a47e 100644
--- a/net-firewall/arptables/arptables-0.0.3.3-r1.ebuild
+++ b/net-firewall/arptables/arptables-0.0.3.3-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/arptables/arptables-0.0.3.3-r1.ebuild,v 1.4 2007/12/16 10:56:50 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/arptables/arptables-0.0.3.3-r1.ebuild,v 1.5 2008/10/13 11:13:26 pva Exp $
inherit versionator eutils
@@ -18,13 +18,14 @@ IUSE=""
S=${WORKDIR}/${MY_P}
src_compile() {
- emake CC="$(tc-getCC)" COPT_FLAGS="${CFLAGS}" || die "make failed"
+ # -O0 does not work and at least -O2 is required, bug #240752
+ emake CC="$(tc-getCC)" COPT_FLAGS="-O2 ${CFLAGS//-O0/-O2}" || die "make failed"
sed -ie 's:__EXEC_PATH__:/sbin:g' arptables-save arptables-restore \
|| die "sed failed"
}
src_install() {
into /
- dosbin arptables arptables-restore arptables-save
+ dosbin arptables arptables-restore arptables-save || die
doman arptables.8
}