Here's a potential fix for audio/caps-plugins. http://build-failures.rhaalovely.net/amd64/2018-04-10/audio/caps-plugins.log
I don't understand why this has become invalid with clang6. Index: Makefile =================================================================== RCS file: /cvs/ports/audio/caps-plugins/Makefile,v retrieving revision 1.9 diff -u -p -r1.9 Makefile --- Makefile 26 Jul 2017 22:45:15 -0000 1.9 +++ Makefile 12 Apr 2018 22:32:58 -0000 @@ -4,7 +4,7 @@ COMMENT = CAPS LADSPA plugins V = 0.9.24 DISTNAME = caps_${V} -REVISION = 1 +REVISION = 2 PKGNAME = caps-plugins-${V} CATEGORIES = audio EXTRACT_SUFX = .tar.bz2 Index: patches/patch-dsp_v4f_IIR2_h =================================================================== RCS file: /cvs/ports/audio/caps-plugins/patches/patch-dsp_v4f_IIR2_h,v retrieving revision 1.1 diff -u -p -r1.1 patch-dsp_v4f_IIR2_h --- patches/patch-dsp_v4f_IIR2_h 9 May 2015 08:00:55 -0000 1.1 +++ patches/patch-dsp_v4f_IIR2_h 12 Apr 2018 22:32:58 -0000 @@ -1,6 +1,7 @@ $OpenBSD: patch-dsp_v4f_IIR2_h,v 1.1 2015/05/09 08:00:55 robert Exp $ ---- dsp/v4f_IIR2.h.orig Tue Apr 28 08:36:38 2015 -+++ dsp/v4f_IIR2.h Tue Apr 28 08:37:03 2015 +Index: dsp/v4f_IIR2.h +--- dsp/v4f_IIR2.h.orig ++++ dsp/v4f_IIR2.h @@ -32,7 +32,7 @@ namespace DSP { @@ -10,3 +11,26 @@ $OpenBSD: patch-dsp_v4f_IIR2_h,v 1.1 201 inline float pow10f(float f) {return pow(10,f);} #endif +@@ -45,8 +45,8 @@ class RBJv4 + { + v4f_t w = v4f_2pi * f; + +- sin = v4f_map<__builtin_sinf> (w); +- cos = v4f_map<__builtin_cosf> (w); ++ sin = v4f_map<sinf> (w); ++ cos = v4f_map<cosf> (w); + + alpha = sin / (v4f_2 * Q); + } +@@ -549,9 +549,9 @@ class Resonator4fBank + { + v4f_t * a = state + i*Item; + f *= v4f_2pi; +- a[0] = v4f_map<__builtin_sinf> (f); ++ a[0] = v4f_map<sinf> (f); + a[0] *= gain; +- a[5] = v4f_map<__builtin_cosf> (f); ++ a[5] = v4f_map<cosf> (f); + set_r (i, r); + } + void set_r (int i, v4f_t r) Index: patches/patch-dsp_v4f_h =================================================================== RCS file: patches/patch-dsp_v4f_h diff -N patches/patch-dsp_v4f_h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-dsp_v4f_h 12 Apr 2018 22:32:58 -0000 @@ -0,0 +1,19 @@ +$OpenBSD$ + +Index: dsp/v4f.h +--- dsp/v4f.h.orig ++++ dsp/v4f.h +@@ -150,10 +150,10 @@ class Sin4f + { + v4f_t *y = data(); + v4f_t w = -v4f_pi * f; +- y[0] = v4f_map<__builtin_sinf> (w); +- y[1] = v4f_map<__builtin_sinf> (v4f_2 * w); ++ y[0] = v4f_map<sinf> (w); ++ y[1] = v4f_map<cosf> (v4f_2 * w); + /* b in above scalar implementation is y[2] in the flat data */ +- y[2] = v4f_2 * v4f_map<__builtin_cosf> (w); /* b */ ++ y[2] = v4f_2 * v4f_map<cosf> (w); /* b */ + z = 0; + } + -- Christian "naddy" Weisgerber na...@mips.inka.de