File: fix-ftbfs-gcc15.patch

package info (click to toggle)
growl-for-linux 0.8.5-10
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,464 kB
  • sloc: sh: 4,121; ansic: 3,748; makefile: 74
file content (22 lines) | stat: -rw-r--r-- 705 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Kentaro Hayashi <kenhys@xdump.org>
Date: Sun, 7 Sep 2025 20:32:00 +0900
Subject: Fix ftbfs with GCC 15

Closes: #1096783
---
 gol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gol.c b/gol.c
index 5ce814e..ca307bb 100644
--- a/gol.c
+++ b/gol.c
@@ -2071,7 +2071,7 @@ load_subscribe_plugins() {
     g_module_symbol(handle, "subscribe_description", (void**) &sp->description);
     g_module_symbol(handle, "subscribe_thumbnail", (void**) &sp->thumbnail);
     const char* const name = sp->name ? sp->name() : NULL;
-    if (name && sp->init && !sp->init(&sc)) {
+    if (name && sp->init && !sp->init()) {
       g_module_close(sp->handle);
       g_free(sp);
       continue;