git: 43fdc9cbc0ed - main - games/spacejunk: fix build on aarch64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sat, 10 Oct 2026 18:16:44 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=43fdc9cbc0ed1b7ff4b1c933df20a2d57e7eec0b

commit 43fdc9cbc0ed1b7ff4b1c933df20a2d57e7eec0b
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-10-10 13:35:55 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-10-10 18:15:40 +0000

    games/spacejunk: fix build on aarch64
    
    Add aarch64 to the 64-bit word list in pmask.h and drop BROKEN_aarch64.
---
 games/spacejunk/Makefile                | 2 --
 games/spacejunk/files/patch-src_pmask.h | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/games/spacejunk/Makefile b/games/spacejunk/Makefile
index 8239eecece29..f42d6bb59709 100644
--- a/games/spacejunk/Makefile
+++ b/games/spacejunk/Makefile
@@ -11,8 +11,6 @@ WWW=		https://spacejunk.sourceforge.net/
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN_aarch64=	Fails to compile: error: _compile_time_assert__ declared as an array with a negative size
-
 USES=		dos2unix localbase sdl
 USE_CXXSTD=	c++98
 GNU_CONFIGURE=	yes
diff --git a/games/spacejunk/files/patch-src_pmask.h b/games/spacejunk/files/patch-src_pmask.h
index 9eedafb99492..2fd2d7cefe72 100644
--- a/games/spacejunk/files/patch-src_pmask.h
+++ b/games/spacejunk/files/patch-src_pmask.h
@@ -5,7 +5,7 @@
  //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__)
++#if defined(__alpha__) || defined(__ia64__) || defined(__x86_64__) || defined(__powerpc64__) || defined(__aarch64__)
  #define MASK_WORD_BITBITS 6
  #else
  #define MASK_WORD_BITBITS 5