aboutsummaryrefslogtreecommitdiff
path: root/sysutils/screen/files
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2003-05-04 20:23:34 +0000
committerCy Schubert <cy@FreeBSD.org>2003-05-04 20:23:34 +0000
commit0a990ec7ee8f65cc21f5d88d6e3f34918e706bce (patch)
treece352409d9c4351458396a8d6088027a31654e1e /sysutils/screen/files
parentfde5a97d49afb8c22fdd5d78dabf216034e0848b (diff)
downloadports-0a990ec7ee8f65cc21f5d88d6e3f34918e706bce.tar.gz
ports-0a990ec7ee8f65cc21f5d88d6e3f34918e706bce.zip
Fix ncurses core dump.
PR: gnu/23058 Submitted by: keramida
Notes
Notes: svn path=/head/; revision=80119
Diffstat (limited to 'sysutils/screen/files')
-rw-r--r--sysutils/screen/files/patch-terminfo::checktc.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/screen/files/patch-terminfo::checktc.c b/sysutils/screen/files/patch-terminfo::checktc.c
new file mode 100644
index 000000000000..d4ffb75cc0c1
--- /dev/null
+++ b/sysutils/screen/files/patch-terminfo::checktc.c
@@ -0,0 +1,18 @@
+--- terminfo/checktc.c.orig Fri Sep 29 09:13:22 1995
++++ terminfo/checktc.c Tue Apr 22 20:37:18 2003
+@@ -171,6 +171,7 @@
+ fflush(stdout);
+ }
+
++#ifndef __FreeBSD__
+ void CPutStr(s, c)
+ char *s;
+ int c;
+@@ -178,6 +179,7 @@
+ tputs(tgoto(s, 0, c), 1, putcha);
+ fflush(stdout);
+ }
++#endif /* __FreeBSD__ */
+
+ void CCPutStr(s, x, y)
+ char *s;