git: f98963103e6b - main - emulators/fs-uae: Update to 3.1.66

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Tue, 28 Feb 2023 09:50:05 UTC
The branch main has been updated by fernape:

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

commit f98963103e6bc21762da4b1de65c1a966668a170
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2023-02-27 10:32:33 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-02-28 09:45:28 +0000

    emulators/fs-uae: Update to 3.1.66
    
    PR:             269841
    Reported by:    sirdice@gmail.com (maintainer)
---
 emulators/fs-uae/Makefile | 14 +++++++++++---
 emulators/fs-uae/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/emulators/fs-uae/Makefile b/emulators/fs-uae/Makefile
index c166dcb6964e..a6a9a1be1dc9 100644
--- a/emulators/fs-uae/Makefile
+++ b/emulators/fs-uae/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	fs-uae
-PORTVERSION=	3.1.35
+PORTVERSION=	3.1.66
 CATEGORIES=	emulators
-MASTER_SITES=	http://fs-uae.net/stable/${PORTVERSION}/
+MASTER_SITES=	https://fs-uae.net/files/FS-UAE/Stable/${PORTVERSION}/
 
 MAINTAINER=	sirdice@gmail.com
 COMMENT=	Amiga emulator
@@ -16,7 +16,7 @@ LIB_DEPENDS=	libmpeg2.so:multimedia/libmpeg2 \
 		libpng.so:graphics/png
 
 USES=		compiler:c11 desktop-file-utils gettext gl gmake gnome \
-		localbase pkgconfig sdl shared-mime-info xorg
+		localbase pkgconfig sdl shared-mime-info tar:xz xorg
 
 USE_SDL=	sdl2
 USE_GL=		gl
@@ -36,6 +36,14 @@ JIT_CONFIGURE_ENABLE=	jit
 
 .include <bsd.port.pre.mk>
 
+# The following is actually meant for lld 15.0 and later, but the ports
+# framework does not support LINKER_TYPE and LINKER_VERSION yet.
+.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 150
+# Turn off checking of dynamic relocations, to avoid lld diagnostics about
+# possibly incorrect addend values.
+LDFLAGS_i386+=  -Wl,--no-check-dynamic-relocations
+.endif
+
 # JIT is not supported on non-x86 make sure it's off
 .if ${ARCH} != amd64 && ${ARCH} != i386
 CONFIGURE_ARGS+=	--disable-jit
diff --git a/emulators/fs-uae/distinfo b/emulators/fs-uae/distinfo
index c296a038da1e..74a413230416 100644
--- a/emulators/fs-uae/distinfo
+++ b/emulators/fs-uae/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1634809576
-SHA256 (fs-uae-3.1.35.tar.gz) = f1c92d011d2fdc863b8424c10f68f13b89c0beaae4c5f845cc9b9e3895f21f31
-SIZE (fs-uae-3.1.35.tar.gz) = 4817547
+TIMESTAMP = 1676276168
+SHA256 (fs-uae-3.1.66.tar.xz) = 606e1868b500413d69bd33bb469f8fd08d6c08988801f17b7dd022f3fbe23832
+SIZE (fs-uae-3.1.66.tar.xz) = 3627688