summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2017-04-04 17:37:27 +0200
committerPacho Ramos <pacho@gentoo.org>2017-04-04 17:38:46 +0200
commit72ed56d099356b1bf90342c205f51c88da0cfc74 (patch)
tree21bce10cbf305734480dfd59f2fcf79cbe668270 /net-mail/mswatch/files
parentdev-perl/File-Find-Rule-Perl: Bump to version 1.150.0 (diff)
downloadgentoo-72ed56d099356b1bf90342c205f51c88da0cfc74.tar.gz
gentoo-72ed56d099356b1bf90342c205f51c88da0cfc74.tar.bz2
gentoo-72ed56d099356b1bf90342c205f51c88da0cfc74.zip
net-mail/mswatch: Fix gcc6 support, bug #594226 by Peter Levine, drop autotools-utils.eclass usage.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-mail/mswatch/files')
-rw-r--r--net-mail/mswatch/files/mswatch-1.2.0-gcc6.patch12
1 files changed, 12 insertions, 0 deletions
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
+
+