Created attachment 236150 [details] Patch to update sysutils/upower - Update to 1.90.0 - Fix warnings (suggested by clang) in src/up-device-battery.c Note: There is also merge request [1] for these warnings. [1] https://gitlab.freedesktop.org/upower/upower/-/merge_requests/164
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=639d431057fdb37f6557832900080e0efe999d09 commit 639d431057fdb37f6557832900080e0efe999d09 Author: Olivier Duchateau <duchateau.olivier@gmail.com> AuthorDate: 2022-08-28 19:16:45 +0000 Commit: Guido Falsi <madpilot@FreeBSD.org> CommitDate: 2022-08-28 19:16:45 +0000 sysutils/upower: update to 1.90.0 - Update to 1.90.0 - Fix warnings (suggested by clang) in src/up-device-battery.c PR: 266070 sysutils/upower/Makefile | 2 +- sysutils/upower/distinfo | 6 ++--- .../files/patch-src_up-device-battery.c (new) | 28 ++++++++++++++++++++++ 3 files changed, 32 insertions(+), 4 deletions(-)
Patch committed. Thanks!