summaryrefslogtreecommitdiff
path: root/games/libretro-beetle_bsnes
diff options
context:
space:
mode:
authorDaniel Menelkir <dmenelkir@gmail.com>2022-04-07 09:58:11 -0700
committerNeel Chauhan <nc@FreeBSD.org>2022-04-07 09:59:16 -0700
commiteebe7c01a1d284307460195e764a703156215abe (patch)
treea831403d85dd00a96d62306fc45608bc1b9c5f0b /games/libretro-beetle_bsnes
parent32dfc9b254a9478752e74ef2372da24cb81cd001 (diff)
downloadfreebsd-ports-eebe7c01a1d284307460195e764a703156215abe.zip
libretro: Update to 0.20220327
PR: 263117
Diffstat (limited to 'games/libretro-beetle_bsnes')
-rw-r--r--games/libretro-beetle_bsnes/Makefile4
-rw-r--r--games/libretro-beetle_bsnes/distinfo6
-rw-r--r--games/libretro-beetle_bsnes/files/patch-mednafen_snes_src_lib_libco_aarch64.c17
3 files changed, 14 insertions, 13 deletions
diff --git a/games/libretro-beetle_bsnes/Makefile b/games/libretro-beetle_bsnes/Makefile
index f62cfb90a376..ef1ec00d0244 100644
--- a/games/libretro-beetle_bsnes/Makefile
+++ b/games/libretro-beetle_bsnes/Makefile
@@ -1,5 +1,5 @@
PORTNAME= libretro-beetle_bsnes
-PORTVERSION= 0.20210101
+PORTVERSION= 0.20220406
CATEGORIES= games
MAINTAINER= dmenelkir@gmail.com
@@ -13,7 +13,7 @@ USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= libretro
GH_PROJECT= beetle-bsnes-libretro
-GH_TAGNAME= b65ded5bde278c18af538c687db9b72c995b220a
+GH_TAGNAME= d770563
PLIST_FILES= lib/libretro/mednafen_snes_libretro.so
diff --git a/games/libretro-beetle_bsnes/distinfo b/games/libretro-beetle_bsnes/distinfo
index f1c604b585b1..c11476ff1ae1 100644
--- a/games/libretro-beetle_bsnes/distinfo
+++ b/games/libretro-beetle_bsnes/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1610087175
-SHA256 (libretro-beetle-bsnes-libretro-0.20210101-b65ded5bde278c18af538c687db9b72c995b220a_GH0.tar.gz) = d595ced2999dc6d1de0976b658f66c19b551633da991256a20bc76e5266fd221
-SIZE (libretro-beetle-bsnes-libretro-0.20210101-b65ded5bde278c18af538c687db9b72c995b220a_GH0.tar.gz) = 547533
+TIMESTAMP = 1649322567
+SHA256 (libretro-beetle-bsnes-libretro-0.20220406-d770563_GH0.tar.gz) = 9a297fc58135e4ae1892cbea620efc6ef14e75b453d21563fc03e50fbd204831
+SIZE (libretro-beetle-bsnes-libretro-0.20220406-d770563_GH0.tar.gz) = 548782
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
index 9ea4b83ad5f5..08bc8b70cc0a 100644
--- 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
@@ -1,17 +1,18 @@
---- mednafen/snes/src/lib/libco/aarch64.c.orig 2020-04-28 06:21:33 UTC
+--- mednafen/snes/src/lib/libco/aarch64.c.orig 2022-04-07 09:05:20 UTC
+++ mednafen/snes/src/lib/libco/aarch64.c
-@@ -12,7 +12,13 @@
- #include <stdint.h>
+@@ -15,6 +15,15 @@
+ #include <malloc.h>
+ #endif
- #ifndef IOS
--#include <malloc.h>
++#ifndef __BSD__
+#include <sys/param.h>
+
+void *
+memalign(size_t align, size_t size)
+{
-+ return (aligned_alloc(align, roundup(size, align)));
++ return (aligned_alloc(align, roundup(size, align)));
+}
- #endif
-
++
#ifdef __cplusplus
+ extern "C" {
+ #endif