summaryrefslogtreecommitdiff
path: root/sysutils
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
parentUpdate to 0.67.2 (diff)
Fix ncurses core dump.
PR: gnu/23058 Submitted by: keramida
Notes
Notes: svn path=/head/; revision=80119
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/screen/Makefile1
-rw-r--r--sysutils/screen/files/patch-terminfo::checktc.c18
2 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile
index ee51a5ccd377..2b080479d241 100644
--- a/sysutils/screen/Makefile
+++ b/sysutils/screen/Makefile
@@ -7,6 +7,7 @@
PORTNAME= screen
PORTVERSION= 3.9.15
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
${MASTER_SITE_GNU}
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;