aports/testing/kbuild/kbuild-0.1.5_p2-qa.patch
Natanael Copa 3a044aaeb7 testing/kbuild: new aport
A makefile framework for writing simple makefiles for complex tasks
http://svn.netlabs.org/kbuild/wiki

needed for virtualbox
2012-02-23 19:58:16 +00:00

27 lines
593 B
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

* 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