Created attachment 190050 [details] port patch Update www/squid-devel to 4.0.23
(In reply to timp87 from comment #0) Building fine in 10.3, 11 and 12-CURRENT amd64 but not in i386 arch. Kid.cc:93:42: error: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Werror,-Wformat] theName.termedBuf(), pid, Config.hopelessKidRevivalDelay); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. Needs to investigate or report upstream.
Created attachment 190900 [details] squid-devel-4.0.23.patch This patch attached includes a patch from upstream that fixes build on i386. Could you exec a runtime test?
(In reply to Danilo G. Baio from comment #2) Thanks a lot!
A commit references this bug: Author: dbaio Date: Fri Feb 23 13:35:44 UTC 2018 New revision: 462698 URL: https://svnweb.freebsd.org/changeset/ports/462698 Log: www/squid-devel: Update to 4.0.23, Fixes security vulnerabilities - Add a patch from upstream that fixes a problem when building on i386 arch Kid.cc:93:42: error: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Werror,-Wformat] theName.termedBuf(), pid, Config.hopelessKidRevivalDelay); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. - Remove CXXFLAGS with clang, not necessary anymore PR: 225447 Submitted by: timp87@gmail.com (maintainer) MFH: 2018Q1 Security: d5b6d151-1887-11e8-94f7-9c5c8e75236a Changes: head/www/squid-devel/Makefile head/www/squid-devel/distinfo head/www/squid-devel/files/patch-src_ipc_Kid.cc
A commit references this bug: Author: dbaio Date: Fri Feb 23 19:51:28 UTC 2018 New revision: 462737 URL: https://svnweb.freebsd.org/changeset/ports/462737 Log: MFH: r462698 www/squid-devel: Update to 4.0.23, Fixes security vulnerabilities - Add a patch from upstream that fixes a problem when building on i386 arch Kid.cc:93:42: error: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Werror,-Wformat] theName.termedBuf(), pid, Config.hopelessKidRevivalDelay); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. - Remove CXXFLAGS with clang, not necessary anymore PR: 225447 Submitted by: timp87@gmail.com (maintainer) Security: d5b6d151-1887-11e8-94f7-9c5c8e75236a Approved by: ports-secteam (swills) Changes: _U branches/2018Q1/ branches/2018Q1/www/squid-devel/Makefile branches/2018Q1/www/squid-devel/distinfo branches/2018Q1/www/squid-devel/files/patch-src_ipc_Kid.cc
Committed, thanks!