Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/flatpak.git#1a5680034ea3cf08d37f69545f39c21203db8fac
This commit is contained in:
DistroBaker 2020-10-31 20:15:29 +00:00
parent b452d2bbb6
commit 87c2e88968
2 changed files with 46 additions and 1 deletions

39
flatpak-gcc11.patch Normal file
View File

@ -0,0 +1,39 @@
diff --git a/common/flatpak-enum-types.c.template b/common/flatpak-enum-types.c.template
index 063fd19..0eed041 100644
--- a/common/flatpak-enum-types.c.template
+++ b/common/flatpak-enum-types.c.template
@@ -15,7 +15,7 @@
GType
@enum_name@_get_type (void)
{
- static volatile gsize g_define_type_id__volatile = 0;
+ static gsize g_define_type_id__volatile = 0;
if (g_once_init_enter (&g_define_type_id__volatile))
{
diff --git a/common/flatpak-portal-error.c b/common/flatpak-portal-error.c
index 1389707..57c0e78 100644
--- a/common/flatpak-portal-error.c
+++ b/common/flatpak-portal-error.c
@@ -38,7 +38,7 @@ static const GDBusErrorEntry flatpak_error_entries[] = {
GQuark
flatpak_portal_error_quark (void)
{
- static volatile gsize quark_volatile = 0;
+ static gsize quark_volatile = 0;
g_dbus_error_register_error_domain ("flatpak-portal-error-quark",
&quark_volatile,
diff --git a/common/flatpak-utils.c b/common/flatpak-utils.c
index 16c307e..5461457 100644
--- a/common/flatpak-utils.c
+++ b/common/flatpak-utils.c
@@ -94,7 +94,7 @@ propagate_libarchive_error (GError **error,
GQuark
flatpak_error_quark (void)
{
- static volatile gsize quark_volatile = 0;
+ static gsize quark_volatile = 0;
g_dbus_error_register_error_domain ("flatpak-error-quark",
&quark_volatile,

View File

@ -3,7 +3,7 @@
Name: flatpak Name: flatpak
Version: 1.8.2 Version: 1.8.2
Release: 2%{?dist} Release: 3%{?dist}
Summary: Application deployment framework for desktop apps Summary: Application deployment framework for desktop apps
License: LGPLv2+ License: LGPLv2+
@ -16,6 +16,9 @@ Patch0: 3845.patch
Patch1: 3849.patch Patch1: 3849.patch
Patch2: 3850.patch Patch2: 3850.patch
# Fix bogus volatiles caught by gcc-11
Patch3: %{name}-gcc11.patch
BuildRequires: pkgconfig(appstream-glib) BuildRequires: pkgconfig(appstream-glib)
BuildRequires: pkgconfig(dconf) BuildRequires: pkgconfig(dconf)
BuildRequires: pkgconfig(fuse) BuildRequires: pkgconfig(fuse)
@ -270,6 +273,9 @@ fi
%changelog %changelog
* Sat Oct 31 2020 Jeff Law <law@redhat.com> - 1.8.2-3
- Fix bogus volatiles caught by gcc-11
* Fri Sep 11 2020 Kalev Lember <klember@redhat.com> - 1.8.2-2 * Fri Sep 11 2020 Kalev Lember <klember@redhat.com> - 1.8.2-2
- Backport various OCI fixes from upstream - Backport various OCI fixes from upstream