summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2008-03-11 21:29:02 +0000
committerStefan Schweizer <genstef@gentoo.org>2008-03-11 21:29:02 +0000
commit4f2c512003232ad6bcf8b76554de26b841b099a0 (patch)
treee00fb8dac42f77ea2d906f5d694ba7c3bfb8de9c /sys-apps/kexec-tools
parentBe compatible with newer glib and in general more future proof, bug 212246 (diff)
downloadgentoo-2-4f2c512003232ad6bcf8b76554de26b841b099a0.tar.gz
gentoo-2-4f2c512003232ad6bcf8b76554de26b841b099a0.tar.bz2
gentoo-2-4f2c512003232ad6bcf8b76554de26b841b099a0.zip
respect ldflags, thanks to Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> in bug 181463
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-apps/kexec-tools')
-rw-r--r--sys-apps/kexec-tools/ChangeLog8
-rw-r--r--sys-apps/kexec-tools/files/kexec-tools-1.101-respect-LDFLAGS.patch22
-rw-r--r--sys-apps/kexec-tools/kexec-tools-1.101-r4.ebuild5
3 files changed, 32 insertions, 3 deletions
diff --git a/sys-apps/kexec-tools/ChangeLog b/sys-apps/kexec-tools/ChangeLog
index d6c7cc681ba6..ef6a88e295ce 100644
--- a/sys-apps/kexec-tools/ChangeLog
+++ b/sys-apps/kexec-tools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/kexec-tools
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.17 2008/01/21 08:51:09 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/ChangeLog,v 1.18 2008/03/11 21:29:02 genstef Exp $
+
+ 11 Mar 2008; Stefan Schweizer <genstef@gentoo.org>
+ +files/kexec-tools-1.101-respect-LDFLAGS.patch,
+ kexec-tools-1.101-r4.ebuild:
+ respect ldflags, thanks to Arfrever Frehtes Taifersar Arahesis
+ <Arfrever.FTA@GMail.Com> in bug 181463
21 Jan 2008; Stefan Schweizer <genstef@gentoo.org> files/kexec.init:
set KPARAM correctly thanks to Friedrich Oslage <bluebird@porno-bullen.de>
diff --git a/sys-apps/kexec-tools/files/kexec-tools-1.101-respect-LDFLAGS.patch b/sys-apps/kexec-tools/files/kexec-tools-1.101-respect-LDFLAGS.patch
new file mode 100644
index 000000000000..e68cdc817385
--- /dev/null
+++ b/sys-apps/kexec-tools/files/kexec-tools-1.101-respect-LDFLAGS.patch
@@ -0,0 +1,22 @@
+--- kdump/Makefile
++++ kdump/Makefile
+@@ -24,7 +24,7 @@
+
+ $(KDUMP): $(KDUMP_OBJS)
+ mkdir -p $(@D)
+- $(CC) $(CFLAGS) -o $@ $(KDUMP_OBJS)
++ $(CC) $(LDFLAGS) -o $@ $(KDUMP_OBJS)
+
+ $(KDUMP_MANPAGE): kdump/kdump.8
+ $(MKDIR) -p $(MANDIR)/man8
+--- kexec/Makefile
++++ kexec/Makefile
+@@ -50,7 +50,7 @@
+
+ $(KEXEC): $(KEXEC_OBJS) $(UTIL_LIB)
+ mkdir -p $(@D)
+- $(CC) $(KCFLAGS) -o $@ $(KEXEC_OBJS) $(UTIL_LIB) $(LIBS)
++ $(CC) $(LDFLAGS) -o $@ $(KEXEC_OBJS) $(UTIL_LIB) $(LIBS)
+
+ $(KEXEC_MANPAGE): kexec/kexec.8
+ $(MKDIR) -p $(MANDIR)/man8
diff --git a/sys-apps/kexec-tools/kexec-tools-1.101-r4.ebuild b/sys-apps/kexec-tools/kexec-tools-1.101-r4.ebuild
index f7d676fa89c1..2692336faf3c 100644
--- a/sys-apps/kexec-tools/kexec-tools-1.101-r4.ebuild
+++ b/sys-apps/kexec-tools/kexec-tools-1.101-r4.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/sys-apps/kexec-tools/kexec-tools-1.101-r4.ebuild,v 1.1 2007/03/13 07:33:24 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kexec-tools/kexec-tools-1.101-r4.ebuild,v 1.2 2008/03/11 21:29:02 genstef Exp $
inherit eutils
@@ -22,6 +22,7 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-LDFLAGS.patch
epatch "${FILESDIR}"/${P}-ppc64.patch
epatch "${FILESDIR}"/kexec-linux-headers.patch
+ epatch "${FILESDIR}"/${P}-respect-LDFLAGS.patch
}
src_compile() {