aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/screen
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2011-11-08 13:15:49 +0800
committercy <cy@FreeBSD.org>2011-11-08 13:15:49 +0800
commitf41df3702eec7fe80da262a32dcfbc16ac51b512 (patch)
tree0975875dd15045cee57fca1d44247fe7cd0f5abf /sysutils/screen
parent935d25042895628e7018953952dc93f97f5576f8 (diff)
downloadfreebsd-ports-gnome-f41df3702eec7fe80da262a32dcfbc16ac51b512.tar.gz
freebsd-ports-gnome-f41df3702eec7fe80da262a32dcfbc16ac51b512.tar.zst
freebsd-ports-gnome-f41df3702eec7fe80da262a32dcfbc16ac51b512.zip
Allow $TERM to be longer than 20 bytes, allow for 63 bytes.
PR: 162339
Diffstat (limited to 'sysutils/screen')
-rw-r--r--sysutils/screen/Makefile2
-rw-r--r--sysutils/screen/files/patch-display.h11
-rw-r--r--sysutils/screen/files/patch-screen.h13
3 files changed, 23 insertions, 3 deletions
diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile
index cdc0f92fe348..00cc09c58595 100644
--- a/sysutils/screen/Makefile
+++ b/sysutils/screen/Makefile
@@ -7,7 +7,7 @@
PORTNAME= screen
PORTVERSION= 4.0.3
-PORTREVISION= 12
+PORTREVISION= 13
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
http://komquats.com/distfiles/ \
diff --git a/sysutils/screen/files/patch-display.h b/sysutils/screen/files/patch-display.h
new file mode 100644
index 000000000000..cb3610bdfbd0
--- /dev/null
+++ b/sysutils/screen/files/patch-display.h
@@ -0,0 +1,11 @@
+--- display.h.orig 2003-07-01 07:01:42.000000000 -0700
++++ display.h 2011-11-07 11:54:32.842183150 -0800
+@@ -85,7 +85,7 @@
+ struct win *d_other; /* pointer to other window */
+ int d_nonblock; /* -1 don't block if obufmax reached */
+ /* >0: block after nonblock secs */
+- char d_termname[20 + 1]; /* $TERM */
++ char d_termname[63 + 1]; /* $TERM */
+ char *d_tentry; /* buffer for tgetstr */
+ char d_tcinited; /* termcap inited flag */
+ int d_width, d_height; /* width/height of the screen */
diff --git a/sysutils/screen/files/patch-screen.h b/sysutils/screen/files/patch-screen.h
index a5a370f62ef2..d8fa112b5769 100644
--- a/sysutils/screen/files/patch-screen.h
+++ b/sysutils/screen/files/patch-screen.h
@@ -1,5 +1,5 @@
---- screen.h.orig 2003-08-22 14:28:43.000000000 +0200
-+++ screen.h 2007-07-30 10:25:45.000000000 +0200
+--- screen.h.orig 2003-08-22 05:28:43.000000000 -0700
++++ screen.h 2011-11-07 11:53:41.739890820 -0800
@@ -22,6 +22,8 @@
* $Id: screen.h,v 1.12 1994/05/31 12:32:54 mlschroe Exp $ FAU
*/
@@ -9,3 +9,12 @@
#include "os.h"
#if defined(__STDC__)
+@@ -202,7 +204,7 @@
+ char preselect[20];
+ int esc; /* his new escape character unless -1 */
+ int meta_esc; /* his new meta esc character unless -1 */
+- char envterm[20 + 1]; /* terminal type */
++ char envterm[63 + 1]; /* terminal type */
+ int encoding; /* encoding of display */
+ }
+ attach;