summaryrefslogtreecommitdiff
path: root/misc/deco/files/patch-tty.c
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2020-08-20 10:09:48 +0000
committerEugene Grosbein <eugen@FreeBSD.org>2020-08-20 10:09:48 +0000
commit2cc06739443a9f500dcd1307ea29e0f3e376df86 (patch)
tree5437e06a77a015999a77221d74da8d2cd87a7a0f /misc/deco/files/patch-tty.c
parentFix build on FreeBSD 13 (diff)
misc/deco: fix build with -fno-common (clang 11 and gcc 10)
PORTREVISION not bumped as it fixes build for FreeBSD 13. Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=545519
Diffstat (limited to '')
-rw-r--r--misc/deco/files/patch-tty.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/deco/files/patch-tty.c b/misc/deco/files/patch-tty.c
new file mode 100644
index 000000000000..083d06c4fbf8
--- /dev/null
+++ b/misc/deco/files/patch-tty.c
@@ -0,0 +1,11 @@
+--- tty.c.orig 1997-07-18 14:58:32 UTC
++++ tty.c
+@@ -82,7 +82,7 @@ static struct ltchars oldchars, newchars;
+ # define OXTABS TAB3
+ #endif
+
+-int TtyUpperCase;
++int TtyUpperCase = 0;
+
+ #define NOCHAR 0
+