Created attachment 209071 [details] patch Needs C99: media.c:46: error: 'for' loop initial declaration used outside C99 mode Also make this port respect CFLAGS. BTW, is the debug mode by default ok? I think ports should use release mode by default with debug available via option.
Approved as mentor (builds on ppcports) pending maintainer review.
A commit references this bug: Author: ehaupt Date: Thu Nov 14 20:09:11 UTC 2019 New revision: 517610 URL: https://svnweb.freebsd.org/changeset/ports/517610 Log: Fix build on GCC architectures PR: 241894 Submitted by: pkubaj MFH: 2019Q4 (blanket) Changes: head/net-mgmt/driftnet/Makefile head/net-mgmt/driftnet/files/patch-configure.ac
A commit references this bug: Author: ehaupt Date: Thu Nov 14 20:10:06 UTC 2019 New revision: 517611 URL: https://svnweb.freebsd.org/changeset/ports/517611 Log: MFH: r517610 Fix build on GCC architectures PR: 241894 Submitted by: pkubaj Approved by: portmgr blanket Changes: _U branches/2019Q4/ branches/2019Q4/net-mgmt/driftnet/Makefile branches/2019Q4/net-mgmt/driftnet/files/patch-configure.ac
Committed, thanks!