Summary: | app-misc/ddcutil-2.1.4 adds -Werror flag on its own | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, gentoo.qxrin |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/40762 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 260867 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 889974 [details]
build.log
build log and emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60c04bf9dcaf6e03a4167524681b4abb0379122b commit 60c04bf9dcaf6e03a4167524681b4abb0379122b Author: Z. Liu <zhixu.liu@gmail.com> AuthorDate: 2025-02-25 14:38:34 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-26 06:13:34 +0000 app-misc/ddcutil: fix build error with clang 19 1. 'test STRING' equivalent to '-n STRING' which is True if the length of string is non-zero, so 'test 0' always success. Both 'test ""' and 'test 1 -eq 0' are ok, but the later is more intuitive. 2. too many errors on Wcompound-token-split-by-macro, so disable this warning as a workaround. 3. fix two errors reported by clang 19, patch submitted to upstream. Closes: https://bugs.gentoo.org/928969 Closes: https://bugs.gentoo.org/929096 Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/40762 Signed-off-by: Sam James <sam@gentoo.org> app-misc/ddcutil/ddcutil-2.1.4.ebuild | 10 ++-- .../ddcutil/files/ddcutil-1.4.1-no-werror.patch | 2 +- .../ddcutil/files/ddcutil-2.1.4-fix-clang.patch | 57 ++++++++++++++++++++++ 3 files changed, 65 insertions(+), 4 deletions(-) |