Summary: | sysutils/lsof: Build fails on 13-CURRENT after base r351594 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Yasuhiro Kimura <yasu> | ||||
Component: | Individual Port(s) | Assignee: | Larry Rosenman <ler> | ||||
Status: | Closed Overcome By Events | ||||||
Severity: | Affects Some People | CC: | kib, peterj, woodsb02 | ||||
Priority: | --- | Keywords: | needs-qa, regression | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(ler) |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Yasuhiro Kimura
2019-09-05 09:59:27 UTC
offsetof() is referenced from the #include chain starting at dlsof.h:412 but is only defined in <stddef.h>, which is included at dlsof.h:698 Adding a #include <stddef.h> to the #include block near the top of dlsof.h appeals to fix the problem. Feel free to submit a PR to https://github.com/lsof-org/lsof. I'm done fighting this battle and getting ZERO help to modernize the KPI/API/etc. Created attachment 207374 [details] Patch file (In reply to Peter Jeremy from comment #1) Thanks for suggestion. I applied attached patch and build completed successfully. (In reply to Yasuhiro KIMURA from comment #3) This patch fixed this for me on FreeBSD 13-CURRENT. Can we commit this patch? (In reply to Larry Rosenman from comment #2) Hi Larry, As a fellow maintainer, I understand your frustration. That said, would you be happy if I committed this patch for you, and also submitted an upstream pull request? Regards, Ben The problem is fixed with commit of ports r515923. |