Clang 15 enforces the use of void in an otherwise empty parameter list.
Maintainer informed via mail
Created attachment 240396 [details] The individual patches in Git diff format
Created attachment 240397 [details] All patches rolled into one
Created attachment 240408 [details] Patch to the ports tree Hi Trond, Thanks for the patch. It applies to kitty's code itself so it would be a good idea to report it upstream. I attached a new patch that applies to the actual port. Cheers.
Committed, Thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=75c3b1ee6f8398a8c4dedbda90611048ccd101c8 commit 75c3b1ee6f8398a8c4dedbda90611048ccd101c8 Author: Trond Endrestol <Trond.Endrestol@ximalas.info> AuthorDate: 2023-02-25 16:58:44 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2023-03-10 11:13:50 +0000 x11/kitty: add void to functions with empty parameter list Clang 15 enforces the use of void in an otherwise empty parameter list. PR: 269814 Reported by: Trond.Endrestol@ximalas.info Approved by: alexis.praga@free.fr (maintainer timeout > 2 weeks) x11/kitty/files/patch-glfw_dbus__glfw.c (new) | 20 ++++++++++++++++++++ x11/kitty/files/patch-glfw_wl__window.c (new) | 17 +++++++++++++++++ .../files/patch-kittens_choose_unix__compat.c (new) | 11 +++++++++++ x11/kitty/files/patch-kitty_colors.c (new) | 20 ++++++++++++++++++++ x11/kitty/files/patch-kitty_cursor.c (new) | 11 +++++++++++ x11/kitty/files/patch-kitty_data-types.c (new) | 19 +++++++++++++++++++ x11/kitty/files/patch-kitty_gl-wrapper.h (new) | 20 ++++++++++++++++++++ x11/kitty/files/patch-kitty_gl.c (new) | 11 +++++++++++ x11/kitty/files/patch-kitty_glfw.c (new) | 20 ++++++++++++++++++++ x11/kitty/files/patch-kitty_graphics.c (new) | 11 +++++++++++ x11/kitty/files/patch-kitty_line.c (new) | 11 +++++++++++ x11/kitty/files/patch-kitty_mouse.c (new) | 20 ++++++++++++++++++++ x11/kitty/files/patch-kitty_shaders.c (new) | 20 ++++++++++++++++++++ x11/kitty/files/patch-kitty_state.c (new) | 11 +++++++++++ 14 files changed, 222 insertions(+)