Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2020 00:18:39 +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: r532053 - head/audio/sonic-visualiser
Message-ID:  <202004190018.03J0IdVZ066490@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Apr 19 00:18:39 2020
New Revision: 532053
URL: https://svnweb.freebsd.org/changeset/ports/532053

Log:
  audio/sonic-visualiser: Fix the build error
  
  qt5-core-5.14.2 has QTimer::start() marked as deprecated, but -Werror promoted this warning to error.
  
  PR:		236000
  Reported by:	Robert Cina <transitive@gmail.com>

Modified:
  head/audio/sonic-visualiser/Makefile

Modified: head/audio/sonic-visualiser/Makefile
==============================================================================
--- head/audio/sonic-visualiser/Makefile	Sat Apr 18 23:11:05 2020	(r532052)
+++ head/audio/sonic-visualiser/Makefile	Sun Apr 19 00:18:39 2020	(r532053)
@@ -68,6 +68,8 @@ PULSEAUDIO_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
 
 post-patch: # remove the bundled vamp-plugin-sdk to avoid possible confusion
 	@${RM} -r ${WRKSRC}/vamp-plugin-sdk
+	# workaround for https://sourceforge.net/p/sv1/bugs/280/, also see Bug#236000
+	@${FIND} ${WRKSRC} -name "*.pro" -o -name "*.pri" | ${XARGS} ${REINPLACE_CMD} -e 's|-Werror| |'
 
 do-install:
 .for f in sonic-visualiser piper-vamp-simple-server piper-convert checker/vamp-plugin-load-checker



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