diff options
author | Ørjan Malde <red@foxi.me> | 2022-11-04 12:34:39 +0100 |
---|---|---|
committer | Ørjan Malde <red@foxi.me> | 2022-11-04 12:34:39 +0100 |
commit | 9cecf5c8565449b527346fa7e61e0f125f8ee27d (patch) | |
tree | 391b799797de8493ff9e065c22c98bc8bb1aa852 /patches | |
parent | cb9df39ef5bf77fd6c8b4cacdd1982073a5d2ab6 (diff) | |
download | midipix_build-9cecf5c8565449b527346fa7e61e0f125f8ee27d.tar.bz2 midipix_build-9cecf5c8565449b527346fa7e61e0f125f8ee27d.tar.xz |
patches/libzip_host-1.7.1.local.patch: new patch.
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/libzip_host-1.7.1.local.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/libzip_host-1.7.1.local.patch b/patches/libzip_host-1.7.1.local.patch new file mode 100644 index 00000000..ae48c057 --- /dev/null +++ b/patches/libzip_host-1.7.1.local.patch @@ -0,0 +1,12 @@ +diff -ru libzip-1.7.1.orig/lib/zip_crypto_openssl.c libzip-1.7.1/lib/zip_crypto_openssl.c +--- libzip-1.7.1.orig/lib/zip_crypto_openssl.c 2020-06-13 12:12:26.000000000 +0200 ++++ libzip-1.7.1/lib/zip_crypto_openssl.c 2022-11-04 12:32:54.040171710 +0100 +@@ -39,7 +39,7 @@ + + #include <openssl/rand.h> + +-#if OPENSSL_VERSION_NUMBER < 0x1010000fL || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x1010000fL || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x02070000fL) + #define USE_OPENSSL_1_0_API + #endif + |