Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2020 08:12:16 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552214 - head/audio/eq10q-lv2
Message-ID:  <202010130812.09D8CGWW073052@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Oct 13 08:12:16 2020
New Revision: 552214
URL: https://svnweb.freebsd.org/changeset/ports/552214

Log:
  audio/eq10q-lv2: Fix build
  
  It was broken when audio/lv2 was upgraded to 1.18.0.
  
  MFH:		2020Q4

Modified:
  head/audio/eq10q-lv2/Makefile

Modified: head/audio/eq10q-lv2/Makefile
==============================================================================
--- head/audio/eq10q-lv2/Makefile	Tue Oct 13 07:56:13 2020	(r552213)
+++ head/audio/eq10q-lv2/Makefile	Tue Oct 13 08:12:16 2020	(r552214)
@@ -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
 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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010130812.09D8CGWW073052>