1 diff -urN xar-1.6.1.org/configure.ac xar-1.6.1/configure.ac
2 --- xar-1.6.1.org/configure.ac 2012-09-17 13:30:07.000000000 +0200
3 +++ xar-1.6.1/configure.ac 2018-09-18 10:59:36.075915320 +0200
7 AC_CHECK_HEADERS([openssl/evp.h], , [have_libcrypto="0"])
8 -AC_CHECK_LIB([crypto], [OpenSSL_add_all_ciphers], , [have_libcrypto="0"])
9 +AC_CHECK_LIB([crypto], [EVP_DigestInit_ex], , [have_libcrypto="0"])
10 if test "x${have_libcrypto}" = "x0" ; then
11 AC_MSG_ERROR([Cannot build without libcrypto (OpenSSL)])
13 diff -urN xar-1.6.1.org/lib/ext2.c xar-1.6.1/lib/ext2.c
14 --- xar-1.6.1.org/lib/ext2.c 2012-09-17 13:30:07.000000000 +0200
15 +++ xar-1.6.1/lib/ext2.c 2018-09-18 10:59:52.203069978 +0200
17 if(! (flags & ~EXT2_NOCOMPR_FL) )
18 x_addprop(f, "NoCompBlock");
20 +#ifdef EXT2_ECOMPR_FL
21 if(! (flags & ~EXT2_ECOMPR_FL) )
22 x_addprop(f, "CompError");
24 if(! (flags & ~EXT2_BTREE_FL) )
25 x_addprop(f, "BTree");
26 if(! (flags & ~EXT2_INDEX_FL) )
28 if( e2prop_get(f, "NoCompBlock", (char **)&tmp) == 0 )
29 flags |= EXT2_NOCOMPR_FL ;
31 +#ifdef EXT2_ECOMPR_FL
32 if( e2prop_get(f, "CompError", (char **)&tmp) == 0 )
33 flags |= EXT2_ECOMPR_FL ;
35 if( e2prop_get(f, "BTree", (char **)&tmp) == 0 )
36 flags |= EXT2_BTREE_FL ;
37 if( e2prop_get(f, "HashIndexed", (char **)&tmp) == 0 )