From nobody Thu Sep 12 22:53:47 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X4XmW2lZBz5X2Mf; Thu, 12 Sep 2024 22:53:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X4XmW1zKyz4NCG; Thu, 12 Sep 2024 22:53:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726181627; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=54Jh5W4SwcdZFZweBFX4wVP5FOkp9U0qhVBg5PfGNeM=; b=SCVxFDwdGnZ2YE4MeuSk4Z8SnwHVrh2GuJ5R7qEKbL/fjugY0Z44jKpMxslmIcFUEmlyOm ZWpmMOMJSbsnyjO5j5ZjwzK7cNoNWiMK2mqBIwXBSuoAkd6iMUfOjkwf1I/ohbJNov84EF jrDDiO88CyuVVRPutn0htYgnKNuv+L80BDBDXUtFJm4ifEbE+nL4ZxczNOx94OwKmdE3/P dQxb3E8RyeaRTMoNkGFCg/IMpIblxPmYCY5RA6XdTJEu9XnUk8V3h5JPOHgFt5mDwQ4un6 y+CR++8ValBIpOLsgIf25bC5puKlsyCTp20FJyXvmuukRLA8EpWfFJVq3CPLxA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726181627; a=rsa-sha256; cv=none; b=yGj4oFEq4eY7zv9sAAvLf+2s+V6SrATkL34f5WSbhaHrmCmyYVxQOHUiTJ05F9IMzdVh3N emLbty+wqavJQlfseZ0rLeoBUYSSlYDG49qv2Zpl7s2PdnthepoONlq8Nwa/IO7+Nacus0 H6lIcwN+ctRpx503Udm+yoKclHwg1Jv+QE7n/51AnhDREviIegcK78wqDRAPCbNbnKTPGc aiYFqIUem2P7K/pWnVWDm3orbNi4wGYpkv8CDSojJ1bb9ytDEp/SebdktWm+1gmC/wFS/l l6lLkPeh6SK2+JZa07uWt/ZVD5GkRnXWAPBs8DM9uiPE0omOj7QxbonVbOJm6Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726181627; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=54Jh5W4SwcdZFZweBFX4wVP5FOkp9U0qhVBg5PfGNeM=; b=o1K2Wqzx/hwjU2Iy9dSX9ABta02ZqMnLWO71o7wKMiSADbIpY4Ca8H6rCgMwacIPdzOBfK aloedxslvfG2bzV5zqJlCPJc8c8wZE34MpvZyqKjnnDqsILSVBfGb12m3lAiJUjOl3rwNz kyr7FSkXiJlyrcj10w8mjjF4DNhuEG8BN5pBypVF1N+54+VYYV1SJvhSO0GVsezo/4XPQU PHfSg7mNJcD/JCbqqDovuW47AytZsdnUKSDOGLlWtY7iF8EsRJKoe5f7RRnbb0exrvdqc3 qquY4OaUvDWyrOW8Hp68Ub9M4HwAyuwSeEuC0cezyyu1kzN4gxOJ2Lvy7sPjkA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X4XmW1bYpzJ0q; Thu, 12 Sep 2024 22:53:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48CMrlh7003259; Thu, 12 Sep 2024 22:53:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48CMrlLg003256; Thu, 12 Sep 2024 22:53:47 GMT (envelope-from git) Date: Thu, 12 Sep 2024 22:53:47 GMT Message-Id: <202409122253.48CMrlLg003256@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: 59df34eab546 - main - devel/kBuild: fix build with GCC14 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 59df34eab546d798306c2abd064f5536cc70e8ed Auto-Submitted: auto-generated The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=59df34eab546d798306c2abd064f5536cc70e8ed commit 59df34eab546d798306c2abd064f5536cc70e8ed Author: Vladimir Druzenko AuthorDate: 2024-09-12 22:50:33 +0000 Commit: Vladimir Druzenko 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 ++#include + 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 ++#include ++#include + + #include "basicdefs.h" +