]> git.pld-linux.org Git - packages/xar.git/blob - build.patch
- updated dependencies
[packages/xar.git] / build.patch
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
4 @@ -329,7 +329,7 @@
5  dnl 
6  have_libcrypto="1"
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)])
12  fi
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
16 @@ -140,8 +140,10 @@
17         if(! (flags & ~EXT2_NOCOMPR_FL) )
18                 x_addprop(f, "NoCompBlock");
19  #endif
20 +#ifdef EXT2_ECOMPR_FL
21         if(! (flags & ~EXT2_ECOMPR_FL) )
22                 x_addprop(f, "CompError");
23 +#endif
24         if(! (flags & ~EXT2_BTREE_FL) )
25                 x_addprop(f, "BTree");
26         if(! (flags & ~EXT2_INDEX_FL) )
27 @@ -229,8 +231,10 @@
28         if( e2prop_get(f, "NoCompBlock", (char **)&tmp) == 0 )
29                 flags |= EXT2_NOCOMPR_FL ;
30  #endif
31 +#ifdef EXT2_ECOMPR_FL
32         if( e2prop_get(f, "CompError", (char **)&tmp) == 0 )
33                 flags |= EXT2_ECOMPR_FL ;
34 +#endif
35         if( e2prop_get(f, "BTree", (char **)&tmp) == 0 )
36                 flags |= EXT2_BTREE_FL ;
37         if( e2prop_get(f, "HashIndexed", (char **)&tmp) == 0 )
This page took 0.112942 seconds and 3 git commands to generate.