Changeset - 4030b49c208c
[Not reviewed]
0 0 3
Chel Sea (chain) - 8 years ago 2017-05-14 21:54:33
chain@rpgfiction.net
add fixed version of app-arch/xar-1.6.1 to tree
3 files changed with 67 insertions and 0 deletions:
0 comments (0 inline, 0 general)
app-arch/xar/Manifest
Show inline comments
 
new file 100644
 
AUX xar-1.6.1-ext2.patch 689 SHA256 d72e72a800b9acec0c225f5cca01c1dc0310084772f641fa6a105a3981b2d6c0 SHA512 bf48f2474157e5b59dd575afa02bc928a941b9f175b251ef0c0dd7a5c3580daa8e5ab0a72e8724d1293169dab330b9b69b5eedaed12564cec50ee0de18f952e6 WHIRLPOOL e9e9f2a4d5bf8791fb44b2e3ac32a9a445f579d68a26de186233ac03fbbc30b2dccd5c52446721ae544f9962f881eab22efbc58f4af313842fd8a67074eedf83
 
DIST xar-1.6.1.tar.gz 180771 SHA256 ee46089968457cf710b8cf1bdeb98b7ef232eb8a4cdeb34502e1f16ef4d2153e SHA512 6ddf83130519006c4d8fe699cdf5a6e5e41b293f3411d4744bf3425fda21556ef54b95e46f60c13f9276070ccda94c8d95a543f1fda4cbd9e3087ab9b5d0b00b WHIRLPOOL e7e77de1ff8aa089fe12c6eca0565f5f639e1d97653f5bfe968994a5236e12e8267d3ee082aa84e91561e395dd4b0b805bd5861c6ebff904b7f02f6d6b4be89e
 
EBUILD xar-1.6.1-r1.ebuild 741 SHA256 1736d4698aafda3ef54676f7ddcde1c5e064bfc82a240f0433eddf6f4e8c82f5 SHA512 43931b88314e4eb092d3b2cc8eb8ef777aa4edc3bc6f61cdaa9a696ab82f7be8677dc58055f31cb22b37c6b06ac87aa919b2f9db392d93185eb9798ad4ffda2d WHIRLPOOL e4634258ce9470f9c09658fb671ee8cf426f39f35838aa8aee0eff6a72a3fb65774d18b2acfc655c1ce845b4bc42d0f88470cf01c9ccb56d97865e59a8f886d5
app-arch/xar/files/xar-1.6.1-ext2.patch
Show inline comments
 
new file 100644
 
--- 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 )
app-arch/xar/xar-1.6.1-r1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2016 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Id$
 
EAPI=6
 

	
 
inherit autotools eutils
 

	
 
DESCRIPTION="An easily extensible archive format"
 
HOMEPAGE="https://github.com/mackyle/xar"
 
SRC_URI="mirror://github/mackyle/${PN}/${P}.tar.gz"
 

	
 
LICENSE="BSD-2"
 
SLOT="0"
 
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
 
IUSE="+bzip2 libressl"
 

	
 
DEPEND="
 
	!libressl? (
 
		dev-libs/openssl:0=
 
	)
 
	libressl? (
 
		dev-libs/libressl:0=
 
	)
 
	bzip2? (
 
		app-arch/bzip2
 
	)
 
	sys-libs/zlib"
 

	
 
RDEPEND="${DEPEND}"
 

	
 
src_prepare() {
 
	default
 
	epatch "${FILESDIR}/${P}-ext2.patch"
 
	eautoconf
 
}
 

	
 
src_configure() {
 
	econf \
 
		$(use_with bzip2)
 
}
0 comments (0 inline, 0 general)