Created attachment 159377 [details] sysutils/b2sum build fix Build with 9.x's older Clang fails in SSE path (default on amd64) without -flax-vector-conversions. Ideally the addition of that CFLAG could be conditional upon CHOSEN_COMPILER_TYPE == "clang" && COMPILER_VERSION < 34, but those variables cannot be checked without a USES=compiler, which we only have in the OPENMP case, but in that case we know CHOSEN_COMPILER_TYPE == "gcc". Or, at least it should... compiler:openmp selects GCC on 10.x but selects Clang on 9.x. So, just add -flax-vector-conversions to CFLAGS for the whole SSE path, it should be harmless for newer compilers. While here, update the distfile. Upstream rolled a new one dated a few days later. The previous distfile had a few binaries in it.
A commit references this bug: Author: robak Date: Thu Aug 6 17:40:09 UTC 2015 New revision: 393664 URL: https://svnweb.freebsd.org/changeset/ports/393664 Log: sysutils/b2sum: update 0.0.20150529 -> 0.0.20150531 - Fix build on 9.x systems PR: 201981 Submitted by: Matthew Rezny <matthew@reztek.cz> (maintainer) Changes: head/sysutils/b2sum/Makefile head/sysutils/b2sum/distinfo
Committed with minor change, thanks!