summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-02 05:24:37 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-02 05:24:37 +0000
commit19c1f1fb8dcb799ecc567405e29c8b6333d05b8d (patch)
treebfabd92fa2f56e323cb3683f0497d1b30eb8849f /sys-apps/lkcdutils
parentFix build failure #253344. (diff)
downloadgentoo-2-19c1f1fb8dcb799ecc567405e29c8b6333d05b8d.tar.gz
gentoo-2-19c1f1fb8dcb799ecc567405e29c8b6333d05b8d.tar.bz2
gentoo-2-19c1f1fb8dcb799ecc567405e29c8b6333d05b8d.zip
Version bump #146515 by toto.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'sys-apps/lkcdutils')
-rw-r--r--sys-apps/lkcdutils/ChangeLog10
-rw-r--r--sys-apps/lkcdutils/files/lkcdutils-6.2.0-build.patch24
-rw-r--r--sys-apps/lkcdutils/lkcdutils-6.2.0.ebuild35
3 files changed, 67 insertions, 2 deletions
diff --git a/sys-apps/lkcdutils/ChangeLog b/sys-apps/lkcdutils/ChangeLog
index b31943211aa4..68eb5c55d312 100644
--- a/sys-apps/lkcdutils/ChangeLog
+++ b/sys-apps/lkcdutils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/lkcdutils
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lkcdutils/ChangeLog,v 1.5 2008/05/04 11:10:26 vapier Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lkcdutils/ChangeLog,v 1.6 2009/01/02 05:24:37 vapier Exp $
+
+*lkcdutils-6.2.0 (02 Jan 2009)
+
+ 02 Jan 2009; Mike Frysinger <vapier@gentoo.org>
+ +files/lkcdutils-6.2.0-build.patch, +lkcdutils-6.2.0.ebuild:
+ Version bump #146515 by toto.
04 May 2008; Mike Frysinger <vapier@gentoo.org> lkcdutils-4.1.1.ebuild:
Remove wrong stuff from RDEPEND #220213 by Samuli Suominen.
diff --git a/sys-apps/lkcdutils/files/lkcdutils-6.2.0-build.patch b/sys-apps/lkcdutils/files/lkcdutils-6.2.0-build.patch
new file mode 100644
index 000000000000..e8330074d9bd
--- /dev/null
+++ b/sys-apps/lkcdutils/files/lkcdutils-6.2.0-build.patch
@@ -0,0 +1,24 @@
+--- a/libsial/Makefile
++++ b/libsial/Makefile
+@@ -53,7 +53,7 @@
+ ./mkbaseop > baseops.c
+ $(CC) $(CFLAGS) -c baseops.c
+
+-mkbaseop.c sial_member.o sial_op.o sial_stat.o sial_type.o y.tab.o : sial.tab.h
++mkbaseop.c sial_api.o sial_member.o sial_op.o sial_stat.o sial_type.o y.tab.o : sial.tab.h
+
+ lex.sial.o: lex.sial.c sial.tab.c sial.h
+ $(CC) $(CFLAGS) -c lex.sial.c
+--- a/libklib/kl_savedump.c
++++ b/libklib/kl_savedump.c
+@@ -24,6 +24,10 @@
+ #include <unistd.h>
+ #include <linux/stddef.h>
+
++#ifndef offsetof
++#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
++#endif
++
+ static int kl_check_type_dev(char *);
+ static int kl_check_type_dir(char *);
+ static int __kl_dump_retrieve_reg(int,int,char*,int,int);
diff --git a/sys-apps/lkcdutils/lkcdutils-6.2.0.ebuild b/sys-apps/lkcdutils/lkcdutils-6.2.0.ebuild
new file mode 100644
index 000000000000..62d627d608a8
--- /dev/null
+++ b/sys-apps/lkcdutils/lkcdutils-6.2.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lkcdutils/lkcdutils-6.2.0.ebuild,v 1.1 2009/01/02 05:24:37 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="Linux Kernel Crash Dumps (LKCD) Utilities"
+HOMEPAGE="http://lkcd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/lkcd/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~s390"
+IUSE=""
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-build.patch
+}
+
+src_compile() {
+ ./configure \
+ --cflags="${CFLAGS} ${CPPFLAGS}" \
+ --lflags="${LDFLAGS}" \
+ || die
+ emake || die "make failed"
+}
+
+src_install() {
+ emake install ROOT="${D}" || die "install failed"
+ rm -r "${D}"/etc/sysconfig
+}