diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /app-backup/snapper/files/snapper-0.5.6-swap.patch | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'app-backup/snapper/files/snapper-0.5.6-swap.patch')
-rw-r--r-- | app-backup/snapper/files/snapper-0.5.6-swap.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-backup/snapper/files/snapper-0.5.6-swap.patch b/app-backup/snapper/files/snapper-0.5.6-swap.patch new file mode 100644 index 000000000000..aa24330d7304 --- /dev/null +++ b/app-backup/snapper/files/snapper-0.5.6-swap.patch @@ -0,0 +1,36 @@ +commit 22bc1d808ebb6c3958e8231a36b73cd45a7f2c30 +Author: Spencer Janssen <spencerjanssen@gmail.com> +Date: Mon Dec 3 17:33:49 2018 -0600 + + Work around btrfs v4.19 + + Addresses #459 + +diff --git a/snapper/Btrfs.cc b/snapper/Btrfs.cc +index cb9f7b3..c05557b 100644 +--- a/snapper/Btrfs.cc ++++ b/snapper/Btrfs.cc +@@ -41,6 +41,9 @@ + #include <btrfs/send.h> + #include <btrfs/send-stream.h> + #include <btrfs/send-utils.h> ++#ifdef swap ++#undef swap ++#endif + #include <boost/version.hpp> + #include <boost/thread.hpp> + #endif +diff --git a/snapper/BtrfsUtils.cc b/snapper/BtrfsUtils.cc +index bada3f8..9edc325 100644 +--- a/snapper/BtrfsUtils.cc ++++ b/snapper/BtrfsUtils.cc +@@ -34,6 +34,9 @@ + #ifdef HAVE_LIBBTRFS + #include <btrfs/ioctl.h> + #include <btrfs/send-utils.h> ++#ifdef swap ++#undef swap ++#endif + #endif + #include <algorithm> + #include <functional> |