summaryrefslogtreecommitdiff
path: root/sys-fs/extundelete/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-04-06 22:33:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-04-06 22:33:41 +0100
commite68d405c5d712af4387159df07e226217bdda049 (patch)
tree009ab0f3d427f0813e62930d71802cb054c07e30 /sys-fs/extundelete/files
parent401101f9c8077911929d3f2b60a37098460a5d89 (diff)
gentoo resync : 06.04.2022
Diffstat (limited to 'sys-fs/extundelete/files')
-rw-r--r--sys-fs/extundelete/files/extundelete-0.2.4-clang.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-fs/extundelete/files/extundelete-0.2.4-clang.patch b/sys-fs/extundelete/files/extundelete-0.2.4-clang.patch
new file mode 100644
index 000000000000..711a8db8ad3d
--- /dev/null
+++ b/sys-fs/extundelete/files/extundelete-0.2.4-clang.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/732284
+--- a/src/extundelete.cc
++++ b/src/extundelete.cc
+@@ -1268,7 +1268,7 @@ static ext2_ino_t find_inode(ext2_filsys fs, ext2_filsys jfs, struct ext2_inode
+ *new_ino = 0;
+ priv->ret_ino = new_ino;
+ priv->curr_name = curr_part;
+- struct dir_context ctx = {search_flags, DIRENT_FLAG_INCLUDE_REMOVED,
++ struct dir_context ctx = {(ext2_ino_t)search_flags, DIRENT_FLAG_INCLUDE_REMOVED,
+ buf, match_name2, priv, 0};
+ errcode_t code = extundelete_block_iterate3(fs, *inode, BLOCK_FLAG_DATA_ONLY,
+ NULL, match_ino, &ctx);