Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gdm for openSUSE:Factory checked in at 2025-03-24 13:25:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gdm (Old) and /work/SRC/openSUSE:Factory/.gdm.new.2696 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gdm" Mon Mar 24 13:25:30 2025 rev:275 rq:1255057 version:48.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gdm/gdm.changes 2025-03-18 17:41:05.193001278 +0100 +++ /work/SRC/openSUSE:Factory/.gdm.new.2696/gdm.changes 2025-03-24 13:25:30.922956861 +0100 @@ -1,0 +2,12 @@ +Fri Mar 21 13:01:10 UTC 2025 - Dominique Leuenberger <dims...@opensuse.org> + +- Rebase/fix gdm-switch-to-tty1.patch to fix build against gcc 15. + +------------------------------------------------------------------- +Thu Mar 20 21:05:33 UTC 2025 - Bjørn Lie <bjorn....@gmail.com> + +- Add gdm-settings-utils_rename-variable.patch: Rename variable to + fix build with gcc 15 + (https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/273). + +------------------------------------------------------------------- New: ---- gdm-settings-utils_rename-variable.patch BETA DEBUG BEGIN: New: - Add gdm-settings-utils_rename-variable.patch: Rename variable to fix build with gcc 15 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdm.spec ++++++ --- /var/tmp/diff_new_pack.tiQuUz/_old 2025-03-24 13:25:31.910998029 +0100 +++ /var/tmp/diff_new_pack.tiQuUz/_new 2025-03-24 13:25:31.910998029 +0100 @@ -70,6 +70,8 @@ Patch5: gdm-switch-to-tty1.patch # PATCH-FIX-OPENSUSE gdm-initial-setup-hardening.patch boo#1140851, glgo#GNOME/gnome-initial-setup#76 fezh...@suse.com -- Prevent gnome-initial-setup running if any regular user has perviously logged into the system Patch6: gdm-initial-setup-hardening.patch +# PATCH-FIX-UPSTREAM gdm-settings-utils_rename-variable.patch -- Rename variable to fix build with gcc 15 +Patch7: gdm-settings-utils_rename-variable.patch ### NOTE: Keep please SLE-only patches at bottom (starting on 1000). # PATCH-FIX-SLE gdm-disable-gnome-initial-setup.patch bnc#1067976 qz...@suse.com -- Disable gnome-initial-setup runs before gdm, g-i-s will only serve for CJK people to choose the input-method after login. @@ -243,19 +245,9 @@ %lang_package %prep -# -N disables automatic patch application. %autosetup -N ### NON-SLE patches start from 0 to 999 -## Use "autopatch -m 0 -M 999" when there's no need to skip patches. -%if 0%{?is_opensuse} %autopatch -p1 -m 1 -M 999 -%else -%patch -P 1 -p1 -%patch -P 2 -p1 -%patch -P 4 -p1 -%patch -P 5 -p1 -%patch -P 6 -p1 -%endif %ifarch s390 s390x %patch -P 0 -p1 @@ -264,8 +256,7 @@ ### SLE and Leap only patches start at 1000 %if !0%{?is_opensuse} || 0%{?suse_version} <= 1600 ## Use this when there's no need to skip patches. -%patch -P 1000 -p1 -%patch -P 1001 -p1 +%autopatch -p1 -m 1000 %endif %build ++++++ gdm-settings-utils_rename-variable.patch ++++++ >From a5f9f274c9c902519336a489cfed0548206d2bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbys...@in.waw.pl> Date: Mon, 27 Jan 2025 14:01:23 +0100 Subject: [PATCH] gdm-settings-utils: rename variable to fix build with gcc 15 In GNU23 C++, bool is a keyword. Rename the variable to avoid syntax error. --- common/gdm-settings-utils.c | 8 ++++---- common/gdm-settings-utils.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/gdm-settings-utils.c b/common/gdm-settings-utils.c index 636be3a9e..da4c7aefb 100644 --- a/common/gdm-settings-utils.c +++ b/common/gdm-settings-utils.c @@ -287,16 +287,16 @@ gdm_settings_parse_boolean_as_value (gboolean boolval) /* adapted from GKeyFile */ gboolean gdm_settings_parse_value_as_boolean (const char *value, - gboolean *bool) + gboolean *boolval) { g_return_val_if_fail (value != NULL, FALSE); - g_return_val_if_fail (bool != NULL, FALSE); + g_return_val_if_fail (boolval != NULL, FALSE); if (g_ascii_strcasecmp (value, "true") == 0 || strcmp (value, "1") == 0) { - *bool = TRUE; + *boolval = TRUE; return TRUE; } else if (g_ascii_strcasecmp (value, "false") == 0 || strcmp (value, "0") == 0) { - *bool = FALSE; + *boolval = FALSE; return TRUE; } else { return FALSE; diff --git a/common/gdm-settings-utils.h b/common/gdm-settings-utils.h index 4f2362ce7..734d625c7 100644 --- a/common/gdm-settings-utils.h +++ b/common/gdm-settings-utils.h @@ -44,7 +44,7 @@ gboolean gdm_settings_parse_schemas (const char *fil GSList **list); gboolean gdm_settings_parse_value_as_boolean (const char *value, - gboolean *bool); + gboolean *boolval); gboolean gdm_settings_parse_value_as_integer (const char *value, int *intval); gboolean gdm_settings_parse_value_as_double (const char *value, -- GitLab ++++++ gdm-switch-to-tty1.patch ++++++ --- /var/tmp/diff_new_pack.tiQuUz/_old 2025-03-24 13:25:32.131007195 +0100 +++ /var/tmp/diff_new_pack.tiQuUz/_new 2025-03-24 13:25:32.147007863 +0100 @@ -6,13 +6,13 @@ +#define SHELLSCRIPT "\ +/bin/bash -c \ -+\'PROCESS=\"X Xwayland plymouth\"\;\ -+R=$(pidof $PROCESS)\;\ -+while [ $? == 0 ]\;\ -+do sleep 1\;\ -+ R=$(pidof $PROCESS)\;\ -+done\;\ -+systemd-cat echo Switch to tty1 Successfully\;\ ++\'PROCESS=\"X Xwayland plymouth\";\ ++R=$(pidof $PROCESS);\ ++while [ $? == 0 ];\ ++do sleep 1;\ ++ R=$(pidof $PROCESS);\ ++done;\ ++systemd-cat echo Switch to tty1 Successfully;\ +/usr/bin/chvt 1\'\ +" + @@ -37,7 +37,7 @@ } +static void -+on_signal_term_cb () ++on_signal_term_cb (int signal) +{ + g_debug ("Received SIGTERM again"); +}