| Summary: | port build breaks due to include of osreldate.h in kld | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | markush <markush> | ||||
| Component: | Individual Port(s) | Assignee: | Archie Cobbs <archie> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Responsible Changed From-To: freebsd-ports->archie Over to maintainer State Changed From-To: open->closed Patch submitted.. thanks! |
Port build of security/skip breaks due to include of osreldate.h in kld (it looks like). Fix: Since sys/param.h is included unconditionally (and __FreeBSD_version is defined there, and __FreeBSD_version is the only thing osreldate.h defines), the following patch which removes #include <osreldate.h> should be sufficient, as far as I can tell. (I hope it isn't a problem to move up the include of sys/param.h..?) How-To-Repeat: cd /usr/ports/security/skip && make [output removed] /usr/include/osreldate.h:29: #error "osreldate.h must not be used in the kernel, use sys/param.h" gmake[2]: *** [bin.x86/md5.o] Error 1 [more output removed]