]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
zip: Fix build with gcc-14
authorKhem Raj <raj.khem@gmail.com>
Thu, 9 May 2024 02:38:48 +0000 (19:38 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 13 May 2024 14:42:24 +0000 (15:42 +0100)
commit3422411eb750c7e960b81676637cfb321dbadefb
treefb7343e9e5789a06ffc5210f902305bde1eac1c4
parent123ea0953346a5dd209818827021ffe4bcc95392
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: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/zip/zip-3.0/0001-configure-Include-dirent.h-for-closedir-opendir-APIs.patch [new file with mode: 0644]
meta/recipes-extended/zip/zip-3.0/0002-unix.c-Do-not-redefine-DIR-as-FILE.patch [deleted file]
meta/recipes-extended/zip/zip_3.0.bb