Bug 26218

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:
Description Flags
file.diff none

Description markush 2001-03-30 15:50:01 UTC
	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]
Comment 1 Tetsurou Okazaki freebsd_committer freebsd_triage 2001-04-20 21:33:36 UTC
Responsible Changed
From-To: freebsd-ports->archie

Over to maintainer
Comment 2 Archie Cobbs freebsd_committer freebsd_triage 2001-04-21 18:56:55 UTC
State Changed
From-To: open->closed

Patch submitted.. thanks!