summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/geany/geany-plugins/geany-plugins-2.0-gcc15.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/geany/geany-plugins/geany-plugins-2.0-gcc15.patch')
-rw-r--r--meta-oe/recipes-devtools/geany/geany-plugins/geany-plugins-2.0-gcc15.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/geany/geany-plugins/geany-plugins-2.0-gcc15.patch b/meta-oe/recipes-devtools/geany/geany-plugins/geany-plugins-2.0-gcc15.patch
new file mode 100644
index 0000000000..563416bf92
--- /dev/null
+++ b/meta-oe/recipes-devtools/geany/geany-plugins/geany-plugins-2.0-gcc15.patch
@@ -0,0 +1,30 @@
1Fix build with GCC-15
2
3Upstream-Status: Backport [https://github.com/geany/geany-plugins/pull/1389]
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5--- a/git-changebar/src/gcb-plugin.c
6+++ b/git-changebar/src/gcb-plugin.c
7@@ -1410,9 +1410,9 @@ read_setting_boolean (GKeyFile *kf,
8 const gchar *key,
9 gpointer value)
10 {
11- gboolean *bool = value;
12+ gboolean *boolean = value;
13
14- *bool = utils_get_setting_boolean (kf, group, key, *bool);
15+ *boolean = utils_get_setting_boolean (kf, group, key, *boolean);
16 }
17
18 static void
19@@ -1421,9 +1421,9 @@ write_setting_boolean (GKeyFile *kf,
20 const gchar *key,
21 gconstpointer value)
22 {
23- const gboolean *bool = value;
24+ const gboolean *boolean = value;
25
26- g_key_file_set_boolean (kf, group, key, *bool);
27+ g_key_file_set_boolean (kf, group, key, *boolean);
28 }
29
30 /* loads @filename in @kf and return %FALSE if failed, emitting a warning