I am totally unsure why this exists in devel:tools:building, AFAICS it's exclusively used (at build-time) by Virtualbox... OBS-URL: https://build.opensuse.org/request/show/214462 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/kbuild?expand=0&rev=21
26 lines
751 B
Diff
26 lines
751 B
Diff
Index: src/kmk/kmkbuiltin/expr.c
|
|
===================================================================
|
|
--- src/kmk/kmkbuiltin/expr.c.orig
|
|
+++ src/kmk/kmkbuiltin/expr.c
|
|
@@ -311,6 +311,8 @@ eval6(void)
|
|
return v;
|
|
} else {
|
|
error();
|
|
+ /* dummy return in order to make the build checks happy (this will never be reached) */
|
|
+ return NULL;
|
|
}
|
|
/* NOTREACHED */
|
|
}
|
|
Index: src/kmk/kmkbuiltin/kbuild_protection.c
|
|
===================================================================
|
|
--- src/kmk/kmkbuiltin/kbuild_protection.c.orig
|
|
+++ src/kmk/kmkbuiltin/kbuild_protection.c
|
|
@@ -29,6 +29,7 @@
|
|
#include "config.h"
|
|
#include <sys/types.h>
|
|
#include <stdlib.h>
|
|
+#include <unistd.h>
|
|
#include <string.h>
|
|
#include <ctype.h>
|
|
#include <assert.h>
|