Summary: | misc/rump: fix build with clang 13 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dimitry Andric <dim> | ||||
Component: | Individual Port(s) | Assignee: | Vanilla I. Shu <vanilla> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | Flags: | vanilla:
maintainer-feedback+
|
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 258209 | ||||||
Attachments: |
|
Description
Dimitry Andric
2021-09-14 21:36:34 UTC
Created attachment 227907 [details]
misc/rump: fix or suppress clang 13 warnings
it seems ok to me, please feel free to commit, thanks. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9a10eff03e919e71578cdb66d588b756a0cd1bb6 commit 9a10eff03e919e71578cdb66d588b756a0cd1bb6 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2021-09-14 21:30:40 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2021-09-15 07:54:56 +0000 misc/rump: fix or suppress clang 13 warnings Fix a null pointer subtraction bug reported by clang 13, and suppress the new clang 13 -Wunused-but-set-variable warning, as it triggers quite often in the NetBSD src tree. PR: 258508 Approved by: vanilla (maintainer) MFH: 2021Q3 misc/rump/Makefile | 10 +++++++--- ...tch-src_sys_crypto_nist__ctr__drbg_nist__ctr__drbg.c (new) | 11 +++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) |