Re: git: b991d37c58ed - main - graphics/wayland: Remove libm from pkgconfig Libs

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 08 Aug 2025 13:07:58 UTC
Emmanuel Vadot <manu@FreeBSD.org> writes:

>     This changes seems to confuse CMake for some unknown reason so for now
>     remove libm from the Libs section, it's in the Libs.private so it's picked up
>     just fine.
>
>     Fixes:  9e3878cf8428 ("graphics/wayland: Update to 1.24.0")
>     Sponsored by:   Beckhoff Automation GmbH & Co. KG

Do you plan to file a bug upstream? If you break API fixes cannot be upstreamed.

# https://gitlab.freedesktop.org/wayland/wayland/-/commit/02ad102e2d2d
$ pkg info -ql wayland | xargs fgrep -w round
/usr/local/include/wayland-util.h:      return (wl_fixed_t) (round(d * 256.0));

https://pkg-status.freebsd.org/beefy22/data/142amd64-default/d4c2b214226f/logs/errors/kanshi-1.7.0.log
worked around by https://cgit.FreeBSD.org/ports/commit/?id=3e6a8fffef6d6b0318e7ee3cf8fe3dc09352c9cd

https://pkg-status.freebsd.org/beefy22/data/142amd64-default/d4c2b214226f/logs/errors/wlrctl-0.2.2_1.log
worked around by https://cgit.FreeBSD.org/ports/commit/?id=a208f76c57a5ecb5723b9a0d95d6371b7ded507f

https://pkg-status.freebsd.org/beefy22/data/142amd64-default/d4c2b214226f/logs/errors/phoc-0.48.0.log
worked around by https://cgit.FreeBSD.org/ports/commit/?id=f2d9466e25660bc430e3d092df9f9bb7f660ce84