Bug 281190 - devel/kBuild: fix build with GCC14
Summary: devel/kBuild: fix build with GCC14
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks: 281091
  Show dependency treegraph
 
Reported: 2024-09-01 15:05 UTC by Vladimir Druzenko
Modified: 2024-09-13 13:21 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (vbox)


Attachments
fix detect gettimeofday (435 bytes, patch)
2024-09-01 15:05 UTC, Vladimir Druzenko
no flags Details | Diff
fix "unlink" and "string function" in "sed" (268 bytes, patch)
2024-09-01 15:06 UTC, Vladimir Druzenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2024-09-01 15:06:59 UTC
Created attachment 253245 [details]
fix "unlink" and "string function" in "sed"
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2024-09-01 15:10:18 UTC
Copy files patch-src_kmk_configure.in and patch-src_sed_lib_utils.h in devel/kBuild/files/.
Tested build and work (build emulators/virtualbox-ose) in poudriere and on live system 14.1 amd64.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-09-12 22:54:11 UTC
A commit in branch main references this bug:

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 (new) | 10 ++++++++++
 devel/kBuild/files/patch-src_sed_lib_utils.h (new)  | 11 +++++++++++
 2 files changed, 21 insertions(+)
Comment 4 Gerald Pfeifer freebsd_committer freebsd_triage 2024-09-13 05:33:42 UTC
Nice how you fixed this "for real" instead of just silencing the
warnings!
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2024-09-13 13:21:32 UTC
(In reply to Gerald Pfeifer from comment #4)
Thanks. (-8