From 209c6ba0cd6b6cbfad083a94c6dc609632411073 Mon Sep 17 00:00:00 2001
From: dimstar <>
Date: Feb 29 2024 20:55:22 +0000
Subject: Update accountsservice to version 23.13.9 / rev 88 via SR 1152997
https://build.opensuse.org/request/show/1152997
by user dimstar + dimstar_suse
---
diff --git a/.files b/.files
index 1defe90..70e1a3a 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 7710c57..82f9e12 100644
--- a/.rev
+++ b/.rev
@@ -1177,4 +1177,12 @@ By now, it's required for sle-15, so synchronized the updated specfile and chang
1146629
+
+ 3c12e7637f7b73da63b3daf7daa895ac
+ 23.13.9
+
+ dimstar_suse
+
+ 1152997
+
diff --git a/accountsservice-sysconfig.patch b/accountsservice-sysconfig.patch
index 5665620..9846a56 100644
--- a/accountsservice-sysconfig.patch
+++ b/accountsservice-sysconfig.patch
@@ -74,7 +74,7 @@ Index: accountsservice-23.13.9/src/daemon.c
gboolean result;
g_autoptr (GError) local_error = NULL;
-+ return load_autologin_suse (daemon, name, enabled, error);
++ return save_autologin_suse (daemon, name, enabled, error);
+
keyfile = g_key_file_new ();
if (!g_key_file_load_from_file (keyfile,
@@ -372,7 +372,7 @@ Index: accountsservice-23.13.9/src/gdm-sysconfig.c
+}
+
+static gchar *
-+get_value (const gchar **lines, const gchar *key)
++get_value (gchar **lines, const gchar *key)
+{
+ gchar *value = NULL;
+ gchar *key_normal;
@@ -483,7 +483,7 @@ Index: accountsservice-23.13.9/src/gdm-sysconfig.c
+ g_return_val_if_fail (file_name != NULL, FALSE);
+ g_return_val_if_fail (sysconfig != NULL, FALSE);
+
-+ return save_settings_file (file_name, sysconfig);
++ return save_settings_file (file_name, (gchar **)sysconfig);
+}
+
+gchar *
@@ -492,7 +492,7 @@ Index: accountsservice-23.13.9/src/gdm-sysconfig.c
+ g_return_val_if_fail (sysconfig != NULL, NULL);
+ g_return_val_if_fail (key != NULL, NULL);
+
-+ return get_value (sysconfig, key);
++ return get_value ((gchar **)sysconfig, key);
+}
+
+gboolean
@@ -514,7 +514,7 @@ Index: accountsservice-23.13.9/src/gdm-sysconfig.c
+ g_return_val_if_fail (sysconfig != NULL, FALSE);
+ g_return_val_if_fail (key != NULL, FALSE);
+
-+ val = get_value (sysconfig, key);
++ val = get_value ((gchar **)sysconfig, key);
+ if (val == NULL) {
+ return FALSE;
+ }
diff --git a/accountsservice.changes b/accountsservice.changes
index b60fbe8..b8566ab 100644
--- a/accountsservice.changes
+++ b/accountsservice.changes
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Feb 27 06:23:31 UTC 2024 - xiaoguang wang
+
+- Rebase accountsservice-sysconfig.patch: to fix build with GCC 14
+ (bsc#1219909).
+
+-------------------------------------------------------------------
Wed Feb 14 10:39:36 UTC 2024 - Dominique Leuenberger
- First part to fix build with GCC 14: