Upgrade to 0.56.2

This commit is contained in:
weijin-deng 2021-06-25 11:04:41 +08:00
parent 4eb4709c01
commit 9ba55dc105
4 changed files with 19 additions and 2 deletions

Binary file not shown.

BIN
meson-0.56.2.tar.gz Normal file

Binary file not shown.

13
meson-gcc11.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
index 1faa128..3c7f378 100644
--- a/mesonbuild/modules/gnome.py
+++ b/mesonbuild/modules/gnome.py
@@ -1417,7 +1417,7 @@ class GnomeModule(ExtensionModule):
GType
%s@enum_name@_get_type (void)
{
- static volatile gsize gtype_id = 0;
+ static gsize gtype_id = 0;
static const G@Type@Value values[] = {''' % func_prefix
c_file_kwargs['vprod'] = ' { C_@TYPE@(@VALUENAME@), "@VALUENAME@", "@valuenick@" },'

View File

@ -1,10 +1,11 @@
Name: meson
Version: 0.54.3
Version: 0.56.2
Release: 1
Summary: An open source high quality build system
License: ASL 2.0
URL: https://mesonbuild.com/
Source0: https://github.com/mesonbuild/meson/archive/%{version}/%{name}-%{version}.tar.gz
Patch0: %{name}-gcc11.patch
BuildArch: noarch
Obsoletes: %{name}-gui < 0.31.0-3
@ -23,7 +24,7 @@ start compiling code.
%package_help
%prep
%autosetup -p1
%autosetup -p1
rm -rf "test cases/frameworks/17 mpi"
sed -i -e "/^%%__meson /s| .*$| %{_bindir}/%{name}|" data/macros.%{name}
@ -48,6 +49,9 @@ install -Dpm0644 data/macros.%{name} %{buildroot}%{_rpmmacrodir}/macros.%{name}
%{_mandir}/man1/%{name}.1*
%changelog
* Mon Jun 7 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 0.56.2-1
- Upgrade to 0.56.2
* Sun Jun 28 2020 huanghaitao <huanghaitao8@huawei.com> - 0.54.3-1
- Upgrade to meet compilation needs