Date: Fri, 10 May 2024 16:20:26 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d25876c3fb5f - main - net/widentd: fix build on ARM / POWER Message-ID: <202405101620.44AGKQ74082067@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=d25876c3fb5f106b9630e2516ad33b158e8e9b61 commit d25876c3fb5f106b9630e2516ad33b158e8e9b61 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-05-09 12:38:43 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-05-10 16:19:53 +0000 net/widentd: fix build on ARM / POWER widentd.c:70:48: error: result of comparison of constant -1 with expression of type 'char' is always true [-Werror,-Wtautological-constant-out-of-range-compare] while ((ch = getopt(argc, argv, "vo:u:s:i:")) != -1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~ --- net/widentd/files/patch-widentd.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/net/widentd/files/patch-widentd.c b/net/widentd/files/patch-widentd.c index e91450cad30a..fe22b377721f 100644 --- a/net/widentd/files/patch-widentd.c +++ b/net/widentd/files/patch-widentd.c @@ -1,6 +1,15 @@ ---- widentd.c.orig 2015-02-24 19:27:09 UTC +--- widentd.c.orig 2024-01-27 10:24:27 UTC +++ widentd.c -@@ -191,7 +191,7 @@ main(int argc, char **argv) +@@ -51,7 +51,7 @@ main(int argc, char **argv) + int + main(int argc, char **argv) + { +- char ch; ++ signed char ch; + const int yes = 1; + int blog = BLOG; + unsigned int i; +@@ -190,7 +190,7 @@ main(int argc, char **argv) to.tv_sec = TIMEOUT; to.tv_usec = 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405101620.44AGKQ74082067>