git: 5de226dd3f85 - 2023Q3 - x11/kitty: unbreak build after aec9c6c9cf90
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Jul 2023 04:13:47 UTC
The branch 2023Q3 has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5de226dd3f85bb0d25b3646a92fbe8099c76042b
commit 5de226dd3f85bb0d25b3646a92fbe8099c76042b
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-07-05 04:07:19 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-07-05 04:13:43 +0000
x11/kitty: unbreak build after aec9c6c9cf90
glfw/wl_window.c:522:17: error: enumeration value 'XDG_TOPLEVEL_STATE_SUSPENDED' not handled in switch [-Werror,-Wswitch]
switch (*state) {
^
Reported by: pkg-fallout
Inspired by: Alpine Linux
(cherry picked from commit 4ee5c96d5b5dc6ebcab12f7f2af98915111282b5)
---
x11/kitty/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/x11/kitty/Makefile b/x11/kitty/Makefile
index f14183f324ca..9cbf400d6b25 100644
--- a/x11/kitty/Makefile
+++ b/x11/kitty/Makefile
@@ -93,9 +93,10 @@ EXTRA_PATCHES= ${PATCHDIR}/extra-patch-kitty_data-types.h
.endif
# For librsync, we need to set header and library path
+# --ignore-compiler-warnings is for https://github.com/kovidgoyal/kitty/issues/6422
do-build:
(cd ${WRKSRC} && \
- ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py linux-package --update-check-interval 0 --extra-include-dirs ${LOCALBASE}/include/ --extra-library-dirs ${LOCALBASE}/lib)
+ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py linux-package --ignore-compiler-warnings --update-check-interval 0 --extra-include-dirs ${LOCALBASE}/include/ --extra-library-dirs ${LOCALBASE}/lib)
${FIND} ${INSTALL_WRKSRC} -name __pycache__ -type d -exec ${RM} -r -- {} +
do-install: