Blame SOURCES/0001-gcc11.patch

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