summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2018-04-04 16:25:47 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2018-04-04 16:25:47 +0000
commit12f3049360a6228410e35a3c812f29f040639333 (patch)
tree2cc8d26d8d292ffe7e8f59acd0acf6175ae3191c /patches
parent6c6c71b5a6f2b3bceaf15123bbe86cb3adad1633 (diff)
downloadmidipix_build-12f3049360a6228410e35a3c812f29f040639333.tar.bz2
midipix_build-12f3049360a6228410e35a3c812f29f040639333.tar.xz
vars/build.vars:irssi: updated to v1.1.1 (via Redfoxmoon.)
patches/irssi-1.1.1.local.patch: via Redfoxmoon.
Diffstat (limited to 'patches')
-rw-r--r--patches/irssi-1.1.1.local.patch (renamed from patches/irssi-1.0.4.local.patch)23
1 files changed, 23 insertions, 0 deletions
diff --git a/patches/irssi-1.0.4.local.patch b/patches/irssi-1.1.1.local.patch
index 0dfa06df..0c485b00 100644
--- a/patches/irssi-1.0.4.local.patch
+++ b/patches/irssi-1.1.1.local.patch
@@ -85,3 +85,26 @@
if (rec->target == NULL && interactive)
rec->target_item = exec_wi_create(active_win, rec);
+diff -ru irssi-1.1.1.orig/src/core/network-openssl.c irssi-1.1.1/src/core/network-openssl.c
+--- irssi-1.1.1.orig/src/core/network-openssl.c 2018-02-15 00:53:44.000000000 +0100
++++ irssi-1.1.1/src/core/network-openssl.c 2018-04-04 17:17:45.180379304 +0200
+@@ -35,7 +35,8 @@
+ #include <openssl/err.h>
+
+ /* OpenSSL 1.1.0 introduced some backward-incompatible changes to the api */
+-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER)
++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && \
++ (!defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x2070000fL)
+ /* The two functions below could be already defined if OPENSSL_API_COMPAT is
+ * below the 1.1.0 version so let's do a clean start */
+ #undef X509_get_notBefore
+@@ -47,7 +48,8 @@
+
+ /* OpenSSL 1.1.0 also introduced some useful additions to the api */
+ #if (OPENSSL_VERSION_NUMBER >= 0x10002000L)
+-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined (LIBRESSL_VERSION_NUMBER)
++#if (OPENSSL_VERSION_NUMBER < 0x10100000L) && \
++ (!defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x2070000fL)
+ static int X509_STORE_up_ref(X509_STORE *vfy)
+ {
+ int n;