x11/kitty: rewritten and updated to v0.20.3

Alexis Praga alexis.praga at gmail.com
Mon May 17 19:23:52 UTC 2021


Hi guys,

Thanks to Li-Wen Hsu [1], I now know the new version does not build on 11.4 with :
    /usr/bin/ld: unrecognized option '-plugin'
Which seems due to the '-flto' flag according to this issue :
    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230137
I've tried the fix mentioned there (adding '-fuse-ld=lld'), but it's not a flag recognized by clang.

Removing '-flto' allows to build kitty but some tests fails.
Does someone knows on how to get around this compiler issue (only for 11x)?

Thanks,


[1] https://gist.github.com/lwhsu/589d93b41f6a2f7b6fe5a7f23d0424f2

Alexis Praga <alexis.praga at gmail.com> writes:

> Hi all,
>
> I've rewritten the suggested port for kitty which was waiting here :
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233010.
>
> With newer versions, porting is much easier and I have a functional
> kitty on my system.
>
> As I'm new to porting files, any guidance or advice is appreciated.
>
> Thanks !


More information about the freebsd-ports mailing list