[Bug 196355] New: games/minetest 0.4.11 cannot build, endian.h location involve
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Dec 29 16:18:31 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196355
Bug ID: 196355
Summary: games/minetest 0.4.11 cannot build, endian.h location
involve
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: amdmi3 at FreeBSD.org
Reporter: monwarez at mailoo.org
Flags: maintainer-feedback?(amdmi3 at FreeBSD.org)
Assignee: amdmi3 at FreeBSD.org
Minetest can't build on FreeBSD, because the file endian.h are located at
/usr/include/sys/endian.h
In fact in src/cguittfont/irrUString.h we have this include(at line 50):
#elif __MACH__
#include <machine/endian.h>
#else
#include <endian.h>
#endif
We can fix by changing <endian.h> to <sys/endian.h>. The best would be
somethings
like use a macro like __FREEBSD (defined if compiled on FreeBSD ) and have:
#elif __MACH__
#include <machine/endian.h>
#elif __FREEBSD
#include <sys/endian.h>
#else
#include <endian.h>
#endif
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer amdmi3 at FreeBSD.org
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list