mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
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.
33 lines
1,020 B
C
33 lines
1,020 B
C
--- os.h.orig 2019-10-01 15:08:00.000000000 -0700
|
|
+++ os.h 2019-10-28 19:37:41.585526000 -0700
|
|
@@ -250,9 +250,11 @@
|
|
#endif
|
|
|
|
#if defined(UTMPOK) || defined(BUGGYGETLOGIN)
|
|
-# if defined(SVR4) && !defined(DGUX) && !defined(__hpux) && !defined(linux)
|
|
+# if (defined(SVR4) && !defined(DGUX) && !defined(__hpux) && !defined(linux)) || defined(__FreeBSD_version)
|
|
# include <utmpx.h>
|
|
-# define UTMPFILE UTMPX_FILE
|
|
+# ifdef UTMPX_FILE /* GNU extension */
|
|
+# define UTMPFILE UTMPX_FILE
|
|
+# endif
|
|
# define utmp utmpx
|
|
# define getutent getutxent
|
|
# define getutid getutxid
|
|
@@ -507,7 +509,7 @@ typedef struct fd_set { int fds_bits[1]; } fd_set;
|
|
*/
|
|
|
|
#ifndef TERMCAP_BUFSIZE
|
|
-# define TERMCAP_BUFSIZE 1023
|
|
+# define TERMCAP_BUFSIZE 1024
|
|
#endif
|
|
|
|
#ifndef MAXPATHLEN
|
|
@@ -524,6 +526,6 @@
|
|
/* Changing those you won't be able to attach to your old sessions
|
|
* when changing those values in official tree don't forget to bump
|
|
* MSG_VERSION */
|
|
-#define MAXTERMLEN 32
|
|
+#define MAXTERMLEN 63
|
|
#define MAXLOGINLEN 256
|
|
|