View | Details | Raw Unified | Return to bug 232325 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +2 lines)
Lines 16-26 Link Here
16
BROKEN_aarch64=	Fails to compile: error: _compile_time_assert__ declared as an array with a negative size
16
BROKEN_aarch64=	Fails to compile: error: _compile_time_assert__ declared as an array with a negative size
17
BROKEN_sparc64=	Doesn't compile on sparc64
17
BROKEN_sparc64=	Doesn't compile on sparc64
18
18
19
USES=		localbase
19
USES=		dos2unix localbase
20
USE_CXXSTD=	c++98
20
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
21
USE_SDL=	sdl mixer image
22
USE_SDL=	sdl mixer image
22
23
23
CXXFLAGS+=	-Wno-c++11-narrowing
24
CXXFLAGS+=	-O0  # XXX: segfaults with optimization, need to investigate
24
CXXFLAGS+=	-O0  # XXX: segfaults with optimization, need to investigate
25
25
26
SUB_FILES=	spacejunk
26
SUB_FILES=	spacejunk
(-)files/patch-src_pmask.h (+11 lines)
Line 0 Link Here
1
--- src/pmask.h.orig	2018-10-16 15:21:01 UTC
2
+++ src/pmask.h
3
@@ -36,7 +36,7 @@ extern "C" {
4
 //e.g. 4 for 16-bit ints, 5 for 32-bit ints, 6 for 64-bit ints
5
 //don't worry about setting it incorrectly
6
 //you'll get a compile error if you do, not a run-time error
7
-#if defined(__alpha__) || defined(__ia64__) || defined(__x86_64__)
8
+#if defined(__alpha__) || defined(__ia64__) || defined(__x86_64__) || defined(__powerpc64__)
9
 #define MASK_WORD_BITBITS 6
10
 #else
11
 #define MASK_WORD_BITBITS 5

Return to bug 232325