summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2009-01-25 01:32:52 +0000
committerJeremy Olexa <darkside@gentoo.org>2009-01-25 01:32:52 +0000
commit21a95196f199fc8276f4c20e39514aa641147f10 (patch)
tree12cfb9ecfefc554b04f9ef21237ebf096052f04a /sys-apps/kexec-tools
parent(non maintainer commit) [QA] Move big file to mirrors, bug 248994. Also remov... (diff)
downloadgentoo-2-21a95196f199fc8276f4c20e39514aa641147f10.tar.gz
gentoo-2-21a95196f199fc8276f4c20e39514aa641147f10.tar.bz2
gentoo-2-21a95196f199fc8276f4c20e39514aa641147f10.zip
Add patch to respect LDFLAGS in kdump
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/kexec-tools')
-rw-r--r--sys-apps/kexec-tools/ChangeLog9
-rw-r--r--sys-apps/kexec-tools/files/kexec-tools-2.0.0-respect-LDFLAGS.patch11
-rw-r--r--sys-apps/kexec-tools/kexec-tools-2.0.0-r1.ebuild (renamed from sys-apps/kexec-tools/kexec-tools-2.0.0.ebuild)3
3 files changed, 21 insertions, 2 deletions
diff --git a/sys-apps/kexec-tools/ChangeLog b/sys-apps/kexec-tools/ChangeLog
index 36e679302c16..3a927a462f85 100644
--- a/sys-apps/kexec-tools/ChangeLog
+++ b/sys-apps/kexec-tools/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/kexec-tools
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.25 2009/01/23 04:43:47 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.26 2009/01/25 01:32:52 darkside Exp $
+
+*kexec-tools-2.0.0-r1 (25 Jan 2009)
+
+ 25 Jan 2009; Jeremy Olexa <darkside@gentoo.org>
+ +files/kexec-tools-2.0.0-respect-LDFLAGS.patch, -kexec-tools-2.0.0.ebuild,
+ +kexec-tools-2.0.0-r1.ebuild:
+ Add patch to respect LDFLAGS in kdump
*kexec-tools-2.0.0 (23 Jan 2009)
diff --git a/sys-apps/kexec-tools/files/kexec-tools-2.0.0-respect-LDFLAGS.patch b/sys-apps/kexec-tools/files/kexec-tools-2.0.0-respect-LDFLAGS.patch
new file mode 100644
index 000000000000..3893f21a08ca
--- /dev/null
+++ b/sys-apps/kexec-tools/files/kexec-tools-2.0.0-respect-LDFLAGS.patch
@@ -0,0 +1,11 @@
+--- kdump/Makefile
++++ kdump/Makefile
+@@ -18,7 +18,7 @@
+ $(KDUMP): CC=$(TARGET_CC)
+ $(KDUMP): $(KDUMP_OBJS)
+ @$(MKDIR) -p $(@D)
+- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $(KDUMP_OBJS)
++ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(LDFLAGS) -o $@ $(KDUMP_OBJS)
+
+ $(KDUMP_MANPAGE): kdump/kdump.8
+ $(MKDIR) -p $(MANDIR)/man8
diff --git a/sys-apps/kexec-tools/kexec-tools-2.0.0.ebuild b/sys-apps/kexec-tools/kexec-tools-2.0.0-r1.ebuild
index 80acfaa8fb95..f613b26cf8e5 100644
--- a/sys-apps/kexec-tools/kexec-tools-2.0.0.ebuild
+++ b/sys-apps/kexec-tools/kexec-tools-2.0.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 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.0.ebuild,v 1.2 2009/01/23 06:45:57 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/kexec-tools-2.0.0-r1.ebuild,v 1.1 2009/01/25 01:32:52 darkside Exp $
EAPI=2
@@ -19,6 +19,7 @@ RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}/${P}-asneeded.patch"
+ epatch "${FILESDIR}/${P}-respect-LDFLAGS.patch"
}
src_configure() {