aboutsummaryrefslogtreecommitdiff
path: root/misc
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 /misc
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 'misc')
-rw-r--r--misc/screen/Makefile1
-rw-r--r--misc/screen/files/patch-terminfo::checktc.c18
2 files changed, 19 insertions, 0 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile
index ee51a5ccd377..2b080479d241 100644
--- a/misc/screen/Makefile
+++ b/misc/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/misc/screen/files/patch-terminfo::checktc.c b/misc/screen/files/patch-terminfo::checktc.c
new file mode 100644
index 000000000000..d4ffb75cc0c1
--- /dev/null
+++ b/misc/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;