1
0
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:
Piotr Kubaj 2023-12-01 11:53:02 +01:00
parent 7eb506d8b2
commit a20b29fff5
2 changed files with 11 additions and 2 deletions

View File

@ -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 \

View 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