diff --git a/meta-openeuler/recipes-core/zlib/zlib_%.bbappend b/meta-openeuler/recipes-core/zlib/zlib_%.bbappend new file mode 100644 index 0000000000000000000000000000000000000000..ae9dae52cf43292075372a1106aad2dd0f726b0a --- /dev/null +++ b/meta-openeuler/recipes-core/zlib/zlib_%.bbappend @@ -0,0 +1,27 @@ +#main bbfile: yocto-poky/meta/recipes-core/zlib/zlib_1.2.11.bb + +#version in openEuler +PV = "1.2.11" + +# files, patches can't be applied in openeuler or conflict with openeuler +SRC_URI_remove = " \ + " +# files, patches that come from openeuler +SRC_URI += " \ + file://zlib-1.2.5-minizip-fixuncrypt.patch \ + file://fix-undefined-buffer-detected-by-oss-fuzz.patch \ + file://backport-0001-CVE-2018-25032.patch \ + file://backport-0002-CVE-2018-25032.patch \ + " + +# files, patches that come from openeuler for aarch64, there are compile err in 0004-zlib-Optimize-CRC32.patch, not apply +SRC_URI_append_aarch64 += " \ + file://0001-Neon-Optimized-hash-chain-rebase.patch \ + file://0002-Porting-optimized-longest_match.patch \ + file://0003-arm64-specific-build-patch.patch \ + file://zlib-1.2.11-SIMD.patch \ + " + +SRC_URI[tarball.md5sum] = "85adef240c5f370b308da8c938951a68" +SRC_URI[tarball.sha256sum] = "4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066" +