aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2003-05-05 04:23:34 +0800
committercy <cy@FreeBSD.org>2003-05-05 04:23:34 +0800
commit0a498cb688f5185206efda4598f490e3fbac67cc (patch)
tree05889e2c50dadc0bd27950f7661ff2d4bccffbfd /misc
parentba1d048ef663c43854c2cd9f646affe7ce6a4bd5 (diff)
downloadfreebsd-ports-gnome-0a498cb688f5185206efda4598f490e3fbac67cc.tar.gz
freebsd-ports-gnome-0a498cb688f5185206efda4598f490e3fbac67cc.tar.zst
freebsd-ports-gnome-0a498cb688f5185206efda4598f490e3fbac67cc.zip
Fix ncurses core dump.
PR: gnu/23058 Submitted by: keramida
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;