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 d5713d48c5196db31730b946ddbc3f12577cbfd5..1c1ed62514eb5e675936c3cf42bd7d23bbfdf6eb 100644 --- a/glib2.spec +++ b/glib2.spec @@ -1,6 +1,6 @@ Name: glib2 Version: 2.78.6 -Release: 1 +Release: 2 Summary: The core library that forms the basis for projects such as GTK+ and GNOME License: LGPL-2.1-or-later URL: https://www.gtk.org @@ -8,6 +8,7 @@ Source0: https://download.gnome.org/sources/glib/2.78/glib-%{version}.tar Patch1: gspawn-eperm.patch Patch2: backport-gutils-Fix-an-unlikely-minor-leak-in-g_build_user_data_dir.patch +Patch3: gio-fix-filesystem-type-ext-err.patch BuildRequires: gcc gettext BuildRequires: meson >= 0.60.0 @@ -190,6 +191,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %doc %{_datadir}/gtk-doc/html/* %changelog +* Wed Oct 23 2024 litenglong - 2.78.6-2 +- fix filesystem type ext err + * Wed Jul 24 2024 Funda Wang - 2.78.6-1 - Update to 2.78.6