From a2de77956a42a5713dc7c99e73ce2d9a8fa2b681 Mon Sep 17 00:00:00 2001 From: Stephane D'Alu Date: Fri, 27 Oct 2023 12:03:06 +0200 Subject: [PATCH] games/libretro-opera: update to 0.20230730 PR: 274647 --- games/libretro-opera/Makefile | 12 +++++------- games/libretro-opera/distinfo | 6 +++--- .../files/patch-libretro-common_rthreads_rthreads.c | 11 +++++++++++ 3 files changed, 19 insertions(+), 10 deletions(-) create mode 100644 games/libretro-opera/files/patch-libretro-common_rthreads_rthreads.c diff --git a/games/libretro-opera/Makefile b/games/libretro-opera/Makefile index 54a505881de86..72fe738e71c6a 100644 --- a/games/libretro-opera/Makefile +++ b/games/libretro-opera/Makefile @@ -1,6 +1,5 @@ PORTNAME= libretro-opera -PORTVERSION= 0.20210214 -PORTREVISION= 1 +DISTVERSION= 0.20230730 CATEGORIES= games MAINTAINER= ports@FreeBSD.org @@ -9,19 +8,18 @@ WWW= https://github.com/libretro/opera-libretro LICENSE= GPLv2 -USES= compiler:c++11-lib gmake gl +USES= compiler:c++11-lib gmake USE_LDCONFIG= yes -USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= opera-libretro -GH_TAGNAME= 5781f68 +GH_TAGNAME= 100ae1e7decefe1f17d98cfcb9f2af4ff8452691 PLIST_FILES= lib/libretro/opera_libretro.so do-install: - ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; - ${INSTALL_LIB} ${WRKSRC}/opera_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; + ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro + ${INSTALL_LIB} ${WRKSRC}/opera_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro .include diff --git a/games/libretro-opera/distinfo b/games/libretro-opera/distinfo index c0ed4b979f496..b71e8918a0c10 100644 --- a/games/libretro-opera/distinfo +++ b/games/libretro-opera/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1613703820 -SHA256 (libretro-opera-libretro-0.20210214-5781f68_GH0.tar.gz) = f10f600360b32234e51874c75924cde297e5158e75203b2fb470b4ac27af2f27 -SIZE (libretro-opera-libretro-0.20210214-5781f68_GH0.tar.gz) = 775355 +TIMESTAMP = 1698314838 +SHA256 (libretro-opera-libretro-0.20230730-100ae1e7decefe1f17d98cfcb9f2af4ff8452691_GH0.tar.gz) = 48da27e7cfea9b23169d856188ad4c2fcc1a34240fb4c5af6c4a52b165e4c6ba +SIZE (libretro-opera-libretro-0.20230730-100ae1e7decefe1f17d98cfcb9f2af4ff8452691_GH0.tar.gz) = 539019 diff --git a/games/libretro-opera/files/patch-libretro-common_rthreads_rthreads.c b/games/libretro-opera/files/patch-libretro-common_rthreads_rthreads.c new file mode 100644 index 0000000000000..9de51d115a0bd --- /dev/null +++ b/games/libretro-opera/files/patch-libretro-common_rthreads_rthreads.c @@ -0,0 +1,11 @@ +--- libretro-common/rthreads/rthreads.c.orig 2023-11-02 10:48:48 UTC ++++ libretro-common/rthreads/rthreads.c +@@ -55,7 +55,7 @@ + #include + #endif + +-#if defined(VITA) || defined(BSD) || defined(ORBIS) ++#if defined(VITA) || defined(BSD) || defined(ORBIS) || (__FreeBSD__ <= 12) + #include + #endif +