From cbec1b03df4851e970666bdbfb2c399d3dbaa45c Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Sat, 17 May 2025 23:14:16 +0000 Subject: [PATCH] unclutter: fix gcc-15 build --- .../patches/unclutter-0002-fix-gcc-15-1-build.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/addons/addon-depends/chrome-depends/unclutter/patches/unclutter-0002-fix-gcc-15-1-build.patch diff --git a/packages/addons/addon-depends/chrome-depends/unclutter/patches/unclutter-0002-fix-gcc-15-1-build.patch b/packages/addons/addon-depends/chrome-depends/unclutter/patches/unclutter-0002-fix-gcc-15-1-build.patch new file mode 100644 index 0000000000..4fe266c13f --- /dev/null +++ b/packages/addons/addon-depends/chrome-depends/unclutter/patches/unclutter-0002-fix-gcc-15-1-build.patch @@ -0,0 +1,11 @@ +--- a/unclutter.c 2025-05-17 23:11:53.709868560 +0000 ++++ b/unclutter.c 2025-05-17 23:11:12.811903184 +0000 +@@ -73,7 +73,7 @@ + * window can disappear while we are trying to create the child. Trap and + * ignore these errors. + */ +-int (*defaulthandler)(); ++int (*defaulthandler)(Display *display, XErrorEvent *error); + int errorhandler(display,error) + Display *display; + XErrorEvent *error;