aboutsummaryrefslogtreecommitdiffstats
path: root/tools/squashfskit4/patches/0010-portability.patch
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2022-10-14 17:36:21 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-02-20 07:34:07 +0100
commiteac6fe6f742c7da980799b5583819183a9f33c01 (patch)
treed9d30ce8cd3ba33223d86b9ffd8f286831831613 /tools/squashfskit4/patches/0010-portability.patch
parenta33b97dcb1bd6e68f01c571e92ef02c3ab721523 (diff)
downloadupstream-eac6fe6f742c7da980799b5583819183a9f33c01.tar.gz
upstream-eac6fe6f742c7da980799b5583819183a9f33c01.tar.bz2
upstream-eac6fe6f742c7da980799b5583819183a9f33c01.zip
tools/squashfskit4: drop unused tool
Drop squashfskit4 tool as it got replaced by new version of squashfs4 tool. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'tools/squashfskit4/patches/0010-portability.patch')
-rw-r--r--tools/squashfskit4/patches/0010-portability.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/tools/squashfskit4/patches/0010-portability.patch b/tools/squashfskit4/patches/0010-portability.patch
deleted file mode 100644
index 2cc50ae8f0..0000000000
--- a/tools/squashfskit4/patches/0010-portability.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- a/squashfs-tools/xattr.c
-+++ b/squashfs-tools/xattr.c
-@@ -113,6 +113,7 @@ static int get_prefix(struct xattr_list
-
- static int read_xattrs_from_system(char *filename, struct xattr_list **xattrs)
- {
-+#if defined(linux)
- ssize_t size, vsize;
- char *xattr_names, *p;
- int i;
-@@ -222,6 +223,10 @@ failed:
- free(xattr_list);
- free(xattr_names);
- return 0;
-+#else
-+ *xattrs = NULL;
-+ return 0;
-+#endif
- }
-
-
---- a/squashfs-tools/unsquashfs_xattr.c
-+++ b/squashfs-tools/unsquashfs_xattr.c
-@@ -34,6 +34,7 @@ extern int user_xattrs;
-
- void write_xattr(char *pathname, unsigned int xattr)
- {
-+#if defined(linux)
- unsigned int count;
- struct xattr_list *xattr_list;
- int i;
-@@ -136,4 +137,5 @@ void write_xattr(char *pathname, unsigne
- }
-
- free_xattr(xattr_list, count);
-+#endif
- }