extundelete-0.2.0-build.patch 1.1 KB

123456789101112131415161718192021222324
  1. http://bugs.gentoo.org/402633
  2. http://projects.archlinux.org/svntogit/community.git/tree/trunk/extundelete-build.patch?h=packages/extundelete
  3. --- src/extundelete.cc
  4. +++ src/extundelete.cc
  5. @@ -943,3 +943,3 @@
  6. {
  7. - group_descriptor_table[n] = fs->group_desc[n];
  8. + group_descriptor_table[n] = *ext2fs_group_desc(fs, fs->group_desc, n);
  9. }
  10. @@ -2613,3 +2613,4 @@
  11. inode->osd2.linux2.l_i_gid_high = le16_to_cpu( (uint16_t *) &inodebuf[item*60] );
  12. - inode->osd2.linux2.l_i_reserved2 = le32_to_cpu( (uint32_t *) &inodebuf[item*62] );
  13. + inode->osd2.linux2.l_i_checksum_lo = le16_to_cpu( (uint16_t *) &inodebuf[item*62] );
  14. + inode->osd2.linux2.l_i_reserved = le16_to_cpu( (uint16_t *) &inodebuf[item*63] );
  15. }
  16. --- src/insertionops.cc
  17. +++ src/insertionops.cc
  18. @@ -65,3 +65,3 @@
  19. os << "# Blocks per group: " << s_block->s_blocks_per_group << std::endl;
  20. - os << "# Fragments per group: " << s_block->s_frags_per_group << std::endl;
  21. + os << "# Fragments per group: " << s_block->s_clusters_per_group << std::endl;
  22. os << "# Inodes per group: " << s_block->s_inodes_per_group << std::endl;