git: 9e6c40395fd8 - main - games/libretro-beetle_bsnes: rename to games/libretro-mednafen_bsnes

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Tue, 07 Nov 2023 00:21:44 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9e6c40395fd8d9adb91571b5a527dfe6f1a1f715

commit 9e6c40395fd8d9adb91571b5a527dfe6f1a1f715
Author:     Stephane D'Alu <sdalu@sdalu.com>
AuthorDate: 2023-10-27 10:23:48 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-11-07 00:17:19 +0000

    games/libretro-beetle_bsnes: rename to games/libretro-mednafen_bsnes
    
    PR:             274647
---
 MOVED                                                  |  1 +
 games/Makefile                                         |  2 +-
 .../files/patch-mednafen_snes_src_lib_libco_aarch64.c  | 18 ------------------
 .../Makefile                                           |  6 +++---
 .../distinfo                                           |  0
 .../pkg-descr                                          |  0
 6 files changed, 5 insertions(+), 22 deletions(-)

diff --git a/MOVED b/MOVED
index 3f87d062c04f..6df24b8cd47d 100644
--- a/MOVED
+++ b/MOVED
@@ -7960,3 +7960,4 @@ www/sfnt2woff||2023-11-02|Has expired: Superseded by WOFF 2.0, please consider u
 textproc/kibana7||2023-11-02|Has expired: Depends on EOL NodeJS 16
 devel/electron22|devel/electron24|2023-11-02|Has expired: Depends on EOL NodeJS 16
 www/hedgedoc||2023-11-02|Has expired: Depends on EOL NodeJS 16
+games/libretro-beetle_bsnes|games/libretro-mednafen_bsnes|2023-10-26|Follow naming of libretro-super build script
diff --git a/games/Makefile b/games/Makefile
index 3b7339247ff8..bc9a61455065 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -497,7 +497,6 @@
     SUBDIR += libretro
     SUBDIR += libretro-2048
     SUBDIR += libretro-a5200
-    SUBDIR += libretro-beetle_bsnes
     SUBDIR += libretro-beetle_gba
     SUBDIR += libretro-beetle_lynx
     SUBDIR += libretro-beetle_ngp
@@ -532,6 +531,7 @@
     SUBDIR += libretro-mame2000
     SUBDIR += libretro-mame2003
     SUBDIR += libretro-mame2003_plus
+    SUBDIR += libretro-mednafen_bsnes
     SUBDIR += libretro-melonds
     SUBDIR += libretro-mgba
     SUBDIR += libretro-mu
diff --git a/games/libretro-beetle_bsnes/files/patch-mednafen_snes_src_lib_libco_aarch64.c b/games/libretro-beetle_bsnes/files/patch-mednafen_snes_src_lib_libco_aarch64.c
deleted file mode 100644
index 08bc8b70cc0a..000000000000
--- a/games/libretro-beetle_bsnes/files/patch-mednafen_snes_src_lib_libco_aarch64.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- mednafen/snes/src/lib/libco/aarch64.c.orig	2022-04-07 09:05:20 UTC
-+++ mednafen/snes/src/lib/libco/aarch64.c
-@@ -15,6 +15,15 @@
- #include <malloc.h>
- #endif
- 
-+#ifndef __BSD__
-+#include <sys/param.h>
-+
-+void *
-+memalign(size_t align, size_t size)
-+{
-+        return (aligned_alloc(align, roundup(size, align)));
-+}
-+
- #ifdef __cplusplus
- extern "C" {
- #endif
diff --git a/games/libretro-beetle_bsnes/Makefile b/games/libretro-mednafen_bsnes/Makefile
similarity index 82%
rename from games/libretro-beetle_bsnes/Makefile
rename to games/libretro-mednafen_bsnes/Makefile
index 83e0856073b8..6425fad0fc43 100644
--- a/games/libretro-beetle_bsnes/Makefile
+++ b/games/libretro-mednafen_bsnes/Makefile
@@ -1,4 +1,4 @@
-PORTNAME=	libretro-beetle_bsnes
+PORTNAME=	libretro-mednafen_bsnes
 PORTVERSION=	0.20220406
 CATEGORIES=	games
 
@@ -19,7 +19,7 @@ GH_TAGNAME=	d770563
 PLIST_FILES=	lib/libretro/mednafen_snes_libretro.so
 
 do-install:
-	${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro;
-	${INSTALL_LIB} ${WRKSRC}/mednafen_snes_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro;
+	${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro
+	${INSTALL_LIB} ${WRKSRC}/mednafen_snes_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro
 
 .include <bsd.port.mk>
diff --git a/games/libretro-beetle_bsnes/distinfo b/games/libretro-mednafen_bsnes/distinfo
similarity index 100%
rename from games/libretro-beetle_bsnes/distinfo
rename to games/libretro-mednafen_bsnes/distinfo
diff --git a/games/libretro-beetle_bsnes/pkg-descr b/games/libretro-mednafen_bsnes/pkg-descr
similarity index 100%
rename from games/libretro-beetle_bsnes/pkg-descr
rename to games/libretro-mednafen_bsnes/pkg-descr