diff options
author | easimer | 2016-08-03 14:09:06 +0200 |
---|---|---|
committer | easimer | 2016-08-03 14:09:06 +0200 |
commit | 90ab680f6f2ed173f95c92bc98a01381ccb65d8a (patch) | |
tree | c742eceea468266a41b64ace981d8edac5a585be /xar-ext2-bug-workaround.patch | |
parent | e056eb650418d27fef59fd2c17d322c644f30588 (diff) | |
download | aur-90ab680f6f2ed173f95c92bc98a01381ccb65d8a.tar.gz |
Add workaround patch for the EXT2_ECOMPR_FL bug.
* Add workaround patch for https://github.com/mackyle/xar/issues/10
Diffstat (limited to 'xar-ext2-bug-workaround.patch')
-rw-r--r-- | xar-ext2-bug-workaround.patch | 14 |
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); |