diff --git a/unzip-6.0-support-gcc14-build.patch b/unzip-6.0-support-gcc14-build.patch new file mode 100644 index 0000000000000000000000000000000000000000..c8fdc0c5ecc139226f1ff768abefe94410639845 --- /dev/null +++ b/unzip-6.0-support-gcc14-build.patch @@ -0,0 +1,12 @@ +diff --git a/unix/configure b/unix/configure +index edb4502..a1f0c7d 100755 +--- a/unix/configure ++++ b/unix/configure +@@ -419,6 +419,7 @@ $CC $CFLAGS -c conftest.c >/dev/null 2>/dev/null + + echo Check for directory libraries + cat > conftest.c << _EOF_ ++#include + int main() { return closedir(opendir(".")); } + _EOF_ + diff --git a/unzip.spec b/unzip.spec index 2cc191a1fa8383f64b22307ab8b8f81d885fbc46..6c9a94e527b882e2b57a7490fb324100f5e7b2fc 100644 --- a/unzip.spec +++ b/unzip.spec @@ -1,6 +1,6 @@ Name: unzip Version: 6.0 -Release: 53 +Release: 54 Summary: A utility for unpacking zip files License: Info-ZIP and Public Domain URL: http://www.info-zip.org/UnZip.html @@ -30,6 +30,7 @@ Patch0021: 0001-Fix-CVE-2016-9844-rhbz-1404283.patch Patch0022: unzip-6.0-timestamp.patch Patch0023: unzip-6.0-cve-2018-1000035-heap-based-overflow.patch Patch0024: unzip-6.0-support-clang-build.patch +Patch0025: unzip-6.0-support-gcc14-build.patch Patch6000: CVE-2018-18384.patch Patch6001: CVE-2019-13232-pre.patch @@ -82,6 +83,9 @@ make check -f unix/Makefile %{_mandir}/man1/* %changelog +* Fri Oct 31 2025 laokz - 6.0-54 +- add support for gcc14 + * Wed Jun 12 2024 yinyongkang - 6.0-53 - license info rectification