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
Auto-assigned to maintainer amdmi3@FreeBSD.org
Please post the full build log, as I cannot reproduce this.
A commit references this bug: Author: amdmi3 Date: Tue Dec 30 00:02:38 UTC 2014 New revision: 375811 URL: https://svnweb.freebsd.org/changeset/ports/375811 Log: - Fix build with FREETYPE enabled PR: 196355 Submitted by: monwarez@mailoo.org Changes: head/games/minetest/files/patch-src__cguittfont__irrUString.h
Please ignore the request, I was able to reproduce it - FREETYPE option needs to be enabled. Fixed, thanks!