summarylogtreecommitdiffstats
path: root/xar-ext2-bug-workaround.patch
diff options
context:
space:
mode:
Diffstat (limited to 'xar-ext2-bug-workaround.patch')
-rw-r--r--xar-ext2-bug-workaround.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/xar-ext2-bug-workaround.patch b/xar-ext2-bug-workaround.patch
new file mode 100644
index 000000000000..b3944257fee8
--- /dev/null
+++ b/xar-ext2-bug-workaround.patch
@@ -0,0 +1,14 @@
+--- a/lib/ext2.h
++++ b/lib/ext2.h
+@@ -36,6 +36,11 @@
+
+ #ifndef _XAR_EXT2_H_
+ #define _XAR_EXT2_H_
++
++#ifndef EXT2_ECOMPR_FL
++#define EXT2_ECOMPR_FL EXT4_ENCRYPT_FL
++#endif
++
+ #define XAR_ATTR_FORK "attribute"
+ int xar_ext2attr_archive(xar_t x, xar_file_t f, const char* file, const char *buffer, size_t len);
+ int xar_ext2attr_extract(xar_t x, xar_file_t f, const char* file, char *buffer, size_t len);