FreeBSD Bugzilla – Attachment 198220 Details for
Bug 232325
games/spacejunk: fix build with GCC-based architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v2
spacejunk.patch (text/plain), 1.56 KB, created by
Piotr Kubaj
on 2018-10-16 15:36:32 UTC
(
hide
)
Description:
v2
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2018-10-16 15:36:32 UTC
Size:
1.56 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 482123) >+++ Makefile (working copy) >@@ -16,11 +16,11 @@ > BROKEN_aarch64= Fails to compile: error: _compile_time_assert__ declared as an array with a negative size > BROKEN_sparc64= Doesn't compile on sparc64 > >-USES= localbase >+USES= dos2unix localbase >+USE_CXXSTD= c++98 > GNU_CONFIGURE= yes > USE_SDL= sdl mixer image > >-CXXFLAGS+= -Wno-c++11-narrowing > CXXFLAGS+= -O0 # XXX: segfaults with optimization, need to investigate > > SUB_FILES= spacejunk >Index: files/patch-src_pmask.h >=================================================================== >--- files/patch-src_pmask.h (nonexistent) >+++ files/patch-src_pmask.h (working copy) >@@ -0,0 +1,11 @@ >+--- src/pmask.h.orig 2018-10-16 15:21:01 UTC >++++ src/pmask.h >+@@ -36,7 +36,7 @@ extern "C" { >+ //e.g. 4 for 16-bit ints, 5 for 32-bit ints, 6 for 64-bit ints >+ //don't worry about setting it incorrectly >+ //you'll get a compile error if you do, not a run-time error >+-#if defined(__alpha__) || defined(__ia64__) || defined(__x86_64__) >++#if defined(__alpha__) || defined(__ia64__) || defined(__x86_64__) || defined(__powerpc64__) >+ #define MASK_WORD_BITBITS 6 >+ #else >+ #define MASK_WORD_BITBITS 5 > >Property changes on: files/patch-src_pmask.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 232325
:
198215
| 198220