summaryrefslogtreecommitdiff
path: root/x11-misc/trayer/files/trayer-1.0-fix-incompatible-pointer-types.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/trayer/files/trayer-1.0-fix-incompatible-pointer-types.patch')
-rw-r--r--x11-misc/trayer/files/trayer-1.0-fix-incompatible-pointer-types.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-misc/trayer/files/trayer-1.0-fix-incompatible-pointer-types.patch b/x11-misc/trayer/files/trayer-1.0-fix-incompatible-pointer-types.patch
new file mode 100644
index 000000000000..e2d750641214
--- /dev/null
+++ b/x11-misc/trayer/files/trayer-1.0-fix-incompatible-pointer-types.patch
@@ -0,0 +1,19 @@
+Clang16 will not allow incompatible pointer types by default.
+
+Bug: https://bugs.gentoo.org/881081
+
+Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
+--- a/plugin.h
++++ b/plugin.h
+@@ -9,6 +9,8 @@
+ #include <stdio.h>
+ #include "panel.h"
+
++struct _plugin;
++
+ typedef struct {
+ /* common */
+ char *fname;
+--
+2.38.1
+