diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-mail/mswatch/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-mail/mswatch/files')
-rw-r--r-- | net-mail/mswatch/files/mswatch-1.2.0-gcc47.patch | 26 | ||||
-rw-r--r-- | net-mail/mswatch/files/mswatch-1.2.0-gcc6.patch | 12 |
2 files changed, 38 insertions, 0 deletions
diff --git a/net-mail/mswatch/files/mswatch-1.2.0-gcc47.patch b/net-mail/mswatch/files/mswatch-1.2.0-gcc47.patch new file mode 100644 index 000000000000..c11052164c66 --- /dev/null +++ b/net-mail/mswatch/files/mswatch-1.2.0-gcc47.patch @@ -0,0 +1,26 @@ + https://bugs.gentoo.org/424673 + + src/lib/util.cc | 1 + + src/watch_maildirs/inotify/state.cc | 1 + + 2 files changed, 2 insertions(+) + +--- a/src/lib/util.cc ++++ b/src/lib/util.cc +@@ -6,6 +6,7 @@ + #include <stdlib.h> + #include <string.h> + #include <time.h> ++#include <unistd.h> + + #include <sstream> + #include <string> +--- a/src/watch_maildirs/inotify/state.cc ++++ b/src/watch_maildirs/inotify/state.cc +@@ -1,6 +1,7 @@ + #include <assert.h> + #include <stdlib.h> + #include <stdio.h> ++#include <unistd.h> + + #include "lib/util.h" + #include "state.h" diff --git a/net-mail/mswatch/files/mswatch-1.2.0-gcc6.patch b/net-mail/mswatch/files/mswatch-1.2.0-gcc6.patch new file mode 100644 index 000000000000..2b4fa4ce5d2b --- /dev/null +++ b/net-mail/mswatch/files/mswatch-1.2.0-gcc6.patch @@ -0,0 +1,12 @@ +--- mswatch-1.2.0/src/lib/util.h.old 2016-09-23 19:09:54.195069503 -0400 ++++ mswatch-1.2.0/src/lib/util.h 2016-09-23 19:10:04.663460768 -0400 +@@ -21,9 +21,6 @@ + + void drain_fd(int fd); + +-// static assert, for compile-time assertion checking +-#define static_assert(x) switch (x) case 0: case (x): +- + __END_DECLS + + |