From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/lkcdutils/files: lkcdutils-6.2.0-build.patch |
Date: | Fri, 02 Jan 2009 05:25:39 |
Message-Id: | E1LIcWT-0006lK-72@stork.gentoo.org |
1 | vapier 09/01/02 05:24:37 |
2 | |
3 | Added: lkcdutils-6.2.0-build.patch |
4 | Log: |
5 | Version bump #146515 by toto. |
6 | (Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sys-apps/lkcdutils/files/lkcdutils-6.2.0-build.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/lkcdutils/files/lkcdutils-6.2.0-build.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/lkcdutils/files/lkcdutils-6.2.0-build.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: lkcdutils-6.2.0-build.patch |
15 | =================================================================== |
16 | --- a/libsial/Makefile |
17 | +++ b/libsial/Makefile |
18 | @@ -53,7 +53,7 @@ |
19 | ./mkbaseop > baseops.c |
20 | $(CC) $(CFLAGS) -c baseops.c |
21 | |
22 | -mkbaseop.c sial_member.o sial_op.o sial_stat.o sial_type.o y.tab.o : sial.tab.h |
23 | +mkbaseop.c sial_api.o sial_member.o sial_op.o sial_stat.o sial_type.o y.tab.o : sial.tab.h |
24 | |
25 | lex.sial.o: lex.sial.c sial.tab.c sial.h |
26 | $(CC) $(CFLAGS) -c lex.sial.c |
27 | --- a/libklib/kl_savedump.c |
28 | +++ b/libklib/kl_savedump.c |
29 | @@ -24,6 +24,10 @@ |
30 | #include <unistd.h> |
31 | #include <linux/stddef.h> |
32 | |
33 | +#ifndef offsetof |
34 | +#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) |
35 | +#endif |
36 | + |
37 | static int kl_check_type_dev(char *); |
38 | static int kl_check_type_dir(char *); |
39 | static int __kl_dump_retrieve_reg(int,int,char*,int,int); |