Hello community, here is the log from the commit of package xar for openSUSE:Factory checked in at 2016-10-04 16:00:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xar (Old) and /work/SRC/openSUSE:Factory/.xar.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xar" Changes: -------- --- /work/SRC/openSUSE:Factory/xar/xar.changes 2016-07-24 19:53:52.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xar.new/xar.changes 2016-10-04 15:59:44.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Oct 3 12:44:56 UTC 2016 - mplus...@suse.com + +- Add ext2.patch from voidlinux + +------------------------------------------------------------------- New: ---- ext2.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xar.spec ++++++ --- /var/tmp/diff_new_pack.ylxZJb/_old 2016-10-04 15:59:45.000000000 +0200 +++ /var/tmp/diff_new_pack.ylxZJb/_new 2016-10-04 15:59:45.000000000 +0200 @@ -25,8 +25,11 @@ Group: Productivity/Archiving/Compression Url: http://mackyle.github.com/xar Source: https://github.com/mackyle/xar/archive/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM ext2.patch gh#mackyle/xar#10 +Patch0: ext2.patch BuildRequires: autoconf BuildRequires: automake +BuildRequires: e2fsprogs-devel BuildRequires: libacl-devel BuildRequires: libbz2-devel BuildRequires: libopenssl-devel @@ -75,6 +78,7 @@ %prep %setup -q -n %{name}-%{name}-%{version} +%patch0 %build pushd xar ++++++ ext2.patch ++++++ 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 )