diff options
Diffstat (limited to 'sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.7.0-page_size.patch')
-rw-r--r-- | sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.7.0-page_size.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.7.0-page_size.patch b/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.7.0-page_size.patch new file mode 100644 index 00000000..5384f6d9 --- /dev/null +++ b/sys-block/thin-provisioning-tools/files/thin-provisioning-tools-0.7.0-page_size.patch @@ -0,0 +1,14 @@ +diff -Naur thin-provisioning-tools-0.7.0.orig/block-cache/io_engine.h thin-provisioning-tools-0.7.0/block-cache/io_engine.h +--- thin-provisioning-tools-0.7.0.orig/block-cache/io_engine.h 2017-03-27 06:00:54.000000000 -0700 ++++ thin-provisioning-tools-0.7.0/block-cache/io_engine.h 2017-08-16 10:21:17.536936717 -0700 +@@ -10,6 +10,10 @@ + #include <libaio.h> + #include <vector> + ++#ifdef PAGE_SIZE ++#undef PAGE_SIZE ++#endif ++ + //---------------------------------------------------------------- + + namespace bcache { |