git: a208f76c57a5 - main - x11/wlrctl: unbreak build after b991d37c58ed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Aug 2025 10:41:09 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a208f76c57a5ecb5723b9a0d95d6371b7ded507f
commit a208f76c57a5ecb5723b9a0d95d6371b7ded507f
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/wlrctl: unbreak build after b991d37c58ed
ld: error: undefined symbol: round
>>> referenced by pointer.c
>>> wlrctl.p/pointer.c.o:(prepare_pointer)
>>> referenced by pointer.c
>>> wlrctl.p/pointer.c.o:(prepare_pointer)
>>> referenced by pointer.c
>>> wlrctl.p/pointer.c.o:(prepare_pointer)
>>> referenced 1 more times
Reported by: pkg-fallout
---
x11/wlrctl/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/x11/wlrctl/Makefile b/x11/wlrctl/Makefile
index cff919bca6b1..66e0cc15433e 100644
--- a/x11/wlrctl/Makefile
+++ b/x11/wlrctl/Makefile
@@ -17,6 +17,7 @@ LIB_DEPENDS= libwayland-client.so:graphics/wayland \
libxkbcommon.so:x11/libxkbcommon
USES= compiler:c11 meson pkgconfig
+LDFLAGS+= -lm # https://cgit.FreeBSD.org/ports/commit/?id=b991d37c58ed
PLIST_FILES= bin/${PORTNAME} \
share/zsh/site-functions/_${PORTNAME}