OBS-URL: https://build.opensuse.org/package/show/Archiving/xar?expand=0&rev=22
27 lines
869 B
Diff
27 lines
869 B
Diff
Index: xar/lib/ext2.c
|
|
===================================================================
|
|
--- xar/lib/ext2.c.orig
|
|
+++ xar/lib/ext2.c
|
|
@@ -140,8 +140,10 @@ int xar_ext2attr_archive(xar_t x, xar_fi
|
|
if(! (flags & ~EXT2_NOCOMPR_FL) )
|
|
x_addprop(f, "NoCompBlock");
|
|
#endif
|
|
+#ifdef EXT2_ECOMPR_FL
|
|
if(! (flags & ~EXT2_ECOMPR_FL) )
|
|
x_addprop(f, "CompError");
|
|
+#endif
|
|
if(! (flags & ~EXT2_BTREE_FL) )
|
|
x_addprop(f, "BTree");
|
|
if(! (flags & ~EXT2_INDEX_FL) )
|
|
@@ -229,8 +231,10 @@ int xar_ext2attr_extract(xar_t x, xar_fi
|
|
if( e2prop_get(f, "NoCompBlock", (char **)&tmp) == 0 )
|
|
flags |= EXT2_NOCOMPR_FL ;
|
|
#endif
|
|
+#ifdef EXT2_ECOMPR_FL
|
|
if( e2prop_get(f, "CompError", (char **)&tmp) == 0 )
|
|
flags |= EXT2_ECOMPR_FL ;
|
|
+#endif
|
|
if( e2prop_get(f, "BTree", (char **)&tmp) == 0 )
|
|
flags |= EXT2_BTREE_FL ;
|
|
if( e2prop_get(f, "HashIndexed", (char **)&tmp) == 0 )
|