Date: Thu, 12 Sep 2024 22:53:47 GMT From: Vladimir Druzenko <vvd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 59df34eab546 - main - devel/kBuild: fix build with GCC14 Message-ID: <202409122253.48CMrlLg003256@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=59df34eab546d798306c2abd064f5536cc70e8ed commit 59df34eab546d798306c2abd064f5536cc70e8ed Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2024-09-12 22:50:33 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-09-12 22:50:33 +0000 devel/kBuild: fix build with GCC14 - fix detect gettimeofday - fix "unlink" and "string functions" in "sed" PR: 281190 Reported by: exp-run (antoine) --- devel/kBuild/files/patch-src_kmk_configure.in | 10 ++++++++++ devel/kBuild/files/patch-src_sed_lib_utils.h | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/devel/kBuild/files/patch-src_kmk_configure.in b/devel/kBuild/files/patch-src_kmk_configure.in new file mode 100644 index 000000000000..e04b5458aa73 --- /dev/null +++ b/devel/kBuild/files/patch-src_kmk_configure.in @@ -0,0 +1,10 @@ +--- src/kmk/configure.in.orig 2017-07-18 19:08:54 UTC ++++ src/kmk/configure.in +@@ -134,6 +134,7 @@ AC_CACHE_CHECK([for standard gettimeofday], ac_cv_func + 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; diff --git a/devel/kBuild/files/patch-src_sed_lib_utils.h b/devel/kBuild/files/patch-src_sed_lib_utils.h new file mode 100644 index 000000000000..7448a9dd124c --- /dev/null +++ b/devel/kBuild/files/patch-src_sed_lib_utils.h @@ -0,0 +1,11 @@ +--- src/sed/lib/utils.h.orig 2017-07-18 19:08:55 UTC ++++ src/sed/lib/utils.h +@@ -17,6 +17,8 @@ + Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + + #include <stdio.h> ++#include <string.h> ++#include <unistd.h> + + #include "basicdefs.h" +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409122253.48CMrlLg003256>