diff options
author | Cy Schubert <cy@FreeBSD.org> | 2024-04-03 11:40:59 -0700 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2024-04-03 11:42:51 -0700 |
commit | dd8b166835f3f603e27ac0d1629e9b593c82bd78 (patch) | |
tree | b92a379da985e8cb802957a159a9d1ece3282730 /sysutils/screen-devel/files/patch-utmp.c | |
parent | devel/aws-crt-cpp: Update to 0.26.5 (diff) |
sysutils/screen-devel: New port
Track development branch of screen on savannah.gnu.org.
Diffstat (limited to 'sysutils/screen-devel/files/patch-utmp.c')
-rw-r--r-- | sysutils/screen-devel/files/patch-utmp.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/screen-devel/files/patch-utmp.c b/sysutils/screen-devel/files/patch-utmp.c new file mode 100644 index 000000000000..3157dffa0a90 --- /dev/null +++ b/sysutils/screen-devel/files/patch-utmp.c @@ -0,0 +1,20 @@ +--- utmp.c.orig 2024-03-26 16:41:57.000000000 -0700 ++++ utmp.c 2024-04-03 11:21:49.696125000 -0700 +@@ -30,6 +30,7 @@ + + #include "utmp.h" + ++#include <sys/param.h> + #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> +@@ -64,9 +65,7 @@ + + static int utmpok; + static char UtmpName[] = UTMPXFILE; +-#ifndef UTMP_HELPER + static int utmpfd = -1; +-#endif + + #undef D_loginhost + #define D_loginhost D_utmp_logintty.ut_host |