components/text-utilities/patches/ttyutils.h.patch
changeset 3897 cd126ba3fdda
parent 2129 bf833e1aa881
--- a/components/text-utilities/patches/ttyutils.h.patch	Mon Mar 02 15:26:19 2015 -0800
+++ b/components/text-utilities/patches/ttyutils.h.patch	Tue Mar 03 11:01:06 2015 -0800
@@ -2,8 +2,8 @@
 
 These changes will be sent upstream.
 
---- util-linux-2.24.2/include/ttyutils.h.orig	2014-05-13 10:55:05.789258799 -0700
-+++ util-linux-2.24.2/include/ttyutils.h	2014-05-13 11:05:20.943543261 -0700
+--- util-linux-2.25.2/include/ttyutils.h.orig	2015-02-16 18:20:41.448705202 -0800
++++ util-linux-2.25.2/include/ttyutils.h	2015-02-16 18:21:05.533124857 -0800
 @@ -57,6 +57,29 @@
  #define UL_TTY_KEEPCFLAGS	(1 << 1)
  #define UL_TTY_UTF8		(1 << 2)
@@ -13,22 +13,22 @@
 +#define OXTABS 0
 +#endif
 +#ifndef TTYDEF_IFLAG
-+#define	TTYDEF_IFLAG	(BRKINT | ICRNL | IMAXBEL | IXON | IXANY)
++#define        TTYDEF_IFLAG    (BRKINT | ICRNL | IMAXBEL | IXON | IXANY)
 +#endif
 +#ifndef TTYDEF_OFLAG
-+#define TTYDEF_OFLAG	(OPOST | ONLCR | OXTABS)
++#define TTYDEF_OFLAG   (OPOST | ONLCR | OXTABS)
 +#endif
 +#ifndef TTYDEF_LFLAG
-+#define TTYDEF_LFLAG	(ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL)
++#define TTYDEF_LFLAG   (ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL)
 +#endif
 +#ifndef TTYDEF_CFLAG
-+#define TTYDEF_CFLAG	(CREAD | CS8 | HUPCL)
++#define TTYDEF_CFLAG   (CREAD | CS8 | HUPCL)
 +#endif
 +#ifndef CREPRINT
-+#define	CREPRINT 	CTRL('r')
++#define        CREPRINT        CTRL('r')
 +#endif
 +#ifndef CDISCARD
-+#define	CDISCARD 	CTRL('o')
++#define        CDISCARD        CTRL('o')
 +#endif
 +
  static inline void reset_virtual_console(struct termios *tp, int flags)