Bug 96411 - [maintainer-update] games/oolite fails to build on 4.X because of missing stdint.h header
Summary: [maintainer-update] games/oolite fails to build on 4.X because of missing std...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-27 13:40 UTC by Andriy Gapon
Modified: 2006-04-30 06:05 UTC (History)
0 users

See Also:


Attachments
stdint.patch (357 bytes, patch)
2006-04-27 13:40 UTC, Andriy Gapon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.