Commits

Allan Que authored and Marius Schamschula committed 38f11ab63a2
xar: patch deprecated openssl function

OpenSSL 1.1.0 deprecated OpenSSL_add_all_algorithms and replaced with OPENSSL_init_crypto. Ref: https://github.com/mackyle/xar/issues/18 Ref: https://trac.macports.org/ticket/52101
No tags

archivers/xar/files/patch-configure.ac

Added
1 +From bab8837fd993385115d58763e15487dc8cc13f97 Mon Sep 17 00:00:00 2001
2 +From: Erik Goldman <erik.goldman@gmail.com>
3 +Date: Mon, 30 Apr 2018 22:02:39 -0700
4 +Subject: [PATCH] fix https://github.com/mackyle/xar/issues/18
5 +
6 +---
7 + configure.ac | 2 +-
8 + 1 file changed, 1 insertion(+), 1 deletion(-)
9 +
10 +diff --git configure.ac configure.ac
11 +index 812b5ff..1b70c06 100644
12 +--- configure.ac
13 ++++ configure.ac
14 +@@ -329,7 +329,11 @@ dnl Configure libcrypto (part of OpenSSL).
15 + dnl
16 + have_libcrypto="1"
17 + AC_CHECK_HEADERS([openssl/evp.h], , [have_libcrypto="0"])
18 +-AC_CHECK_LIB([crypto], [OpenSSL_add_all_ciphers], , [have_libcrypto="0"])
19 ++AC_CHECK_LIB([crypto], [OpenSSL_add_all_ciphers], , [have_libcrypto_ossl10="0"])
20 ++AC_CHECK_LIB([crypto], [OPENSSL_init_crypto], , [have_libcrypto_ossl11="0"])
21 ++if test "x${have_libcrypto_ossl10}" = "x0" -a "x${have_libcrypto_ossl11}" = "x0" ; then
22 ++ have_libcrypto="0"
23 ++fi
24 + if test "x${have_libcrypto}" = "x0" ; then
25 + AC_MSG_ERROR([Cannot build without libcrypto (OpenSSL)])
26 + fi

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut