Pretty much just the subject: lfdiff.c (re)defines the global variable cksum even though lfdiff gets linked with transcript.o (which already defines this).
The CLANG shipped with FreeBSD 13 is now "particular" about this when linking & throws an error.
It looks like a trivial one-line fix - delete the definition from lfdiff.c line 47 - so not really worth a PR.
(Testing this internally to be certain but it seems like the obvious and correct answer.)
Pretty much just the subject: lfdiff.c (re)defines the global variable
cksumeven though lfdiff gets linked with transcript.o (which already defines this).The CLANG shipped with FreeBSD 13 is now "particular" about this when linking & throws an error.
It looks like a trivial one-line fix - delete the definition from
lfdiff.cline 47 - so not really worth a PR.(Testing this internally to be certain but it seems like the obvious and correct answer.)