From 4200e929528d760e874fa2cf8fd31b538c50d30a Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Thu, 8 Dec 2016 09:12:51 +0000 Subject: [PATCH] audacity: rebuild with gcc6 Fixes #5317. --- srcpkgs/audacity/patches/fix-vamp-build.patch | 11 +++++++++++ srcpkgs/audacity/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/audacity/patches/fix-vamp-build.patch diff --git a/srcpkgs/audacity/patches/fix-vamp-build.patch b/srcpkgs/audacity/patches/fix-vamp-build.patch new file mode 100644 index 00000000000..8bf946dbb04 --- /dev/null +++ b/srcpkgs/audacity/patches/fix-vamp-build.patch @@ -0,0 +1,11 @@ +--- src/effects/vamp/LoadVamp.cpp.orig ++++ src/effects/vamp/LoadVamp.cpp +@@ -266,7 +266,7 @@ Plugin *VampEffectsModule::FindPlugin(co + Plugin *vp = PluginLoader::getInstance()->loadPlugin(key, 48000); // rate doesn't matter here + if (!vp) + { +- return false; ++ return 0; + } + + // We limit the listed plugin outputs to those whose results can diff --git a/srcpkgs/audacity/template b/srcpkgs/audacity/template index 57e0fd1b9fe..3c613efc03e 100644 --- a/srcpkgs/audacity/template +++ b/srcpkgs/audacity/template @@ -1,7 +1,7 @@ # Template file for 'audacity' pkgname=audacity version=2.1.2 -revision=2 +revision=3 wrksrc="${pkgname}-Audacity-${version}" build_style=gnu-configure configure_args="--with-libsamplerate"