aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
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 /sysutils
parente274d0e8b96d0a63143ef438c825e5f8bdc58643 (diff)
downloadfreebsd-ports-gnome-81a6a44b1bdda08dfe63a827c9f838bf25e8dba8.tar.gz
freebsd-ports-gnome-81a6a44b1bdda08dfe63a827c9f838bf25e8dba8.tar.zst
freebsd-ports-gnome-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 'sysutils')
-rw-r--r--sysutils/screen/Makefile2
-rw-r--r--sysutils/screen/files/patch-ag11
2 files changed, 12 insertions, 1 deletions
diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile
index f5c07e01065f..80edd32e85dc 100644
--- a/sysutils/screen/Makefile
+++ b/sysutils/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/sysutils/screen/files/patch-ag b/sysutils/screen/files/patch-ag
new file mode 100644
index 000000000000..cce61671404d
--- /dev/null
+++ b/sysutils/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);