Skip to content
Commit 82d58f8b authored by Khem Raj's avatar Khem Raj Committed by Steve Sakoman
Browse files

zip: Fix build with gcc-14



zip's configure fails to link this piece of test code:

  int main() { return closedir(opendir(".")); }

with GCC-14 because it now treats implicit declaration of function
as error, unline older GCC version where it was just a warning
and this test would build fine.

Remove 0002-unix.c-Do-not-redefine-DIR-as-FILE.patch which
is now unnecessary.

Signed-off-by: default avatarZoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: default avatarKhem Raj <raj.khem@gmail.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3422411e)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 06b5a2db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment