Bug 96411

Summary: [maintainer-update] games/oolite fails to build on 4.X because of missing stdint.h header
Product: Ports & Packages Reporter: Andriy Gapon <avg>
Component: Individual Port(s)Assignee: Dirk Meyer <dinoex>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
stdint.patch none

Description Andriy Gapon 2006-04-27 13:40:18 UTC
Thanks to Kris Kennaway for reporting and diagnosting this problem.

oolite source includes <stdint.h>, but 4.X is not POSIX-compliant in regard
to this header - it is not present.
using <inttypes.h> on all versions of FreeBSD should correct this problem,
because inttypes.h actually declares a superset of stdint.h declarations.

please add the attached patch to files/ sub-directory of this port.

P.S. incluing stdint.h versus inttypes.h conditionally, based on __FreeBSD_version,
does not make any sense because sys/param.h which defines __FreeBSD_version is
a superset of both mentioned headers.

Fix: please add the attached patch to files/ sub-directory of this port.
How-To-Repeat: try to build this port on supported 4.X system (e.g. 4.11)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-04-27 13:44:11 UTC
Class Changed
From-To: sw-bug->maintainer-update

Fix category (submitter is maintainer)
Comment 2 Dirk Meyer freebsd_committer freebsd_triage 2006-04-28 15:36:49 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

I will take care of it.
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2006-04-30 06:04:51 UTC
State Changed
From-To: open->closed

committed, thanks.