pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/aranym



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Dec 18 14:06:16 UTC 2025

Modified Files:
        pkgsrc/emulators/aranym: Makefile PLIST distinfo options.mk
Added Files:
        pkgsrc/emulators/aranym/patches: patch-src_hostscreen.cpp

Log Message:
aranym: Add support for SunOS.

Required making the mmu optional, so I build tested this on NetBSD
and Linux also.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 pkgsrc/emulators/aranym/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/emulators/aranym/PLIST
cvs rdiff -u -r1.18 -r1.19 pkgsrc/emulators/aranym/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/aranym/options.mk
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/aranym/patches/patch-src_hostscreen.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/aranym/Makefile
diff -u pkgsrc/emulators/aranym/Makefile:1.56 pkgsrc/emulators/aranym/Makefile:1.57
--- pkgsrc/emulators/aranym/Makefile:1.56       Thu Oct 23 20:36:46 2025
+++ pkgsrc/emulators/aranym/Makefile    Thu Dec 18 14:06:16 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2025/10/23 20:36:46 wiz Exp $
+# $NetBSD: Makefile,v 1.57 2025/12/18 14:06:16 nia Exp $
 
 DISTNAME=      aranym_1.1.0.orig
 PKGNAME=       ${DISTNAME:S/_/-/:S/.orig//}
@@ -26,9 +26,10 @@ USE_LANGUAGES=       c c++
 GNU_CONFIGURE= yes
 MANCOMPRESSED= yes
 
+FORCE_CXX_STD= gnu++98
+
 CHECK_PORTABILITY_SKIP=        src/Unix/MacOSX/scripts/gen_machfiles.sh
 
-CONFIGURE_ARGS+=       --enable-fullmmu
 CONFIGURE_ARGS+=       --enable-atc=full
 CONFIGURE_ARGS+=       --disable-sdltest
 
@@ -71,7 +72,6 @@ CONFIGURE_ARGS+=      --disable-opengl
 .  endif
 .endif
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-.include "../../math/mpfr/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../mk/jpeg.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/emulators/aranym/PLIST
diff -u pkgsrc/emulators/aranym/PLIST:1.8 pkgsrc/emulators/aranym/PLIST:1.9
--- pkgsrc/emulators/aranym/PLIST:1.8   Tue Oct  1 14:54:59 2019
+++ pkgsrc/emulators/aranym/PLIST       Thu Dec 18 14:06:16 2025
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.8 2019/10/01 14:54:59 nia Exp $
-bin/aranym-mmu
+@comment $NetBSD: PLIST,v 1.9 2025/12/18 14:06:16 nia Exp $
+${PLIST.nommu}bin/aranym
+${PLIST.mmu}bin/aranym-mmu
 man/man1/aranym-mmu.1
 man/man1/aranym.1
 share/applications/aranym-mmu.desktop

Index: pkgsrc/emulators/aranym/distinfo
diff -u pkgsrc/emulators/aranym/distinfo:1.18 pkgsrc/emulators/aranym/distinfo:1.19
--- pkgsrc/emulators/aranym/distinfo:1.18       Tue Oct 26 10:23:46 2021
+++ pkgsrc/emulators/aranym/distinfo    Thu Dec 18 14:06:16 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2021/10/26 10:23:46 nia Exp $
+$NetBSD: distinfo,v 1.19 2025/12/18 14:06:16 nia Exp $
 
 BLAKE2s (aranym_1.1.0.orig.tar.gz) = 05e5d7043d8a5aa64b0430cfbf0f552c298aaa24af31bf993043b028470b53ee
 SHA512 (aranym_1.1.0.orig.tar.gz) = 723b1a7c80532734e1dea288dbffd66746d9c7d1302ccb0259248a26aac5dedc7f66a134929de7064686af6c676d10918d90e2cf58cb010fd445979945177b51
@@ -10,3 +10,4 @@ SHA1 (patch-ab) = 471cd0af0571eb63142c79
 SHA1 (patch-ad) = 3f715630ead6f0cb10d0bf71751c07d12e58e0f3
 SHA1 (patch-ae) = 21fecc68e1b2a3548d57f2908264122ed950dfdb
 SHA1 (patch-configure) = 1520c311d534e3aae1d257279cecc5ff39be6a4b
+SHA1 (patch-src_hostscreen.cpp) = 8600eb8268830a057f54f217ec44849cc329b469

Index: pkgsrc/emulators/aranym/options.mk
diff -u pkgsrc/emulators/aranym/options.mk:1.2 pkgsrc/emulators/aranym/options.mk:1.3
--- pkgsrc/emulators/aranym/options.mk:1.2      Fri Aug 30 17:48:07 2019
+++ pkgsrc/emulators/aranym/options.mk  Thu Dec 18 14:06:16 2025
@@ -1,7 +1,10 @@
-# $NetBSD: options.mk,v 1.2 2019/08/30 17:48:07 nia Exp $
+# $NetBSD: options.mk,v 1.3 2025/12/18 14:06:16 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.aranym
-PKG_SUPPORTED_OPTIONS= opengl
+PKG_SUPPORTED_OPTIONS= opengl aranym-mmu
+
+PKG_SUGGESTED_OPTIONS.NetBSD+= aranym-mmu
+PKG_SUGGESTED_OPTIONS.Linux+=  aranym-mmu
 
 .include "../../mk/bsd.options.mk"
 
@@ -11,3 +14,16 @@ CONFIGURE_ARGS+=     --enable-opengl
 .else
 CONFIGURE_ARGS+=       --disable-opengl
 .endif
+
+PLIST_VARS+=           mmu nommu
+
+.if !empty(PKG_OPTIONS:Maranym-mmu)
+PLIST.mmu=             yes
+CONFIGURE_ARGS+=       --enable-fullmmu
+CONFIGURE_ARGS+=       --enable-fpe=mpfr
+.include "../../math/mpfr/buildlink3.mk"
+.else
+PLIST.nommu=           yes
+CONFIGURE_ARGS+=       --disable-fullmmu
+CONFIGURE_ARGS+=       --enable-fpe=uae
+.endif

Added files:

Index: pkgsrc/emulators/aranym/patches/patch-src_hostscreen.cpp
diff -u /dev/null pkgsrc/emulators/aranym/patches/patch-src_hostscreen.cpp:1.1
--- /dev/null   Thu Dec 18 14:06:16 2025
+++ pkgsrc/emulators/aranym/patches/patch-src_hostscreen.cpp    Thu Dec 18 14:06:16 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_hostscreen.cpp,v 1.1 2025/12/18 14:06:16 nia Exp $
+
+Include <limits.h> for PATH_MAX.
+
+--- src/hostscreen.cpp.orig    2025-12-17 14:09:05.185109860 +0000
++++ src/hostscreen.cpp
+@@ -25,6 +25,7 @@
+ 
+ #include "newcpu.h"
+ #include <errno.h>
++#include <limits.h>
+ 
+ #include "SDL_compat.h"
+ #include <vector>



Home | Main Index | Thread Index | Old Index