1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

games/libretro-melonds: update to 0.20230413

PR:		274647
This commit is contained in:
Stephane D'Alu 2023-10-27 12:04:32 +02:00 committed by Robert Clausecker
parent 4cb9d39fc0
commit de2a5ca3eb
4 changed files with 15 additions and 25 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= libretro-melonds
PORTVERSION= 0.20220712
DISTVERSION= 0.20230413
CATEGORIES= games
MAINTAINER= henry.hu.sh@gmail.com
@ -13,12 +13,12 @@ USES= compiler:c++17-lang gmake
USE_GITHUB= yes
GH_ACCOUNT= libretro
GH_PROJECT= melonDS
GH_TAGNAME= 490a66a
GH_TAGNAME= c6488c88cb4c7583dbcd61609e0eef441572fae8
PLIST_FILES= lib/libretro/melonds_libretro.so
do-install:
${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro;
${INSTALL_LIB} ${WRKSRC}/melonds_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro;
${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro
${INSTALL_LIB} ${WRKSRC}/melonds_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1662934834
SHA256 (libretro-melonDS-0.20220712-490a66a_GH0.tar.gz) = e12a41863f9018bb863d4e3f217cc23dd9b67a530f85655c1126471422511ffc
SIZE (libretro-melonDS-0.20220712-490a66a_GH0.tar.gz) = 2929298
TIMESTAMP = 1698314786
SHA256 (libretro-melonDS-0.20230413-c6488c88cb4c7583dbcd61609e0eef441572fae8_GH0.tar.gz) = bd232af7f8b0f491891893096bec6b6a60dc1671cf12907e67f4d6dbf668e0ed
SIZE (libretro-melonDS-0.20230413-c6488c88cb4c7583dbcd61609e0eef441572fae8_GH0.tar.gz) = 2936744

View File

@ -1,11 +1,11 @@
--- src/libretro/libretro-common/rthreads/rthreads.c.orig 2022-07-12 14:45:04 UTC
--- src/libretro/libretro-common/rthreads/rthreads.c.orig 2023-11-02 10:45:06 UTC
+++ src/libretro/libretro-common/rthreads/rthreads.c
@@ -67,6 +67,8 @@
#include <mach/mach.h>
@@ -58,7 +58,7 @@
#include <time.h>
#endif
-#if defined(VITA) || defined(BSD) || defined(ORBIS)
+#if defined(VITA) || defined(BSD) || defined(ORBIS) || (__FreeBSD__ <= 12)
#include <sys/time.h>
#endif
+#include <sys/time.h>
+
struct thread_data
{
void (*func)(void*);

View File

@ -1,10 +0,0 @@
--- src/libretro/platform.cpp.orig 2022-09-11 22:46:37 UTC
+++ src/libretro/platform.cpp
@@ -13,6 +13,7 @@
#include <unistd.h>
#include <arpa/inet.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#define socket_t int
#define sockaddr_t struct sockaddr
#define closesocket close