mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-10 06:42:58 +02:00
xar: only use EXT2_ECOMPR_FL if defined.
This commit is contained in:
parent
9aa4b5ed91
commit
9310105510
2 changed files with 25 additions and 1 deletions
24
srcpkgs/xar/patches/ext2.patch
Normal file
24
srcpkgs/xar/patches/ext2.patch
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
--- lib/ext2.c.orig
|
||||||
|
+++ lib/ext2.c
|
||||||
|
@@ -139,8 +139,10 @@
|
||||||
|
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) )
|
||||||
|
@@ -225,8 +227,10 @@
|
||||||
|
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 )
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'xar'
|
# Template file for 'xar'
|
||||||
pkgname=xar
|
pkgname=xar
|
||||||
version=1.5.2
|
version=1.5.2
|
||||||
revision=9
|
revision=10
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="ac_cv_sizeof_uid_t=4"
|
configure_args="ac_cv_sizeof_uid_t=4"
|
||||||
makedepends="zlib-devel bzip2-devel e2fsprogs-devel acl-devel libxml2-devel libressl-devel"
|
makedepends="zlib-devel bzip2-devel e2fsprogs-devel acl-devel libxml2-devel libressl-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue