Downgrade GCC 14 C type errors to warnings

Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
This commit is contained in:
Florian Weimer 2024-01-19 12:47:38 +01:00
parent 6d2befbbef
commit 6c9c11e678
2 changed files with 13841 additions and 1 deletions

13833
vala-c99.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -3,13 +3,14 @@
Name: vala
Version: 0.56.14
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A modern programming language for GNOME
# Most files are LGPLv2.1+, curses.vapi is 2-clause BSD
License: LGPL-2.1-or-later AND BSD-2-Clause
URL: https://wiki.gnome.org/Projects/Vala
Source0: https://download.gnome.org/sources/%{name}/0.56/%{name}-%{version}.tar.xz
Patch0: vala-c99.patch
BuildRequires: bison
BuildRequires: flex
@ -116,6 +117,9 @@ developing applications that use valadoc.
%build
# The pre-generated compiler sources do not have the warning downgrades
# in vala-c99.patch.
%global build_type_safety_c 0
%configure
# Don't use rpath!
sed -i 's|/lib /usr/lib|/lib /usr/lib /lib64 /usr/lib64|' libtool
@ -192,6 +196,9 @@ export -n VALAFLAGS
%changelog
* Fri Jan 19 2024 Florian Weimer <fweimer@redhat.com> - 0.56.14-2
- Downgrade GCC 14 C type errors to warnings
* Wed Nov 15 2023 Kalev Lember <klember@redhat.com> - 0.56.14-1
- Update to 0.56.14