git: f2d9466e2566 - main - x11-wm/phoc: unbreak build after b991d37c58ed
Date: Fri, 08 Aug 2025 10:41:10 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f2d9466e25660bc430e3d092df9f9bb7f660ce84
commit f2d9466e25660bc430e3d092df9f9bb7f660ce84
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2025-08-08 10:35:55 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2025-08-08 10:41:00 +0000
x11-wm/phoc: unbreak build after b991d37c58ed
ld: error: undefined symbol: round
>>> referenced by layer-shell-effects.c
>>> examples/layer-shell-effects.p/layer-shell-effects.c.o:(drag_surface_handle_dragged)
>>> referenced by layer-shell-effects.c
>>> examples/layer-shell-effects.p/layer-shell-effects.c.o:(main)
Reported by: pkg-fallout
---
x11-wm/phoc/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/x11-wm/phoc/Makefile b/x11-wm/phoc/Makefile
index 639b7f0b819d..010f1b762c71 100644
--- a/x11-wm/phoc/Makefile
+++ b/x11-wm/phoc/Makefile
@@ -30,6 +30,7 @@ GL_ACCOUNT= World/Phosh
GL_TUPLE= World/Phosh:gmobile:v0.2.0:gmobile/subprojects/gmobile \
GNOME:gvdb:4758f6f:gvdb/subprojects/gvdb
MESON_ARGS= -Dembed-wlroots=disabled
+LDFLAGS+= -lm # https://cgit.FreeBSD.org/ports/commit/?id=b991d37c58ed
PLIST_FILES= bin/${PORTNAME} \
bin/${PORTNAME}-outputs-states \
share/man/man1/${PORTNAME}-outputs-states.1.gz \