From deb730f450ee1fde2b1d7e17d4865b56c3c09bb0 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 8 Feb 2019 20:26:06 +0000 Subject: [PATCH] - Fix build after SDL2_Mixer update Approved by: portmgr blanket --- games/dunelegacy/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/games/dunelegacy/Makefile b/games/dunelegacy/Makefile index 6eaea687bbf2..0e0adcb68529 100644 --- a/games/dunelegacy/Makefile +++ b/games/dunelegacy/Makefile @@ -19,4 +19,8 @@ GNU_CONFIGURE= yes USE_SDL= sdl2 mixer2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +post-patch: + @${REINPLACE_CMD} -e 's|MIX_INIT_FLUIDSYNTH|MIX_INIT_MID|g' \ + ${WRKSRC}/src/FileClasses/music/*.cpp + .include