Seems the same error as here https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212159 The two patches works on 10.3 (I cannot test 11.0 and 12.0) except qt4 is on and libressl is Default_version.