mail/filtermail fails to build with 13.0-CURRENT

Dimitry Andric dim at FreeBSD.org
Sat Jun 27 17:59:24 UTC 2020


On 27 Jun 2020, at 17:56, Mike Clarke <jmc-freebsd2 at milibyte.co.uk> wrote:
> As someone with very little experience with C++ I'd welcome advice on how to fix this for 13.0-
> CURRENT. It builds without problem on 12.1-RELEASE
...
> rcfile.ll:151:14: error: no viable overloaded '='
>        yyin = new ifstream (sub_file.c_str ());
>        ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This appears to be caused by a recent update to contrib/flex from 2.5.37 (7 years old) to 2.6.4, in r362333, where upstream changed yyin and yyout from pointers to references:

https://github.com/westes/flex/commit/336a1deaa57975f34cd732d656d1c0cbe3d5233a

Unfortunately this can break existing .ll files. They will have to be patched, but this is made more difficult by having the new version of flex in 13-CURRENT.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20200627/1df2cbb2/attachment.sig>


More information about the freebsd-ports mailing list