Blame SOURCES/0001-gcc11.patch

3ff8d3
From 267e8eb3849a539704c480512b135400c7e49309 Mon Sep 17 00:00:00 2001
3ff8d3
From: rpm-build <rpm-build>
3ff8d3
Date: Fri, 30 Oct 2020 11:40:03 -0600
3ff8d3
Subject: [PATCH] gcc11
3ff8d3
3ff8d3
gcc-11
3ff8d3
---
3ff8d3
 src/libostree/ostree-enumtypes.c.template | 2 +-
3ff8d3
 src/libostree/ostree-sysroot-upgrader.c   | 2 +-
3ff8d3
 2 files changed, 2 insertions(+), 2 deletions(-)
3ff8d3
3ff8d3
diff --git a/src/libostree/ostree-enumtypes.c.template b/src/libostree/ostree-enumtypes.c.template
3ff8d3
index 751c458..89ad32a 100644
3ff8d3
--- a/src/libostree/ostree-enumtypes.c.template
3ff8d3
+++ b/src/libostree/ostree-enumtypes.c.template
3ff8d3
@@ -36,7 +36,7 @@
3ff8d3
 GType
3ff8d3
 _@enum_name@_get_type (void)
3ff8d3
 {
3ff8d3
-  static volatile gsize the_type__volatile = 0;
3ff8d3
+  static gsize the_type__volatile = 0;
3ff8d3
 
3ff8d3
   if (g_once_init_enter (&the_type__volatile))
3ff8d3
     {
3ff8d3
diff --git a/src/libostree/ostree-sysroot-upgrader.c b/src/libostree/ostree-sysroot-upgrader.c
3ff8d3
index 4681335..ea68674 100644
3ff8d3
--- a/src/libostree/ostree-sysroot-upgrader.c
3ff8d3
+++ b/src/libostree/ostree-sysroot-upgrader.c
3ff8d3
@@ -682,7 +682,7 @@ ostree_sysroot_upgrader_deploy (OstreeSysrootUpgrader  *self,
3ff8d3
 GType
3ff8d3
 ostree_sysroot_upgrader_flags_get_type (void)
3ff8d3
 {
3ff8d3
-  static volatile gsize g_define_type_id__volatile = 0;
3ff8d3
+  static gsize g_define_type_id__volatile = 0;
3ff8d3
 
3ff8d3
   if (g_once_init_enter (&g_define_type_id__volatile))
3ff8d3
     {
3ff8d3
-- 
3ff8d3
2.28.0
3ff8d3