View | Details | Raw Unified | Return to bug 242323
Collapse All | Expand All

(-)Makefile (-2 lines)
Lines 12-19 Link Here
12
12
13
LICENSE=	MIT
13
LICENSE=	MIT
14
14
15
BROKEN_powerpc64=	fails to compile: City.cpp: byteswap.h: No such file or directory
16
17
USE_GITHUB=	yes
15
USE_GITHUB=	yes
18
GH_ACCOUNT=	gvnn3
16
GH_ACCOUNT=	gvnn3
19
17
(-)files/patch-City.cpp (+13 lines)
Line 0 Link Here
1
--- City.cpp.orig	2019-11-30 12:02:22 UTC
2
+++ City.cpp
3
@@ -64,6 +64,10 @@ static uint32 UNALIGNED_LOAD32(const char *p) {
4
 #define bswap_32(x) OSSwapInt32(x)
5
 #define bswap_64(x) OSSwapInt64(x)
6
 
7
+#elif defined(__FreeBSD__)
8
+#include <sys/endian.h>
9
+#define bswap_32(x) bswap32(x)
10
+#define bswap_64(x) bswap64(x)
11
 #else
12
 #include <byteswap.h>
13
 #endif

Return to bug 242323