This patch fixes the build for emulators/fs-uae for sparc64.

ok?

(cc maintainer)

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/emulators/fs-uae/Makefile,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile
--- Makefile    26 Jul 2019 22:00:42 -0000      1.33
+++ Makefile    13 Feb 2020 04:55:00 -0000
@@ -7,7 +7,7 @@ V =                     2.4.0
 MODPY_EGG_VERSION =    ${V}
 DISTNAME =             fs-uae-$V
 CATEGORIES =           emulators
-REVISION =             10
+REVISION =             11
 
 HOMEPAGE =             https://fs-uae.net/
 MAINTAINER =           Edd Barrett <e...@openbsd.org>
@@ -35,6 +35,10 @@ USE_GMAKE =          Yes
 .include <bsd.port.arch.mk>
 .if ${PROPERTIES:Mclang}
 CXXFLAGS =             -std=c++03
+.endif
+
+.if ${MACHINE} == "sparc64"
+CXXFLAGS +=            -fpermissive
 .endif
 
 MAKE_FLAGS +=          prefix=${PREFIX} CXXFLAGS="${CXXFLAGS}"

Reply via email to