summarylogtreecommitdiffstats
path: root/xar-ext2-bug-workaround.patch
blob: b3944257fee8160e4219ad0abf35c588bbf729ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);