Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2023 04:13:47 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 5de226dd3f85 - 2023Q3 - x11/kitty: unbreak build after aec9c6c9cf90
Message-ID:  <202307050413.3654DlZG093583@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307050413.3654DlZG093583>