mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
games/diaspora: fix architecture detection on 64-bit non-amd64 and unbreak aarch64
This commit is contained in:
parent
7eb506d8b2
commit
a20b29fff5
@ -23,8 +23,6 @@ LICENSE_FILE_VOLITION= ${WRKSRC}/COPYING
|
||||
LICENSE_FILE_GPLv2= ${WRKDIR_DIASPORA}/wxlauncher/GPLv2.txt
|
||||
LICENSE_PERMS_VOLITION= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
|
||||
|
||||
BROKEN_aarch64= Fails to compile: cast from pointer to smaller type loses information
|
||||
|
||||
LIB_DEPENDS= libjansson.so:devel/jansson \
|
||||
libpng.so:graphics/png \
|
||||
libogg.so:audio/libogg \
|
||||
|
11
games/diaspora/files/patch-code_globalincs_pstypes.h
Normal file
11
games/diaspora/files/patch-code_globalincs_pstypes.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- code/globalincs/pstypes.h.orig 2023-11-24 00:40:45 UTC
|
||||
+++ code/globalincs/pstypes.h
|
||||
@@ -18,7 +18,7 @@
|
||||
#include <memory.h>
|
||||
#include <string.h>
|
||||
|
||||
-#if defined( __x86_64__ ) || defined( _WIN64 )
|
||||
+#if defined( __LP64__ ) || defined( _WIN64 )
|
||||
#define IAM_64BIT 1
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user