Created attachment 235176 [details] [PATCH]: libusbhid: usbhid.h: add missing include guards Hello, /usr/include/usbhid.h lacks include guards, leading to annoying build errors when using libusbhid. Add some. Cordially, Andreas Kempe
I will patch this tomorrow. Getting late now. --HPS
I have worked around the issue so there is no rush. Sleep well!
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>
bugmeister would like to thank Hans Petter for his years of ports maintenance and his work on FreeBSD in general. May he rest in peace. An in-memoriam can be read at https://lists.freebsd.org/archives/freebsd-announce/2023-July/000076.html With hat: bugmeister
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=230efeda080f09bc282f50a7a4cfc337fd7c6d0d commit 230efeda080f09bc282f50a7a4cfc337fd7c6d0d Author: Andreas Kempe <kempe@lysator.liu.se> AuthorDate: 2022-07-10 20:51:48 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2024-06-06 14:09:05 +0000 libusbhid: add missing include guards PR: 265136 lib/libusbhid/usbhid.h | 5 +++++ 1 file changed, 5 insertions(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=7f0392e1c8a2832f045868b62f8840e73a2f21fa commit 7f0392e1c8a2832f045868b62f8840e73a2f21fa Author: Andreas Kempe <kempe@lysator.liu.se> AuthorDate: 2022-07-10 20:51:48 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2024-06-09 16:32:16 +0000 libusbhid: add missing include guards PR: 265136 (cherry picked from commit 230efeda080f09bc282f50a7a4cfc337fd7c6d0d) lib/libusbhid/usbhid.h | 5 +++++ 1 file changed, 5 insertions(+)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=b1e82630b4ab06950af40a96f1324f69ddbce8cc commit b1e82630b4ab06950af40a96f1324f69ddbce8cc Author: Andreas Kempe <kempe@lysator.liu.se> AuthorDate: 2022-07-10 20:51:48 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2024-06-09 17:02:41 +0000 libusbhid: add missing include guards PR: 265136 (cherry picked from commit 230efeda080f09bc282f50a7a4cfc337fd7c6d0d) (cherry picked from commit 7f0392e1c8a2832f045868b62f8840e73a2f21fa) lib/libusbhid/usbhid.h | 5 +++++ 1 file changed, 5 insertions(+)