- remove patches: gcc10-fno-common-fix.patch, glob-interface.patch, use-alloca.patch, kbuild-gcc7.patch, kbuild-glob.patch, strsignal.patch: upstream or obsolete OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/kbuild?expand=0&rev=50
26 lines
773 B
Diff
26 lines
773 B
Diff
Index: src/kmk/kmkbuiltin/expr.c
|
|
===================================================================
|
|
--- src/kmk/kmkbuiltin/expr.c.orig
|
|
+++ src/kmk/kmkbuiltin/expr.c
|
|
@@ -317,6 +317,8 @@ eval6(PEXPRINSTANCE pThis)
|
|
return v;
|
|
} else {
|
|
error(pThis);
|
|
+ /* 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>
|