Fix build with GCC 15

GCC 15 defaults to C23, which is stricter in mutiple ways.  Some fixes were
already included in 6.0.1, but some were just merged upstream and not yet
released.
This commit is contained in:
Yaakov Selkowitz
2025-03-19 14:44:30 -04:00
parent 3d23992091
commit 2a89bad808
3 changed files with 710 additions and 0 deletions

View File

@@ -29,6 +29,10 @@ Source3: tmpfiles-strongswan.conf
Patch0: strongswan-5.6.0-uintptr_t.patch
# https://github.com/strongswan/strongswan/issues/1198
Patch1: strongswan-5.9.7-error-no-format.patch
# C23 fixes included in 6.0.1
Patch2: strongswan-6.0.0-gcc15.patch
# C23 fixed merged but not yet released
Patch3: strongswan-6.0.1-gcc15.patch
BuildRequires: autoconf
BuildRequires: automake