OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/kitty/Makefile,v
retrieving revision 1.9
diff -u -p -u -p -r1.9 Makefile
--- Makefile 2 Nov 2021 00:02:59 -0000 1.9
+++ Makefile 14 Nov 2021 17:46:50 -0000
@@ -10,7 +10,7 @@ DISTNAME = kitty-${MODPY_EGG_VERSION}
CATEGORIES = x11
HOMEPAGE = https://sw.kovidgoyal.net/kitty/
MAINTAINER = Thomas Frohwein <[email protected]>
-REVISION = 0
+REVISION = 1
# GPLv3+
PERMIT_PACKAGE = Yes
Index: patches/patch-setup_py
===================================================================
RCS file: /cvs/ports/x11/kitty/patches/patch-setup_py,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-setup_py
--- patches/patch-setup_py 23 Aug 2021 17:58:45 -0000 1.4
+++ patches/patch-setup_py 14 Nov 2021 17:46:50 -0000
@@ -2,6 +2,7 @@ $OpenBSD: patch-setup_py,v 1.4 2021/08/2
remove -O3 and -march=native optimizations
fix man directory
+disable wayland
Index: setup.py
--- setup.py.orig
@@ -38,6 +39,15 @@ Index: setup.py
)
ldflags = shlex.split(ldflags_)
ldflags.append('-shared')
+@@ -700,7 +698,7 @@ def find_c_files() -> Tuple[List[str], List[str]]:
+
+
+ def compile_glfw(compilation_database: CompilationDatabase) -> None:
+- modules = 'cocoa' if is_macos else 'x11 wayland'
++ modules = 'cocoa' if is_macos else 'x11'
+ for module in modules.split():
+ try:
+ genv = glfw.init_env(env, pkg_config, pkg_version,
at_least_version, test_compile, module)
@@ -805,8 +803,6 @@ def build_launcher(args: Options, launcher_dir: str =
cflags.append('-g')
if args.profile: