import gnome-commander-1.16.1-6.el9

i9cf changed/i9cf/gnome-commander-1.16.1-6.el9
MSVSphere Packaging Team 9 months ago
parent 6d6de2d203
commit d7f0079cac

@ -0,0 +1,27 @@
From ed704b30992b7f576060c424e431d6909504b9b4 Mon Sep 17 00:00:00 2001
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
Date: Thu, 18 Apr 2024 19:56:24 +0900
Subject: [PATCH] Fix double g_error_free call in remote_close_callback
gnome_cmd_error_message() calls g_error_free() internally,
so no need to call g_error_free() again in
remote_close_callback().
---
src/gnome-cmd-con-remote.cc | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/gnome-cmd-con-remote.cc b/src/gnome-cmd-con-remote.cc
index 85f87e3d..39a131e5 100644
--- a/src/gnome-cmd-con-remote.cc
+++ b/src/gnome-cmd-con-remote.cc
@@ -125,7 +125,6 @@ static void remote_close_callback(GObject *gobj, GAsyncResult *result, gpointer
if (error && !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CLOSED))
{
gnome_cmd_error_message(_("Disconnect error"), error);
- g_error_free(error);
return;
}
if (error)
--
GitLab

@ -40,7 +40,7 @@
%global shortver 1.16
%global fullver %{shortver}.1
%global baserelease 2
%global baserelease 6
%if 0%{?use_release} >= 1
%global fedorarel %{?prever:0.}%{baserelease}%{?prever:.%{prerpmver}}
@ -58,7 +58,11 @@ Summary: A nice and fast file manager for the GNOME desktop
Summary(pl): Menadżer plików dla GNOME oparty o Norton Commander'a (TM)
Summary(sv): GNOME Commander är en snabb och smidig filhanderare för GNOME
License: GPLv2+
# Overall GPL-2.0-or-later
# data/org.gnome.gnome-commander.appdata.xml.in CC0-1.0
# doc/C/legal.xml GFDL-1.1-or-later
# SPDX confirmed
License: GPL-2.0-or-later AND GFDL-1.1-or-later AND CC0-1.0
URL: http://gcmd.github.io/
%if 0%{?use_release}
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{shortver}/%{name}-%{version}%{?extratag:-%extratag}.tar.xz
@ -71,6 +75,9 @@ Source1: gnome-commander.sh
Source2: create-gcmd-git-bare-tarball.sh
Source10: mimeedit-svn%{mimeedit_rev}.sh
Patch1: gnome-commander-1.6.0-path-fedora-specific.patch
# https://gitlab.gnome.org/GNOME/gnome-commander/-/merge_requests/55
# https://bugzilla.redhat.com/show_bug.cgi?id=2271363
Patch2: gnome-commander-MR55-fix-double-g_free_error.patch
BuildRequires: gcc-c++
%if 0%{?use_gcc_strict_sanitize}
@ -174,6 +181,7 @@ git commit -m "base" -q
%patch -P1 -p1 -b .path
git commit -m "Apply Fedora specific path configuration" -a
cat %PATCH2 | git am
%if 0%{?use_release}
%endif
@ -284,6 +292,18 @@ popd
%{_datadir}/pixmaps/%{name}/
%changelog
* Thu Apr 18 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4:1.16.1-6
- Fix double g_error_free call in remote_close_callback (bug 2271363)
* Sun Jan 28 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 4:1.16.1-5
- SPDX migration
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.16.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.16.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Nov 07 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 4:1.16.1-2
- Rebuilt for MSVSphere 9.2

Loading…
Cancel
Save