git: af8f77fa0144 - main - emulators/fceux: update to 2.6.6

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 10 Sep 2023 16:14:06 UTC
The branch main has been updated by fuz:

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

commit af8f77fa01441cb1ab7af3fc63d04e33c89bc71a
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-09-08 01:30:32 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-09-10 16:13:04 +0000

    emulators/fceux: update to 2.6.6
    
    Apply two upstream patches to fix the build on non-x86.  The libarchive
    dependency was previously overlooked.
    
    Changelog: https://fceux.com/web/help/WhatsNew266.html
---
 emulators/fceux/Makefile | 10 +++++++---
 emulators/fceux/distinfo | 10 +++++++---
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/emulators/fceux/Makefile b/emulators/fceux/Makefile
index 4b43ab654542..82d974ce4b01 100644
--- a/emulators/fceux/Makefile
+++ b/emulators/fceux/Makefile
@@ -1,9 +1,12 @@
 PORTNAME=	fceux
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.6.5
-PORTREVISION=	2
+DISTVERSION=	2.6.6
 CATEGORIES=	emulators games
 
+PATCH_SITES=	https://github.com/TASEmulators/fceux/commit/
+PATCHFILES=	396096223ec58ff7f437ec0de7275240946531c5.diff:-p1 \
+		d2ee6351c08518c866bb48d89f58a67bb36931fc.diff:-p1
+
 MAINTAINER=	fuz@FreeBSD.org
 COMMENT=	NES emulator
 WWW=		https://fceux.com
@@ -11,7 +14,8 @@ WWW=		https://fceux.com
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libminizip.so:archivers/minizip
+LIB_DEPENDS=	libarchive.so:archivers/libarchive \
+		libminizip.so:archivers/minizip
 
 USES=		cmake desktop-file-utils gl lua:51 pkgconfig qt:5 sdl
 USE_GL=		gl glu
diff --git a/emulators/fceux/distinfo b/emulators/fceux/distinfo
index 3d914f5dca23..7d06afc861f1 100644
--- a/emulators/fceux/distinfo
+++ b/emulators/fceux/distinfo
@@ -1,3 +1,7 @@
-TIMESTAMP = 1676212323
-SHA256 (TASEmulators-fceux-v2.6.5_GH0.tar.gz) = 78156f3685c55849351178773940871ed607bc4fc37f233fdab58c232e3208fa
-SIZE (TASEmulators-fceux-v2.6.5_GH0.tar.gz) = 23299626
+TIMESTAMP = 1694135542
+SHA256 (TASEmulators-fceux-v2.6.6_GH0.tar.gz) = 0320241d45c6d609f7aeb6f85fdd9019552047206b0864a7f9fddff15b004daa
+SIZE (TASEmulators-fceux-v2.6.6_GH0.tar.gz) = 23330274
+SHA256 (396096223ec58ff7f437ec0de7275240946531c5.diff) = ab77ef293252ac5bad91ffd299dfcdac326ebcad821ac84526c45d8af329d973
+SIZE (396096223ec58ff7f437ec0de7275240946531c5.diff) = 1134
+SHA256 (d2ee6351c08518c866bb48d89f58a67bb36931fc.diff) = 08c352b145c040bd5db7162fbaa69e49914d550f2d90fc0f7da6aa48888d7572
+SIZE (d2ee6351c08518c866bb48d89f58a67bb36931fc.diff) = 1038