ports/opt (3.0): screen: extend length of screen variable, patch by drayevarg
commit ddcfc6f1df0cee88e884dd03fc5df9a3d6935118 Author: Juergen Daubert <jue@jue.li> Date: Sat Jul 27 16:35:13 2013 +0200 screen: extend length of screen variable, patch by drayevarg diff --git a/screen/.md5sum b/screen/.md5sum index e9b4cf4..ba37474 100644 --- a/screen/.md5sum +++ b/screen/.md5sum @@ -1 +1,2 @@ 8506fd205028a96c741e4037de6e3c42 screen-4.0.3.tar.gz +fa18b4e37f29683d910f0b4678356534 screen-extend_term_string.patch diff --git a/screen/Pkgfile b/screen/Pkgfile index 220f3a3..8d4e50c 100644 --- a/screen/Pkgfile +++ b/screen/Pkgfile @@ -5,11 +5,13 @@ name=screen version=4.0.3 -release=2 -source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) +release=3 +source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz + $name-extend_term_string.patch) build () { cd $name-$version + patch -p1 -i $SRC/$name-extend_term_string.patch ./configure --prefix=/usr --enable-colors256 make make -j1 DESTDIR=$PKG install diff --git a/screen/screen-extend_term_string.patch b/screen/screen-extend_term_string.patch new file mode 100644 index 0000000..8123e40 --- /dev/null +++ b/screen/screen-extend_term_string.patch @@ -0,0 +1,25 @@ +diff -Naur screen-4.0.3-orig//display.h screen-4.0.3/display.h +--- screen-4.0.3-orig//display.h 2003-07-02 00:01:42.000000000 +1000 ++++ screen-4.0.3/display.h 2010-12-03 20:19:23.826671689 +1000 +@@ -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[40 + 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 -Naur screen-4.0.3-orig//screen.h screen-4.0.3/screen.h +--- screen-4.0.3-orig//screen.h 2003-08-22 22:28:43.000000000 +1000 ++++ screen-4.0.3/screen.h 2010-12-03 20:19:43.163338333 +1000 +@@ -202,7 +202,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[40 + 1]; /* terminal type */ + int encoding; /* encoding of display */ + } + attach; +
participants (1)
-
crux@crux.nu