aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-12-25 21:55:17 +0800
committerkris <kris@FreeBSD.org>2000-12-25 21:55:17 +0800
commit81a6a44b1bdda08dfe63a827c9f838bf25e8dba8 (patch)
treebf77ad6b905c7f79265aea8610f6a3ac8938c652 /misc
parente274d0e8b96d0a63143ef438c825e5f8bdc58643 (diff)
downloadfreebsd-ports-graphics-81a6a44b1bdda08dfe63a827c9f838bf25e8dba8.tar.gz
freebsd-ports-graphics-81a6a44b1bdda08dfe63a827c9f838bf25e8dba8.tar.zst
freebsd-ports-graphics-81a6a44b1bdda08dfe63a827c9f838bf25e8dba8.zip
Critical bugfix; don't segfault at the drop of a hat.
PR: 23059 Submitted by: Valentin Nechayev <netch@netch.kiev.ua> Silence by: Maintainer
Diffstat (limited to 'misc')
-rw-r--r--misc/screen/Makefile2
-rw-r--r--misc/screen/files/patch-ag11
2 files changed, 12 insertions, 1 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile
index f5c07e01065..80edd32e85d 100644
--- a/misc/screen/Makefile
+++ b/misc/screen/Makefile
@@ -7,7 +7,7 @@
PORTNAME= screen
PORTVERSION= 3.9.8
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= misc
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
${MASTER_SITE_GNU}
diff --git a/misc/screen/files/patch-ag b/misc/screen/files/patch-ag
new file mode 100644
index 00000000000..cce61671404
--- /dev/null
+++ b/misc/screen/files/patch-ag
@@ -0,0 +1,11 @@
+--- display.c.orig Fri Nov 24 02:22:01 2000
++++ display.c Fri Nov 24 02:19:13 2000
+@@ -896,7 +896,7 @@
+ char *s;
+ int c;
+ {
+- if (display && s)
++ if (display && s && *s)
+ {
+ ospeed = D_dospeed;
+ tputs(tgoto(s, 0, c), 1, DoAddChar);