Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2014 16:18:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 196355] New: games/minetest 0.4.11 cannot build, endian.h location involve
Message-ID:  <bug-196355-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: monwarez@mailoo.org
             Flags: maintainer-feedback?(amdmi3@FreeBSD.org)
          Assignee: amdmi3@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@FreeBSD.org> ---
Auto-assigned to maintainer amdmi3@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196355-13>