Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gimp for openSUSE:Factory checked in 
at 2025-04-08 17:50:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gimp (Old)
 and      /work/SRC/openSUSE:Factory/.gimp.new.1907 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gimp"

Tue Apr  8 17:50:15 2025 rev:151 rq:1267702 version:3.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/gimp/gimp.changes        2025-03-26 
21:19:24.436512868 +0100
+++ /work/SRC/openSUSE:Factory/.gimp.new.1907/gimp.changes      2025-04-08 
17:50:45.389301979 +0200
@@ -1,0 +2,12 @@
+Mon Apr  7 14:17:14 UTC 2025 - Marcus Rueckert <mrueck...@suse.de>
+
+- all distros actually ship with python 3.6 we can have it enabled
+  all the time
+
+-------------------------------------------------------------------
+Sat Apr  5 16:16:26 UTC 2025 - Michael Gorse <mgo...@suse.com>
+
+- Add 0001-Avoid-type-names-and-keywords.patch from Fedora: fixes
+  build with gcc 15.
+
+-------------------------------------------------------------------

New:
----
  0001-Avoid-type-names-and-keywords.patch

BETA DEBUG BEGIN:
  New:
- Add 0001-Avoid-type-names-and-keywords.patch from Fedora: fixes
  build with gcc 15.
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gimp.spec ++++++
--- /var/tmp/diff_new_pack.GW3fE3/_old  2025-04-08 17:50:46.333341548 +0200
+++ /var/tmp/diff_new_pack.GW3fE3/_new  2025-04-08 17:50:46.333341548 +0200
@@ -79,12 +79,8 @@
 %global abiver 5
 %global apiver 3.0
 
-%if 0%{?sle_version}
-%bcond_with python_plugin
-%else
+# all distros actually ship with python 3.6 we can have it enabled all the time
 %bcond_without python_plugin
-%endif
-
 
 %define pkg_name gimp
 
@@ -104,6 +100,7 @@
 Patch1:         gimp-2.99.19-cm-system-monitor-profile-by-default.patch
 Patch2:         gimp-2.99.19-external-help-browser.patch
 Patch3:         gimp-2.99.19-no-phone-home-default.patch
+Patch4:         0001-Avoid-type-names-and-keywords.patch
 %if %{with debug_in_build_gimp}
 BuildRequires:  gdb
 %endif

++++++ 0001-Avoid-type-names-and-keywords.patch ++++++
>From e7536d72a662478651d0389a09e526225b95e72b Mon Sep 17 00:00:00 2001
From: Nils Philippsen <n...@tiptoe.de>
Date: Wed, 29 Jan 2025 12:51:53 +0100
Subject: [PATCH] Avoid type names and keywords

This fixes various errors when compiling with current toolchains and/or
-std=c23.

Signed-off-by: Nils Philippsen <n...@tiptoe.de>
---
 libgimpconfig/gimpconfig-serialize.c |  6 +++---
 plug-ins/selection-to-path/types.h   | 13 ++++---------
 2 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/libgimpconfig/gimpconfig-serialize.c 
b/libgimpconfig/gimpconfig-serialize.c
index 377b237163..b3abca229d 100644
--- a/libgimpconfig/gimpconfig-serialize.c
+++ b/libgimpconfig/gimpconfig-serialize.c
@@ -522,10 +522,10 @@ gimp_config_serialize_value (const GValue *value,
 
   if (G_VALUE_HOLDS_BOOLEAN (value))
     {
-      gboolean bool;
+      gboolean boolean;
 
-      bool = g_value_get_boolean (value);
-      g_string_append (str, bool ? "yes" : "no");
+      boolean = g_value_get_boolean (value);
+      g_string_append (str, boolean ? "yes" : "no");
       return TRUE;
     }
 
diff --git a/plug-ins/selection-to-path/types.h 
b/plug-ins/selection-to-path/types.h
index 9b040fa3a1..1521937b15 100644
--- a/plug-ins/selection-to-path/types.h
+++ b/plug-ins/selection-to-path/types.h
@@ -19,15 +19,10 @@
 #ifndef TYPES_H
 #define TYPES_H
 
-/* Booleans.  */
-typedef enum { false = 0, true = 1 } boolean;
-
-/* The X11 library defines `FALSE' and `TRUE', and so we only want to
-   define them if necessary.  */
-#ifndef FALSE
-#define FALSE false
-#define TRUE true
-#endif /* FALSE */
+/* Cope with C23 */
+typedef int boolean;
+#define false FALSE
+#define true TRUE
 
 /* The usual null-terminated string.  */
 typedef char *string;
-- 
2.48.1

Reply via email to