summaryrefslogtreecommitdiff
path: root/poky/meta/recipes-extended/zip/zip_3.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-extended/zip/zip_3.0.bb')
-rw-r--r--poky/meta/recipes-extended/zip/zip_3.0.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/poky/meta/recipes-extended/zip/zip_3.0.bb b/poky/meta/recipes-extended/zip/zip_3.0.bb
index 07a67b9634..1930a40140 100644
--- a/poky/meta/recipes-extended/zip/zip_3.0.bb
+++ b/poky/meta/recipes-extended/zip/zip_3.0.bb
@@ -17,6 +17,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/infozip/Zip%203.x%20%28latest%29/3.0/zip30.tar.
file://0001-configure-use-correct-CPP.patch \
file://0002-configure-support-PIC-code-build.patch \
file://0001-configure-Use-CFLAGS-and-LDFLAGS-when-doing-link-tes.patch \
+ file://0001-configure-Specify-correct-function-signatures-and-de.patch \
+ file://0002-unix.c-Do-not-redefine-DIR-as-FILE.patch \
"
UPSTREAM_VERSION_UNKNOWN = "1"
@@ -29,6 +31,9 @@ CVE_CHECK_IGNORE += "CVE-2018-13410"
# Not for zip but for smart contract implementation for it
CVE_CHECK_IGNORE += "CVE-2018-13684"
+# Enable largefile support
+CFLAGS += "-DLARGE_FILE_SUPPORT"
+
# zip.inc sets CFLAGS, but what Makefile actually uses is
# CFLAGS_NOOPT. It will also force -O3 optimization, overriding
# whatever we set.