diff options
Diffstat (limited to 'sys-fs/squashfs-tools-ng/files/squashfs-tools-ng-1.0.0-extras-Pass-flags-argument-to-fix-build.patch')
-rw-r--r-- | sys-fs/squashfs-tools-ng/files/squashfs-tools-ng-1.0.0-extras-Pass-flags-argument-to-fix-build.patch | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/sys-fs/squashfs-tools-ng/files/squashfs-tools-ng-1.0.0-extras-Pass-flags-argument-to-fix-build.patch b/sys-fs/squashfs-tools-ng/files/squashfs-tools-ng-1.0.0-extras-Pass-flags-argument-to-fix-build.patch new file mode 100644 index 000000000000..e61d881c74bf --- /dev/null +++ b/sys-fs/squashfs-tools-ng/files/squashfs-tools-ng-1.0.0-extras-Pass-flags-argument-to-fix-build.patch @@ -0,0 +1,65 @@ +From 4c10a491a2ddfcdc3226431a71aefd6ca71135d4 Mon Sep 17 00:00:00 2001 +From: Matt Turner <mattst88@gmail.com> +Date: Sat, 13 Jun 2020 11:05:49 -0700 +Subject: [PATCH] extras: Pass flags argument to fix build + +Missed in commit 259a98985b4f (Add flags to functions that might +logically be expanded in the future) + +Signed-off-by: Matt Turner <mattst88@gmail.com> +--- + extras/browse.c | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/extras/browse.c b/extras/browse.c +index ef4e223..86ce788 100644 +--- a/extras/browse.c ++++ b/extras/browse.c +@@ -63,7 +63,7 @@ static void list_directory(const char *dirname) + + /* Get the directory inode we want to dump and open the directory */ + if (dirname == NULL) { +- ret = sqfs_dir_reader_open_dir(dr, working_dir); ++ ret = sqfs_dir_reader_open_dir(dr, working_dir, 0); + if (ret) + goto fail_open; + } else if (*dirname == '/') { +@@ -74,7 +74,7 @@ static void list_directory(const char *dirname) + if (ret) + goto fail_resolve; + +- ret = sqfs_dir_reader_open_dir(dr, inode); ++ ret = sqfs_dir_reader_open_dir(dr, inode, 0); + free(inode); + if (ret) + goto fail_open; +@@ -84,7 +84,7 @@ static void list_directory(const char *dirname) + if (ret) + goto fail_resolve; + +- ret = sqfs_dir_reader_open_dir(dr, inode); ++ ret = sqfs_dir_reader_open_dir(dr, inode, 0); + free(inode); + if (ret) + goto fail_open; +@@ -526,7 +526,7 @@ int main(int argc, char **argv) + } + + /* create a directory reader and get the root inode */ +- dr = sqfs_dir_reader_create(&super, cmp, file); ++ dr = sqfs_dir_reader_create(&super, cmp, file, 0); + if (dr == NULL) { + fprintf(stderr, "%s: error creating directory reader.\n", + argv[1]); +@@ -539,7 +539,7 @@ int main(int argc, char **argv) + } + + /* create a data reader */ +- data = sqfs_data_reader_create(file, super.block_size, cmp); ++ data = sqfs_data_reader_create(file, super.block_size, cmp, 0); + + if (data == NULL) { + fprintf(stderr, "%s: error creating data reader.\n", +-- +2.26.2 + |