From 43808d10e2359ee97c2a37d851bbb78e72eeabe3 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Wed, 28 Aug 2024 19:33:47 -0700 Subject: sysutils/screen*: Rename screen and introduce a meta port This is in preparation for the import of screen 5.0.0. I've tried screen-devel (5.0.0 prelrelease). There were some bugs and inconsistencies with screen 4.9.1. So we move screen to screen49 to maintain a version of screen that is known to work. This implements the concept of a master screen port by renaming it to screen49 and creating a slave port called screen. The idea of this is similar in concept used with the cfengine or krb5 family of ports. Users should never need to change port origins when a new stable version of screen is committed. People can install the screen port or package as before. However if they choose to use the other screen port/package they may remove screen and install the versioned "master" port/package directly. This is in preparation for import of screen 5.0.0 into the ports collection. Unfortunately my initial testing of screen 5.0.0 using the screen-devel port uncovered an annoying (to me) bug, which I have opened an issue with our upstream. I have not found the time to test their patches enough to feel comfortalbe replacing the existing screen 4.9.1 with 5.0.0. When 5.0.0 will be imported as sysutils/screen50, it will not become the default master port until we believe it won't become a source of many bugzilla bugs. --- sysutils/screen49/files/patch-screen.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sysutils/screen49/files/patch-screen.c (limited to 'sysutils/screen49/files/patch-screen.c') diff --git a/sysutils/screen49/files/patch-screen.c b/sysutils/screen49/files/patch-screen.c new file mode 100644 index 000000000000..50b28c02a955 --- /dev/null +++ b/sysutils/screen49/files/patch-screen.c @@ -0,0 +1,11 @@ +--- screen.c.orig 2017-07-10 12:26:25.000000000 -0700 ++++ screen.c 2017-08-25 20:20:20.471073000 -0700 +@@ -2214,7 +2214,7 @@ + pn2 = pn = p + padlen; + r = winmsg_numrend; + while (p >= buf) { +- if (r && *p != 127 && p - buf == winmsg_rendpos[r - 1]) { ++ if (r && p - buf == winmsg_rendpos[r - 1]) { + winmsg_rendpos[--r] = pn - buf; + continue; + } -- cgit v1.2.3