diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2011-01-19 15:02:00 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2011-01-19 15:02:00 +0000 |
commit | 74289b067c71f2f0a867e09990d65a9cb816a56c (patch) | |
tree | 45754a7fb924af0a0b464d79ef7644f4146a7f11 /dev-util/kbuild/files | |
parent | Version bump. (diff) | |
download | gentoo-2-74289b067c71f2f0a867e09990d65a9cb816a56c.tar.gz gentoo-2-74289b067c71f2f0a867e09990d65a9cb816a56c.tar.bz2 gentoo-2-74289b067c71f2f0a867e09990d65a9cb816a56c.zip |
Respect LDFLAGS
(Portage version: 2.2.0_alpha17/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/kbuild/files')
-rw-r--r-- | dev-util/kbuild/files/kbuild-0.1.5_p2-qa.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-util/kbuild/files/kbuild-0.1.5_p2-qa.patch b/dev-util/kbuild/files/kbuild-0.1.5_p2-qa.patch new file mode 100644 index 000000000000..706c3a7fd538 --- /dev/null +++ b/dev-util/kbuild/files/kbuild-0.1.5_p2-qa.patch @@ -0,0 +1,26 @@ +* warning: implicit declaration of function ‘unlink’ +* warning: too few arguments for format +--- a/src/sed/lib/utils.c ++++ b/src/sed/lib/utils.c +@@ -35,6 +35,10 @@ + # include <stdlib.h> + #endif /* HAVE_STDLIB_H */ + ++#ifdef HAVE_UNISTD_H ++# include <unistd.h> ++#endif /* HAVE_UNISTD_H */ ++ + #include "utils.h" + + const char *myname; +--- a/src/kmk/kmkbuiltin/printf.c ++++ b/src/kmk/kmkbuiltin/printf.c +@@ -206,7 +206,7 @@ + + (void)funcname; + if (rc != 0) +- fatal (NILF, _("$(%s): failure rc=%d\n"), rc); ++ fatal (NILF, _("$(%s): failure rc=%d\n"), funcname, rc); + return o; + } + #endif |