summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/unzip/unzip/gcc15.patch18
-rw-r--r--meta/recipes-extended/unzip/unzip_6.0.bb1
2 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-extended/unzip/unzip/gcc15.patch b/meta/recipes-extended/unzip/unzip/gcc15.patch
new file mode 100644
index 0000000000..ab06a4713f
--- /dev/null
+++ b/meta/recipes-extended/unzip/unzip/gcc15.patch
@@ -0,0 +1,18 @@
1Do not redefine gmtime(), localtime()
2
3They are already provided by system time.h header
4
5Upstream-Status: Inactive-Upstream [need a new release]
6
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
9--- a/unix/unxcfg.h
10+++ b/unix/unxcfg.h
11@@ -117,7 +117,6 @@ typedef struct stat z_stat;
12 # endif
13 #else
14 # include <time.h>
15- struct tm *gmtime(), *localtime();
16 #endif
17
18 #if (defined(BSD4_4) || (defined(SYSV) && defined(MODERN)))
diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb
index c13e7a008e..0a88b4c092 100644
--- a/meta/recipes-extended/unzip/unzip_6.0.bb
+++ b/meta/recipes-extended/unzip/unzip_6.0.bb
@@ -32,6 +32,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/
32 file://CVE-2022-0530.patch \ 32 file://CVE-2022-0530.patch \
33 file://0001-configure-Add-correct-system-headers-and-prototypes-.patch \ 33 file://0001-configure-Add-correct-system-headers-and-prototypes-.patch \
34 file://0001-unix-configure-fix-detection-for-cross-compilation.patch \ 34 file://0001-unix-configure-fix-detection-for-cross-compilation.patch \
35 file://gcc15.patch \
35" 36"
36UPSTREAM_VERSION_UNKNOWN = "1" 37UPSTREAM_VERSION_UNKNOWN = "1"
37 38