diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-04-15 21:49:18 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-04-15 21:49:18 +0000 |
commit | 84f29d028b5a6592426848ccce0070481712f480 (patch) | |
tree | c6e40e09b6a9d35baf1948336b057a3537a51e70 /sys-apps/kexec-tools | |
parent | Stable on amd64 wrt bug #362871 (diff) | |
download | gentoo-2-84f29d028b5a6592426848ccce0070481712f480.tar.gz gentoo-2-84f29d028b5a6592426848ccce0070481712f480.tar.bz2 gentoo-2-84f29d028b5a6592426848ccce0070481712f480.zip |
Add fix for compiling with gcc 4.6 (bug #631069). Thanks to Vladimir for the patch; upstream already fixed this one.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/kexec-tools')
-rw-r--r-- | sys-apps/kexec-tools/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/kexec-tools/kexec-tools-2.0.2-r1.ebuild | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/sys-apps/kexec-tools/ChangeLog b/sys-apps/kexec-tools/ChangeLog index 67237458792a..a48b38b887e8 100644 --- a/sys-apps/kexec-tools/ChangeLog +++ b/sys-apps/kexec-tools/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/kexec-tools # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.39 2011/03/27 08:31:50 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.40 2011/04/15 21:49:18 flameeyes Exp $ + + 15 Apr 2011; Diego E. Pettenò <flameeyes@gentoo.org> + kexec-tools-2.0.2-r1.ebuild: + Add fix for compiling with gcc 4.6 (bug #631069). Thanks to Vladimir for the + patch; upstream already fixed this one. *kexec-tools-2.0.2-r1 (27 Mar 2011) diff --git a/sys-apps/kexec-tools/kexec-tools-2.0.2-r1.ebuild b/sys-apps/kexec-tools/kexec-tools-2.0.2-r1.ebuild index 5fe6392e2fb4..b5ce4ab77515 100644 --- a/sys-apps/kexec-tools/kexec-tools-2.0.2-r1.ebuild +++ b/sys-apps/kexec-tools/kexec-tools-2.0.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.2-r1.ebuild,v 1.1 2011/03/27 08:31:50 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.2-r1.ebuild,v 1.2 2011/04/15 21:49:18 flameeyes Exp $ EAPI=2 @@ -28,6 +28,9 @@ src_prepare() { filter-flags -fPIE append-ldflags -nopie fi + + # gcc 4.6 compatibility (bug #361069) + sed -i 's/--no-undefined/-Wl,--no-undefined/g' purgatory/Makefile || die "sed failed" } src_configure() { |