Skip to content

Commit

Permalink
sys-fs/extundelete: fix build with newer e2fsprogs version
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/652688
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Closes: gentoo#9094
Closes: https://bugs.gentoo.org/652688
  • Loading branch information
ConiKost authored and tonyvroon committed Jul 11, 2018
1 parent dbe7e24 commit 75bb550
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 14 deletions.
15 changes: 8 additions & 7 deletions sys-fs/extundelete/extundelete-0.2.4.ebuild
Original file line number Diff line number Diff line change
@@ -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" )
11 changes: 11 additions & 0 deletions sys-fs/extundelete/files/extundelete-0.2.4-e2fsprogs.patch
Original file line number Diff line number Diff line change
@@ -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++)
15 changes: 8 additions & 7 deletions sys-fs/extundelete/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Gentoo Base System</name>
</maintainer>
<upstream>
<remote-id type="sourceforge">extundelete</remote-id>
</upstream>
<maintainer type="project">
<email>[email protected]</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>

0 comments on commit 75bb550

Please sign in to comment.