summaryrefslogtreecommitdiffstats
path: root/testing/kbuild/kbuild-0.1.5_p2-qa.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-02-23 19:58:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-02-23 19:58:16 +0000
commit3a044aaeb7856d4c0f4cf1be8da64027b686d452 (patch)
tree168a0a0e8feb1daa86e860a0f6817d6ff4d0a972 /testing/kbuild/kbuild-0.1.5_p2-qa.patch
parentcd89b051ddac83b13379b776dcbf0c591e878667 (diff)
downloadaports-3a044aaeb7856d4c0f4cf1be8da64027b686d452.tar.bz2
aports-3a044aaeb7856d4c0f4cf1be8da64027b686d452.tar.xz
testing/kbuild: new aport
A makefile framework for writing simple makefiles for complex tasks http://svn.netlabs.org/kbuild/wiki needed for virtualbox
Diffstat (limited to 'testing/kbuild/kbuild-0.1.5_p2-qa.patch')
-rw-r--r--testing/kbuild/kbuild-0.1.5_p2-qa.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/kbuild/kbuild-0.1.5_p2-qa.patch b/testing/kbuild/kbuild-0.1.5_p2-qa.patch
new file mode 100644
index 000000000..706c3a7fd
--- /dev/null
+++ b/testing/kbuild/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