diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2002-03-13 22:33:40 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2002-03-13 22:33:40 +0000 |
commit | dd68e0c31c8e75c2ff97534603862159d46bc855 (patch) | |
tree | 3f50916595bd07c432faf8bacd589d6e1ae59148 /sysutils/screen | |
parent | d834cc2592bf85468c54639cfe07067605d8538a (diff) | |
download | ports-dd68e0c31c8e75c2ff97534603862159d46bc855.tar.gz ports-dd68e0c31c8e75c2ff97534603862159d46bc855.zip |
Notes
Diffstat (limited to 'sysutils/screen')
-rw-r--r-- | sysutils/screen/Makefile | 1 | ||||
-rw-r--r-- | sysutils/screen/files/patch-ah | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile index 41004a26c86f..b5ce9b7fb03e 100644 --- a/sysutils/screen/Makefile +++ b/sysutils/screen/Makefile @@ -7,6 +7,7 @@ PORTNAME= screen PORTVERSION= 3.9.11 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \ ${MASTER_SITE_GNU} diff --git a/sysutils/screen/files/patch-ah b/sysutils/screen/files/patch-ah new file mode 100644 index 000000000000..a63bd227918b --- /dev/null +++ b/sysutils/screen/files/patch-ah @@ -0,0 +1,49 @@ +--- ./display.c.orig Fri Feb 22 12:56:57 2002 ++++ ./display.c Fri Feb 22 13:02:10 2002 +@@ -3371,7 +3371,7 @@ + { + int font = 0; + j += EncodeChar(buf2 + j, c, D_forecv->c_layer->l_encoding, &font); +- j += EncodeChar(buf2 + j, 0, D_forecv->c_layer->l_encoding, &font); ++ j += EncodeChar(buf2 + j, -1, D_forecv->c_layer->l_encoding, &font); + } + else + j += EncodeChar(buf2 + j, c, D_forecv->c_layer->l_encoding, 0); +--- ./encoding.c.orig Fri Feb 22 12:57:46 2002 ++++ ./encoding.c Fri Feb 22 13:01:30 2002 +@@ -1032,7 +1032,7 @@ + int t, f, l; + + debug2("Encoding char %02x for encoding %d\n", c, encoding); +- if (c == 0 && fontp) ++ if (c == -1 && fontp) + { + if (*fontp == 0) + return 0; +@@ -1297,7 +1297,7 @@ + continue; + j += EncodeChar(tbuf ? (char *)tbuf + j : 0, c, tenc, &font); + } +- j += EncodeChar(tbuf ? (char *)tbuf + j : 0, 0, tenc, &font); ++ j += EncodeChar(tbuf ? (char *)tbuf + j : 0, -1, tenc, &font); + return j; + } + +@@ -1456,7 +1456,7 @@ + int *fontp; + { + int f, l; +- f = c >> 16; ++ f = (c == -1) ? 0 : c >> 16; + l = 0; + if (fontp && f != *fontp) + { +@@ -1486,7 +1486,7 @@ + l += 3; + } + } +- if (c == 0) ++ if (c == -1) + return l; + if (c & 0xff00) + { |