With the latest pkgsrc math/mpcomplex fails to build for me with the following:
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -O2 -pipe -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT mul.lo -MD -MP -MF .deps/mul.Tpo -c -o mul.lo mul.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/var/obj/pkg/math/mpcomplex/work/.buildlink/include -O2 -pipe -D_FORTIFY_SOURCE=2 -MT mul.lo -MD -MP -MF .deps/mul.Tpo -c mul.c -fPIC -DPIC -o .libs/mul.o
mul.c:175:1: error: conflicting types for 'mpfr_fmma'
mpfr_fmma (mpfr_ptr z, mpfr_srcptr a, mpfr_srcptr b, mpfr_srcptr c,
^
In file included from mpc.h:25:0,
from mpc-impl.h:30,
from mul.c:22:
/var/obj/pkg/math/mpcomplex/work/.buildlink/include/mpfr.h:731:21: note: previous declaration of 'mpfr_fmma' was here
__MPFR_DECLSPEC int mpfr_fmma (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_srcptr,
^
I'd updated from 1.0.3 to 1.1.0 locally and everything seems to work (my test case was building gcc48 to then build xentool48).
Changelog below - any reason I shouldn't commit (and do I need to PKGREVISION biump anything - the new version updates from libmpc.so.3.0.0 to libmpc.so.3.1.0
David