summaryrefslogtreecommitdiff
path: root/x11-wm/notion/files/notion-4.0.4-c23.patch
blob: 7ba10a440f0aafd19398c3837f34e732f1b5802f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
https://github.com/raboof/notion/pull/389

From 89c92f49abfeae1168ad343d4f529a52d0edd78c Mon Sep 17 00:00:00 2001
From: David Seifert <soap@gentoo.org>
Date: Sun, 9 Nov 2025 11:41:32 +0100
Subject: [PATCH] C23 fixes

Bug: https://bugs.gentoo.org/946693
--- a/libtu/objp.h
+++ b/libtu/objp.h
@@ -26,7 +26,7 @@ DECLSTRUCT(ClassDescr){
     ClassDescr *ancestor;
     int funtab_n;
     DynFunTab *funtab;
-    void (*destroy_fn)();
+    void (*destroy_fn)(Obj *obj);
 };
 
 #define OBJ_TYPESTR(OBJ) ((OBJ) ? ((Obj*)OBJ)->obj_type->name : NULL)