diff options
author | Andreas Zuber <a.zuber@gmx.ch> | 2018-03-19 17:09:40 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-03-22 14:06:06 +0100 |
commit | 0df3941d411137477e48943898d3cbb486b5229c (patch) | |
tree | 567bd943fa72b69190c3eb868b39398b4c374138 /dev-libs/libexplain/files | |
parent | dev-python/utidylib: remove app-text/htmltidy dependency. (diff) | |
download | gentoo-0df3941d411137477e48943898d3cbb486b5229c.tar.gz gentoo-0df3941d411137477e48943898d3cbb486b5229c.tar.bz2 gentoo-0df3941d411137477e48943898d3cbb486b5229c.zip |
dev-libs/libexplain: add missing defines.
These defines have been removed from the Linux headers and have
to be added with a patch to make the library compile again.
The patch comes from the Debian bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828853
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Closes: https://bugs.gentoo.org/628628
Closes: https://github.com/gentoo/gentoo/pull/7509
Diffstat (limited to 'dev-libs/libexplain/files')
-rw-r--r-- | dev-libs/libexplain/files/libexplain-missing-defines.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-libs/libexplain/files/libexplain-missing-defines.patch b/dev-libs/libexplain/files/libexplain-missing-defines.patch new file mode 100644 index 000000000000..bb1170cbc385 --- /dev/null +++ b/dev-libs/libexplain/files/libexplain-missing-defines.patch @@ -0,0 +1,18 @@ +--- libexplain-1.4.D001.orig/libexplain/buffer/file_inode_flags.c ++++ libexplain-1.4.D001/libexplain/buffer/file_inode_flags.c +@@ -28,6 +28,14 @@ + + #if defined(FS_IOC_GETFLAGS) || defined(FS_IOC32_GETFLAGS) + ++#ifndef FS_ECOMPR_FL ++#define FS_ECOMPR_FL 0x00000800 /* Compression error */ ++#endif ++ ++#ifndef FS_DIRECTIO_FL ++#define FS_DIRECTIO_FL 0x00100000 /* Use direct i/o */ ++#endif ++ + void + explain_buffer_file_inode_flags(explain_string_buffer_t *sb, int value) + { + |