summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-01-06 21:19:02 +0000
committerMike Frysinger <vapier@gentoo.org>2011-01-06 21:19:02 +0000
commitea21d4dda50c54374dc5131d1cffa5e557e0c0b2 (patch)
tree0a13f88a9d10de8b42ff6a5bc2ca42a5db82987c /net-misc
parentVersion Bump (diff)
downloadgentoo-2-ea21d4dda50c54374dc5131d1cffa5e557e0c0b2.tar.gz
gentoo-2-ea21d4dda50c54374dc5131d1cffa5e557e0c0b2.tar.bz2
gentoo-2-ea21d4dda50c54374dc5131d1cffa5e557e0c0b2.zip
Add -fno-strict-aliasing for older versions since the issue has been fixed in newer releases.
(Portage version: 2.2.0_alpha13/cvs/Linux x86_64)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/ntp/ChangeLog7
-rw-r--r--net-misc/ntp/ntp-4.2.4_p7-r1.ebuild7
-rw-r--r--net-misc/ntp/ntp-4.2.6_p2-r1.ebuild7
3 files changed, 16 insertions, 5 deletions
diff --git a/net-misc/ntp/ChangeLog b/net-misc/ntp/ChangeLog
index 168af747c031..553552900982 100644
--- a/net-misc/ntp/ChangeLog
+++ b/net-misc/ntp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/ntp
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ChangeLog,v 1.163 2011/01/04 21:27:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ChangeLog,v 1.164 2011/01/06 21:19:02 vapier Exp $
+
+ 06 Jan 2011; Mike Frysinger <vapier@gentoo.org> ntp-4.2.4_p7-r1.ebuild,
+ ntp-4.2.6_p2-r1.ebuild:
+ Add -fno-strict-aliasing for older versions since the issue has been fixed
+ in newer releases.
*ntp-4.2.6_p3 (04 Jan 2011)
diff --git a/net-misc/ntp/ntp-4.2.4_p7-r1.ebuild b/net-misc/ntp/ntp-4.2.4_p7-r1.ebuild
index 9fed6053ab88..49f77a05faf9 100644
--- a/net-misc/ntp/ntp-4.2.4_p7-r1.ebuild
+++ b/net-misc/ntp/ntp-4.2.4_p7-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.4_p7-r1.ebuild,v 1.2 2009/12/11 14:41:30 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.4_p7-r1.ebuild,v 1.3 2011/01/06 21:19:02 vapier Exp $
EAPI="2"
@@ -42,6 +42,9 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-4.2.4_p7-nano.patch #270483
epatch "${FILESDIR}"/${PN}-4.2.4_p7-CVE-2009-3563.patch #290881
append-cppflags -D_GNU_SOURCE #264109
+ # upstream has fixed these issues in newer versions; just ignore
+ # it for older since the changes are invasive
+ append-flags -fno-strict-aliasing
}
src_configure() {
diff --git a/net-misc/ntp/ntp-4.2.6_p2-r1.ebuild b/net-misc/ntp/ntp-4.2.6_p2-r1.ebuild
index 9bb218acf402..05b7feaf78a7 100644
--- a/net-misc/ntp/ntp-4.2.6_p2-r1.ebuild
+++ b/net-misc/ntp/ntp-4.2.6_p2-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.6_p2-r1.ebuild,v 1.1 2010/07/27 13:06:37 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.6_p2-r1.ebuild,v 1.2 2011/01/06 21:19:02 vapier Exp $
EAPI="2"
@@ -40,6 +40,9 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-4.2.4_p5-adjtimex.patch #254030
epatch "${FILESDIR}"/${PN}-4.2.4_p7-nano.patch #270483
append-cppflags -D_GNU_SOURCE #264109
+ # upstream has fixed these issues in newer versions; just ignore
+ # it for older since the changes are invasive
+ append-flags -fno-strict-aliasing
}
src_configure() {