From: | "Lars Wendler (polynomial-c)" <polynomial-c@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/kbuild/files: kbuild-0.1.5_p2-qa.patch |
Date: | Wed, 19 Jan 2011 15:02:11 |
Message-Id: | 20110119150200.95F4820057@flycatcher.gentoo.org |
1 | polynomial-c 11/01/19 15:02:00 |
2 | |
3 | Added: kbuild-0.1.5_p2-qa.patch |
4 | Log: |
5 | Respect LDFLAGS |
6 | |
7 | (Portage version: 2.2.0_alpha17/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-util/kbuild/files/kbuild-0.1.5_p2-qa.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/kbuild/files/kbuild-0.1.5_p2-qa.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/kbuild/files/kbuild-0.1.5_p2-qa.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: kbuild-0.1.5_p2-qa.patch |
16 | =================================================================== |
17 | * warning: implicit declaration of function ‘unlink’ |
18 | * warning: too few arguments for format |
19 | --- a/src/sed/lib/utils.c |
20 | +++ b/src/sed/lib/utils.c |
21 | @@ -35,6 +35,10 @@ |
22 | # include <stdlib.h> |
23 | #endif /* HAVE_STDLIB_H */ |
24 | |
25 | +#ifdef HAVE_UNISTD_H |
26 | +# include <unistd.h> |
27 | +#endif /* HAVE_UNISTD_H */ |
28 | + |
29 | #include "utils.h" |
30 | |
31 | const char *myname; |
32 | --- a/src/kmk/kmkbuiltin/printf.c |
33 | +++ b/src/kmk/kmkbuiltin/printf.c |
34 | @@ -206,7 +206,7 @@ |
35 | |
36 | (void)funcname; |
37 | if (rc != 0) |
38 | - fatal (NILF, _("$(%s): failure rc=%d\n"), rc); |
39 | + fatal (NILF, _("$(%s): failure rc=%d\n"), funcname, rc); |
40 | return o; |
41 | } |
42 | #endif |