Skip to content

Commit

Permalink
x11/kitty: unbreak build after aec9c6c
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jbeich committed Jul 5, 2023
1 parent 4502c16 commit 4ee5c96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x11/kitty/Makefile
Expand Up @@ -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:
Expand Down

0 comments on commit 4ee5c96

Please sign in to comment.