sys-fs/extundelete: fix build with newer e2fsprogs version
authorConrad Kostecki <conrad@kostecki.com>
Sat, 7 Jul 2018 21:52:01 +0000 (23:52 +0200)
committerTony Vroon <chainsaw@gentoo.org>
Wed, 11 Jul 2018 10:53:21 +0000 (11:53 +0100)
Closes: https://bugs.gentoo.org/652688
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9094
Closes: https://bugs.gentoo.org/652688

sys-fs/extundelete/extundelete-0.2.4.ebuild
sys-fs/extundelete/files/extundelete-0.2.4-e2fsprogs.patch [new file with mode: 0644]
sys-fs/extundelete/metadata.xml

index c39d376e3b0054a8ac60bda5ba5a86bd70b91044..cb98d1828d507b3196acdcbf53dd043b35172ba0 100644 (file)
@@ -1,20 +1,21 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 DESCRIPTION="A utility to undelete files from an ext3 or ext4 partition"
-HOMEPAGE="http://extundelete.sourceforge.net/"
+HOMEPAGE="https://extundelete.sourceforge.net/"
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT=0
 KEYWORDS="amd64 ~arm x86"
-IUSE=""
 
-E2FSPROGS=1.42.6
-RDEPEND=">=sys-fs/e2fsprogs-${E2FSPROGS}
-       >=sys-libs/e2fsprogs-libs-${E2FSPROGS}"
+RDEPEND="sys-fs/e2fsprogs
+       sys-libs/e2fsprogs-libs"
+
 DEPEND=${RDEPEND}
 
 DOCS=README
+
+PATCHES=( "${FILESDIR}/${P}-e2fsprogs.patch" )
diff --git a/sys-fs/extundelete/files/extundelete-0.2.4-e2fsprogs.patch b/sys-fs/extundelete/files/extundelete-0.2.4-e2fsprogs.patch
new file mode 100644 (file)
index 0000000..ea0da14
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/src/insertionops.cc      2012-12-30 18:23:32.000000000 +0100
++++ b/src/insertionops.cc      2018-05-07 22:58:13.065868723 +0200
+@@ -33,7 +33,7 @@
+   os << "File flags: " << inode.i_flags << std::endl;
+   os << "File version (for NFS): " << inode.i_generation << std::endl;
+   os << "File ACL: " << inode.i_file_acl << std::endl;
+-  os << "Directory ACL: " << inode.i_dir_acl << std::endl;
++  os << "Directory ACL: " << inode.i_size_high << std::endl;
+   os << "Fragment address: " << inode.i_faddr << std::endl;
+   os << "Direct blocks: ";
+   for (int n = 0; n < EXT2_NDIR_BLOCKS; n++)
index a5550604b14262c50975c4d6be7a293d9bd86d39..458b539da8fd3c02af5ca17b1883683f01c414c6 100644 (file)
@@ -1,11 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="project">
-       <email>base-system@gentoo.org</email>
-       <name>Gentoo Base System</name>
-</maintainer>
-<upstream>
-       <remote-id type="sourceforge">extundelete</remote-id>
-</upstream>
+       <maintainer type="project">
+               <email>base-system@gentoo.org</email>
+               <name>Gentoo Base System</name>
+       </maintainer>
+       <upstream>
+               <bugs-to>https://sourceforge.net/p/extundelete/tickets/</bugs-to>
+               <remote-id type="sourceforge">extundelete</remote-id>
+       </upstream>
 </pkgmetadata>