diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-10-25 21:51:54 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-11-02 06:32:36 -0700 |
| commit | 7aee2667d14c2fee1d6f5b297027f63ecab1aebc (patch) | |
| tree | 37df84474e315a1fe8f30a5ce25fe3c29f09f989 /meta/recipes-extended/zip/zip_3.0.bb | |
| parent | b16d844beb84fada759c6e8f00d8ecf10586f655 (diff) | |
| download | poky-7aee2667d14c2fee1d6f5b297027f63ecab1aebc.tar.gz | |
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 (MJ: this part wasn't applicable for kirkstone).
(From OE-Core rev: fd31dd1abc8199a1865801259e6f96b78a17d994)
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>
(cherry picked from commit 3422411eb750c7e960b81676637cfb321dbadefb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-extended/zip/zip_3.0.bb')
| -rw-r--r-- | meta/recipes-extended/zip/zip_3.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/zip/zip_3.0.bb b/meta/recipes-extended/zip/zip_3.0.bb index b6ec3cd9ad..94de3715d2 100644 --- a/meta/recipes-extended/zip/zip_3.0.bb +++ b/meta/recipes-extended/zip/zip_3.0.bb | |||
| @@ -18,8 +18,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/infozip/Zip%203.x%20%28latest%29/3.0/zip30.tar. | |||
| 18 | file://0002-configure-support-PIC-code-build.patch \ | 18 | file://0002-configure-support-PIC-code-build.patch \ |
| 19 | file://0001-configure-Use-CFLAGS-and-LDFLAGS-when-doing-link-tes.patch \ | 19 | file://0001-configure-Use-CFLAGS-and-LDFLAGS-when-doing-link-tes.patch \ |
| 20 | file://0001-configure-Specify-correct-function-signatures-and-de.patch \ | 20 | file://0001-configure-Specify-correct-function-signatures-and-de.patch \ |
| 21 | file://0002-unix.c-Do-not-redefine-DIR-as-FILE.patch \ | ||
| 22 | file://0001-unix-configure-use-_Static_assert-to-do-correct-dete.patch \ | 21 | file://0001-unix-configure-use-_Static_assert-to-do-correct-dete.patch \ |
| 22 | file://0001-configure-Include-dirent.h-for-closedir-opendir-APIs.patch \ | ||
| 23 | " | 23 | " |
| 24 | UPSTREAM_VERSION_UNKNOWN = "1" | 24 | UPSTREAM_VERSION_UNKNOWN = "1" |
| 25 | 25 | ||
