From d5d97df82388d62a174723906868ec14941afd56 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 10 Aug 2012 06:56:25 +0200 Subject: [PATCH] extundelete: patch for newest kernel headers. --- srcpkgs/extundelete/patches/build.patch | 20 ++++++++++++++++++++ srcpkgs/extundelete/template | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/extundelete/patches/build.patch diff --git a/srcpkgs/extundelete/patches/build.patch b/srcpkgs/extundelete/patches/build.patch new file mode 100644 index 0000000000..3a56f3b78c --- /dev/null +++ b/srcpkgs/extundelete/patches/build.patch @@ -0,0 +1,20 @@ +--- src/extundelete.cc 2010-05-16 03:51:15.000000000 +0200 ++++ src/extundelete.cc 2012-02-26 16:49:20.000000000 +0100 +@@ -943,3 +943,3 @@ + { +- group_descriptor_table[n] = fs->group_desc[n]; ++ group_descriptor_table[n] = *ext2fs_group_desc(fs, fs->group_desc, n); + } +@@ -2613,3 +2613,4 @@ + inode->osd2.linux2.l_i_gid_high = le16_to_cpu( (uint16_t *) &inodebuf[item*60] ); +- inode->osd2.linux2.l_i_reserved2 = le32_to_cpu( (uint32_t *) &inodebuf[item*62] ); ++ inode->osd2.linux2.l_i_checksum_lo = le16_to_cpu( (uint16_t *) &inodebuf[item*62] ); ++ inode->osd2.linux2.l_i_reserved = le16_to_cpu( (uint16_t *) &inodebuf[item*63] ); + } +--- src/insertionops.cc 2010-03-21 07:05:15.000000000 +0100 ++++ src/insertionops.cc 2012-02-26 16:49:27.000000000 +0100 +@@ -65,3 +65,3 @@ + os << "# Blocks per group: " << s_block->s_blocks_per_group << std::endl; +- os << "# Fragments per group: " << s_block->s_frags_per_group << std::endl; ++ os << "# Fragments per group: " << s_block->s_clusters_per_group << std::endl; + os << "# Inodes per group: " << s_block->s_inodes_per_group << std::endl; diff --git a/srcpkgs/extundelete/template b/srcpkgs/extundelete/template index ca3ecabca4..753fa48226 100644 --- a/srcpkgs/extundelete/template +++ b/srcpkgs/extundelete/template @@ -1,7 +1,7 @@ # Template file for 'extundelete' pkgname=extundelete version=0.2.0 -revision=1 +revision=2 build_style=gnu-configure makedepends="e2fsprogs-devel" short_desc="ext3/ext4 file recover utility"