diff --git a/gio-fix-filesystem-type-ext-err.patch b/gio-fix-filesystem-type-ext-err.patch new file mode 100644 index 0000000000000000000000000000000000000000..df232a83b9924172287d425d02a8ecac1d0158f3 --- /dev/null +++ b/gio-fix-filesystem-type-ext-err.patch @@ -0,0 +1,25 @@ +From 901711c799f67a62739edf07312aa12aecd6e334 Mon Sep 17 00:00:00 2001 +From: litenglong +Date: Wed, 23 Oct 2024 15:44:27 +0800 +Subject: [PATCH] gio fix filesystem type ext err + +--- + gio/glocalfile.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gio/glocalfile.c b/gio/glocalfile.c +index dbb5690..9e01547 100644 +--- a/gio/glocalfile.c ++++ b/gio/glocalfile.c +@@ -637,7 +637,7 @@ get_fs_type (long f_type) + case 0xEF51: + return "ext2"; + case 0xEF53: +- return "ext3/ext4"; ++ return "ext2/ext3/ext4"; + case 0xF2F52010: + return "f2fs"; + case 0x65735546: +-- +2.25.1 + diff --git a/glib2.spec b/glib2.spec index 9509233e210a3047dc42ad6d66fc5e782f8901f4..4324fdd4fe4ed845f78682cf87a38308b44ed189 100644 --- a/glib2.spec +++ b/glib2.spec @@ -1,6 +1,6 @@ Name: glib2 Version: 2.78.3 -Release: 3 +Release: 4 Summary: The core library that forms the basis for projects such as GTK+ and GNOME License: LGPLv2+ URL: https://www.gtk.org @@ -9,7 +9,7 @@ Source0: https://download.gnome.org/sources/glib/2.78/glib-%{version}.tar Patch1: gspawn-eperm.patch Patch2: backport-gmessages-fix-dropping-irrelevant-log-domains.patch Patch3: backport-gutils-Fix-an-unlikely-minor-leak-in-g_build_user_data_dir.patch - +Patch4: gio-fix-filesystem-type-ext-err.patch Patch6001: backport-CVE-2024-34397.patch Patch6002: backport-gdbusconnection-Allow-name-owners-to-have-the-syntax-of-a-well-known-name.patch @@ -201,6 +201,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %endif %changelog +* Thu Oct 24 2024 litenglong - 2.78.3-4 +- fix filesystem type ext err + * Mon Sep 9 2024 zhangzikang - 2.78.3-3 - backport patch: backport-gdbusmessage-Clean-the-cached-arg0-when-setting-the-message-body.patch