Fix bogus volatile caught by gcc-11
This commit is contained in:
parent
634ff2ca54
commit
b1d7ca744e
13
gtk4-gcc11.patch
Normal file
13
gtk4-gcc11.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/gtk/css/gtkcssenumtypes.c.template b/gtk/css/gtkcssenumtypes.c.template
|
||||
index 063b8d0..cb4c9ac 100644
|
||||
--- a/gtk/css/gtkcssenumtypes.c.template
|
||||
+++ b/gtk/css/gtkcssenumtypes.c.template
|
||||
@@ -13,7 +13,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))
|
||||
{
|
@ -17,12 +17,13 @@
|
||||
|
||||
Name: gtk4
|
||||
Version: 3.99.4
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: GTK graphical user interface library
|
||||
|
||||
License: LGPLv2+
|
||||
URL: https://www.gtk.org
|
||||
Source0: https://download.gnome.org/sources/gtk/3.99/gtk-%{version}.tar.xz
|
||||
Patch0: %{name}-gcc11.patch
|
||||
|
||||
BuildRequires: cups-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
@ -217,6 +218,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
%{_mandir}/man1/gtk4-widget-factory.1*
|
||||
|
||||
%changelog
|
||||
* Sun Nov 15 2020 Jeff Law <law@redhat.com> - 3.99.4-2
|
||||
- Fix bogus volatile caught by gcc-11
|
||||
|
||||
* Thu Nov 5 2020 Kalev Lember <klember@redhat.com> - 3.99.4-1
|
||||
- Update to 3.99.4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user