freebsd-ports/sysutils/coreutils/files/patch-stty.c
Mathieu Arnold 0438143249 Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true,
as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107).

Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when
it is always needed, I renamed it, in one case, I merged two patches.

Differential Revision:	https://reviews.freebsd.org/D2209
2015-04-03 11:26:48 +00:00

24 lines
767 B
C

--- src/stty.c.orig 2010-07-21 17:11:49.000000000 +0200
+++ src/stty.c 2010-07-21 17:12:36.000000000 +0200
@@ -282,10 +282,10 @@
# ifdef TAB3
{"tab3", output, SANE_UNSET, TAB3, TABDLY},
# endif
-# ifdef TAB2
+# if 0
{"tab2", output, SANE_UNSET, TAB2, TABDLY},
# endif
-# ifdef TAB1
+# if 0
{"tab1", output, SANE_UNSET, TAB1, TABDLY},
# endif
# ifdef TAB0
@@ -635,7 +635,7 @@
fputs (_("\
* [-]onocr do not print carriage returns in the first column\n\
[-]opost postprocess output\n\
- * tabN horizontal tab delay style, N in [0..3]\n\
+ * tabN horizontal tab delay style, N in [0,3]\n\
* tabs same as tab0\n\
* -tabs same as tab3\n\
* vtN vertical tab delay style, N in [0..1]\n\