From 3219e6595a4fd4f1ff928876011055022c756f95 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Tue, 13 Oct 2020 09:18:44 +0000 Subject: [PATCH] MFH: r552214 audio/eq10q-lv2: Fix build It was broken when audio/lv2 was upgraded to 1.18.0. Approved by: ports-secteam (joneum) --- audio/eq10q-lv2/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/audio/eq10q-lv2/Makefile b/audio/eq10q-lv2/Makefile index a4ffb31ff854..60126a7b89cd 100644 --- a/audio/eq10q-lv2/Makefile +++ b/audio/eq10q-lv2/Makefile @@ -13,8 +13,6 @@ COMMENT= Parametric equalizer LV2 audio plugin LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN= midside_ui.cpp:40:50: error: unknown type name '_LV2UI_Descriptor'; did you mean 'LV2UI_Descriptor'? - BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ @@ -35,5 +33,9 @@ SSE_CMAKE_ON= -DPORT_SIMD_FLAGS:STRING="-msse -mfpmath=sse" post-patch: @${REINPLACE_CMD} -e 's/pow10(/pow(10,/g' \ ${WRKSRC}/gui/widgets/*.cpp + # fix for audio/lv2 1.18.0 based on: https://sourceforge.net/p/eq10q/bugs/23/ +.for f in gui/eq10q_ui.cpp gui/dyn_ui.cpp gui/bassup_ui.cpp gui/midside_ui.cpp + cd ${WRKSRC} && ${REINPLACE_CMD} -e 's/const _LV2UI_Descriptor/const LV2UI_Descriptor/' ${f} +.endfor .include