Accepting request 1173593 from Archiving

OBS-URL: https://build.opensuse.org/request/show/1173593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zip?expand=0&rev=28
This commit is contained in:
Ana Guerrero 2024-05-14 11:37:10 +00:00 committed by Git OBS Bridge
commit 039ff4d81c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 3 07:11:27 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
- Compile with C89 standard to build with gcc14
-------------------------------------------------------------------
Tue Feb 20 12:09:05 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -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