* [gentoo-commits] gentoo-x86 commit in net-firewall/arptables: arptables-0.0.3.3-r1.ebuild ChangeLog
@ 2008-10-13 11:13 Peter Volkov (pva)
0 siblings, 0 replies; only message in thread
From: Peter Volkov (pva) @ 2008-10-13 11:13 UTC (permalink / raw
To: gentoo-commits
pva 08/10/13 11:13:26
Modified: arptables-0.0.3.3-r1.ebuild ChangeLog
Log:
Fixed build issue when no optimisation or only -O0 was passed in CFLAGS, bug #240752, thank Diego Pettenò for report.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 i686)
Revision Changes Path
1.5 net-firewall/arptables/arptables-0.0.3.3-r1.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/arptables/arptables-0.0.3.3-r1.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/arptables/arptables-0.0.3.3-r1.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/arptables/arptables-0.0.3.3-r1.ebuild?r1=1.4&r2=1.5
Index: arptables-0.0.3.3-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-firewall/arptables/arptables-0.0.3.3-r1.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- arptables-0.0.3.3-r1.ebuild 16 Dec 2007 10:56:50 -0000 1.4
+++ arptables-0.0.3.3-r1.ebuild 13 Oct 2008 11:13:26 -0000 1.5
@@ -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 @@
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
}
1.14 net-firewall/arptables/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/arptables/ChangeLog?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/arptables/ChangeLog?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/arptables/ChangeLog?r1=1.13&r2=1.14
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-firewall/arptables/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog 9 Jan 2008 13:54:37 -0000 1.13
+++ ChangeLog 13 Oct 2008 11:13:26 -0000 1.14
@@ -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:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-13 11:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-13 11:13 [gentoo-commits] gentoo-x86 commit in net-firewall/arptables: arptables-0.0.3.3-r1.ebuild ChangeLog Peter Volkov (pva)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox