diff --git a/zip.changes b/zip.changes index acd04d5..5237bfa 100644 --- a/zip.changes +++ b/zip.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 3 07:11:27 UTC 2024 - Bernhard Wiedemann + +- Compile with C89 standard to build with gcc14 + ------------------------------------------------------------------- Tue Feb 20 12:09:05 UTC 2024 - Dominique Leuenberger diff --git a/zip.spec b/zip.spec index e4d7300..1dcc3ce 100644 --- a/zip.spec +++ b/zip.spec @@ -62,7 +62,7 @@ PKZIP(tm) 2.04g (Phil Katz ZIP) for MS-DOS systems. %build # Remove FORTIFY_SOURCE=3 for bsc#1200712 -EXTRA_CFLAGS="$(echo %{optflags} | sed -E 's/-[A-Z]?_FORTIFY_SOURCE[=]?[0-9]*//g') -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2" +EXTRA_CFLAGS="$(echo %{optflags} | sed -E 's/-[A-Z]?_FORTIFY_SOURCE[=]?[0-9]*//g') -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -std=gnu89" make %{?_smp_mflags} -f unix/Makefile prefix=/usr CC="gcc $EXTRA_CFLAGS -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" generic_gcc %install