Created attachment 217598 [details] Patch to fix the "duplicate_symbol" whine I note that x11-wm/tvwm shows up on the list that Mark Linimon provided of "broken ports": tvtwm-pl11_1.log: duplicate_symbol As noted in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248859, I am nearly certain that the fix for that port (x11-wm/piewm) also applies to tvtwm (as tvtwm is a direct ancestor of piewm). I will provide a patch, but I am not the maintainer for this port (x11-wm/tvtwm), nor am I a committer. I will try testing it tomorrow (when I can afford the time to boot my laptop to head).
(In reply to david from comment #0) Patch looks good and builds fine; committing...
A commit references this bug: Author: kevans Date: Fri Aug 28 18:11:24 UTC 2020 New revision: 546780 URL: https://svnweb.freebsd.org/changeset/ports/546780 Log: x11-wm/tvtwm: Fix build with LLVM 11 The fix for this is identical to that of x11-wm/piewm; remove the patch that explicitly de-externs yylineno when it's explicitly defined in another compilation unit (by flex). PR: 248976 MFH: 2020Q3 (-fno-common build fix) Changes: head/x11-wm/tvtwm/files/patch-gram.y
A commit references this bug: Author: kevans Date: Fri Aug 28 18:12:06 UTC 2020 New revision: 546781 URL: https://svnweb.freebsd.org/changeset/ports/546781 Log: MFH: r546780 x11-wm/tvtwm: Fix build with LLVM 11 The fix for this is identical to that of x11-wm/piewm; remove the patch that explicitly de-externs yylineno when it's explicitly defined in another compilation unit (by flex). PR: 248976 Approved by: ports-secteam (implicit, -fno-common build fix) Changes: _U branches/2020Q3/ branches/2020Q3/x11-wm/tvtwm/files/patch-gram.y