- fix build with openssl 1.1, just another broken configure test (openssl-checks.patch ) OBS-URL: https://build.opensuse.org/request/show/583406 OBS-URL: https://build.opensuse.org/package/show/Archiving/xar?expand=0&rev=26
14 lines
582 B
Diff
14 lines
582 B
Diff
Index: xar-xar-1.6.1/xar/configure.ac
|
|
===================================================================
|
|
--- xar-xar-1.6.1.orig/xar/configure.ac
|
|
+++ xar-xar-1.6.1/xar/configure.ac
|
|
@@ -329,7 +329,7 @@ dnl Configure libcrypto (part of OpenSSL
|
|
dnl
|
|
have_libcrypto="1"
|
|
AC_CHECK_HEADERS([openssl/evp.h], , [have_libcrypto="0"])
|
|
-AC_CHECK_LIB([crypto], [OpenSSL_add_all_ciphers], , [have_libcrypto="0"])
|
|
+AC_CHECK_LIB([crypto], [EVP_get_digestbyname], , [have_libcrypto="0"])
|
|
if test "x${have_libcrypto}" = "x0" ; then
|
|
AC_MSG_ERROR([Cannot build without libcrypto (OpenSSL)])
|
|
fi
|