aboutsummaryrefslogtreecommitdiffstats
path: root/community/isync/libressl-compat.patch
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2017-08-09 22:46:16 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-08-10 08:19:58 +0000
commitc17d85f62586be2ad6a40a9fb979d718a5a3870e (patch)
treed7c0e8021eca0547b7a8588370ea86fa54d597e8 /community/isync/libressl-compat.patch
parent9a2224eb77cb72fafdd84d42de0a711f0dab1a12 (diff)
downloadaports-c17d85f62586be2ad6a40a9fb979d718a5a3870e.tar.bz2
aports-c17d85f62586be2ad6a40a9fb979d718a5a3870e.tar.xz
community/isync: update to 1.2.2
Diffstat (limited to 'community/isync/libressl-compat.patch')
-rw-r--r--community/isync/libressl-compat.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/isync/libressl-compat.patch b/community/isync/libressl-compat.patch
new file mode 100644
index 0000000000..4801394025
--- /dev/null
+++ b/community/isync/libressl-compat.patch
@@ -0,0 +1,11 @@
+--- isync-1.2.2/src/socket.c
++++ isync-1.2.2/src/socket.c.new
+@@ -40,7 +40,7 @@
+ # include <openssl/ssl.h>
+ # include <openssl/err.h>
+ # include <openssl/x509v3.h>
+-# if OPENSSL_VERSION_NUMBER < 0x10100000L
++# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+ # define X509_OBJECT_get0_X509(o) ((o)->data.x509)
+ # define X509_STORE_get0_objects(o) ((o)->objs)
+ # endif