Date: Tue, 2 May 2023 16:27:33 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c26b33c97ac6 - main - sysutils/usbutils: Fix build on 14-CURRENT Message-ID: <202305021627.342GRX9D073900@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c26b33c97ac6de2c2369d5b4128f613afe196974 commit c26b33c97ac6de2c2369d5b4128f613afe196974 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-05-02 16:19:44 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-05-02 16:19:44 +0000 sysutils/usbutils: Fix build on 14-CURRENT usbmisc.c:81:10: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] result = getcwd(result, result_size); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. Obtained from: delphij Reference: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/pdf5b273c8e36_s83d5725005/logs/usbutils-0.91.log --- sysutils/usbutils/files/patch-usbmisc.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sysutils/usbutils/files/patch-usbmisc.c b/sysutils/usbutils/files/patch-usbmisc.c new file mode 100644 index 000000000000..83f1c1094ff7 --- /dev/null +++ b/sysutils/usbutils/files/patch-usbmisc.c @@ -0,0 +1,10 @@ +--- usbmisc.c.orig 2010-10-22 23:38:09 UTC ++++ usbmisc.c +@@ -29,6 +29,7 @@ + + #include <stdio.h> + #include <string.h> ++#include <unistd.h> + + #include "usbmisc.h" +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305021627.342GRX9D073900>