- Make kbuild buildable with GCC 14 (boo#1225792) * Changes to configure machinery so that it does not fail and detect what it has detected with previous GCC versions. (kBuild-configure-c99.patch, kBuild-configure-c99-2.patch) * Add many missing includes (kBuild-c99.patch). * Fix an actual bug in a call to eval_buffer that also manifests as a C99 violation (kBuild-c99-2.patch). OBS-URL: https://build.opensuse.org/request/show/1179185 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/kbuild?expand=0&rev=56
13 lines
579 B
Diff
13 lines
579 B
Diff
Index: kbuild-0.1.9998svn3427/src/kmk/configure.ac
|
|
===================================================================
|
|
--- kbuild-0.1.9998svn3427.orig/src/kmk/configure.ac
|
|
+++ kbuild-0.1.9998svn3427/src/kmk/configure.ac
|
|
@@ -121,6 +121,7 @@ pds_AC_DOS_PATHS
|
|
AC_CACHE_CHECK([for standard gettimeofday], [ac_cv_func_gettimeofday],
|
|
[ac_cv_func_gettimeofday=no
|
|
AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <sys/time.h>
|
|
+ #include <stdlib.h>
|
|
int main ()
|
|
{
|
|
struct timeval t; t.tv_sec = -1; t.tv_usec = -1;
|