From 69a6447e1c737b521e077acc4c53c6601560d0fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Apestegu=C3=ADa?= Date: Tue, 13 Oct 2020 06:13:20 +0000 Subject: [PATCH] emulators/fs-uae: Fix build on -CURRENT By returning proper type in function. PR: 250294 Submitted by: sirdice@gmail.com (maintainer) --- emulators/fs-uae/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emulators/fs-uae/Makefile b/emulators/fs-uae/Makefile index 76e943c11a43..02f858de00c4 100644 --- a/emulators/fs-uae/Makefile +++ b/emulators/fs-uae/Makefile @@ -3,6 +3,7 @@ PORTNAME= fs-uae PORTVERSION= 3.0.5 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= http://fs-uae.net/stable/${PORTVERSION}/ @@ -49,5 +50,7 @@ post-patch: @${REINPLACE_CMD} -e 's|= bind|= ::bind|' \ ${WRKSRC}/src/od-fs/bsdsocket_posix.cpp \ ${WRKSRC}/src/support/socket.cpp + @${REINPLACE_CMD} -e 's|return NULL|return 0|' \ + ${WRKSRC}/src/memory.cpp .include