diff options
Diffstat (limited to 'mail-client/mailx/files/mailx-8.1.2-20180807-musl-CCEQ.patch')
-rw-r--r-- | mail-client/mailx/files/mailx-8.1.2-20180807-musl-CCEQ.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mail-client/mailx/files/mailx-8.1.2-20180807-musl-CCEQ.patch b/mail-client/mailx/files/mailx-8.1.2-20180807-musl-CCEQ.patch new file mode 100644 index 000000000000..d04ddd789e3a --- /dev/null +++ b/mail-client/mailx/files/mailx-8.1.2-20180807-musl-CCEQ.patch @@ -0,0 +1,17 @@ +https://bugs.gentoo.org/719512 + +Tiny definition copied from /usr/include/termios.h. +--- a/tty.c ++++ b/tty.c +@@ -57,6 +57,10 @@ + size_t cursor; + }; + ++#ifndef CCEQ ++#define CCEQ(val, c) ((c) == (val) && (val) != _POSIX_VDISABLE) ++#endif ++ + static void tty_flush(struct tty *); + static int tty_getc(struct tty *); + static int tty_insert(struct tty *, int, int); + |