--- Makefile (revision 518557) +++ Makefile (working copy) @@ -12,8 +12,6 @@ LICENSE= MIT -BROKEN_powerpc64= fails to compile: City.cpp: byteswap.h: No such file or directory - USE_GITHUB= yes GH_ACCOUNT= gvnn3 --- files/patch-City.cpp (nonexistent) +++ files/patch-City.cpp (working copy) @@ -0,0 +1,13 @@ +--- City.cpp.orig 2019-11-30 12:02:22 UTC ++++ City.cpp +@@ -64,6 +64,10 @@ static uint32 UNALIGNED_LOAD32(const char *p) { + #define bswap_32(x) OSSwapInt32(x) + #define bswap_64(x) OSSwapInt64(x) + ++#elif defined(__FreeBSD__) ++#include ++#define bswap_32(x) bswap32(x) ++#define bswap_64(x) bswap64(x) + #else + #include + #endif