diff --git a/zziplib.changes b/zziplib.changes index 9a27b75..723f172 100644 --- a/zziplib.changes +++ b/zziplib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 15 14:53:47 UTC 2024 - Martin Jambor + +- Add -fpermissive to %{optflags} to workaround C99 violations which + cause GCC14 to throw an error by default. [boo#1225959] + ------------------------------------------------------------------- Tue Feb 27 15:50:19 UTC 2024 - Valentin Lefebvre diff --git a/zziplib.spec b/zziplib.spec index cd98668..c11f1e4 100644 --- a/zziplib.spec +++ b/zziplib.spec @@ -65,6 +65,8 @@ ZZipLib. sed -i -e 's:docs ::g' Makefile.am %build +# Workaround for boo#1225959 +%global optflags %{optflags} -fpermissive %cmake -DZZIP_TESTCVE=OFF %cmake_build