summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2022-03-04 03:25:21 +0100
committerØrjan Malde <red@foxi.me>2022-03-04 03:25:21 +0100
commit9bdac2dc3d8cc263af15187cf648cb6359acba3c (patch)
treeb643cd597a6e39c7b2ac0e5178eab60be3672b67
parent897ae7e43956c0feb009a73c72efe78af16d3d34 (diff)
downloadmidipix_build-9bdac2dc3d8cc263af15187cf648cb6359acba3c.tar.bz2
midipix_build-9bdac2dc3d8cc263af15187cf648cb6359acba3c.tar.xz
patches/libevent-2.1.12-stable.local.patch: new patch
Signed-off-by: Ørjan Malde <red@foxi.me>
-rw-r--r--patches/libevent-2.1.12-stable.local.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/libevent-2.1.12-stable.local.patch b/patches/libevent-2.1.12-stable.local.patch
new file mode 100644
index 0000000..13f160c
--- /dev/null
+++ b/patches/libevent-2.1.12-stable.local.patch
@@ -0,0 +1,12 @@
+diff -ru libevent-2.1.12-stable.orig/openssl-compat.h libevent-2.1.12-stable/openssl-compat.h
+--- libevent-2.1.12-stable.orig/openssl-compat.h 2020-07-05 14:01:34.000000000 +0200
++++ libevent-2.1.12-stable/openssl-compat.h 2022-03-03 11:07:17.024094244 +0100
+@@ -40,7 +40,7 @@
+ #endif /* (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) */
+
+-#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L
++#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L && LIBRESSL_VERSION_NUMBER < 0x3050000fL
+ #define BIO_get_init(b) (b)->init
+ #endif
+