summaryrefslogtreecommitdiff
path: root/sysutils/screen/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/screen/files/patch-configure')
-rw-r--r--sysutils/screen/files/patch-configure27
1 files changed, 22 insertions, 5 deletions
diff --git a/sysutils/screen/files/patch-configure b/sysutils/screen/files/patch-configure
index 4c1cbb786cfa..00c34fc77d92 100644
--- a/sysutils/screen/files/patch-configure
+++ b/sysutils/screen/files/patch-configure
@@ -1,5 +1,5 @@
--- configure.orig 2019-10-01 15:27:14.000000000 -0700
-+++ configure 2019-10-08 04:39:00.284009000 -0700
++++ configure 2019-10-27 23:29:24.744163000 -0700
@@ -4756,63 +4756,6 @@
else
@@ -123,8 +123,12 @@
# Check whether --with-pty-mode was given.
-@@ -5318,6 +5251,8 @@
- #if defined(SVR4) && !defined(DGUX)
+@@ -5315,9 +5248,11 @@
+
+ #include <time.h> /* to get time_t on SCO */
+ #include <sys/types.h>
+-#if defined(SVR4) && !defined(DGUX)
++#if (defined(SVR4) && !defined(DGUX)) || defined(__FreeBSD_cc_version)
#include <utmpx.h>
#define utmp utmpx
+#define pututline pututxline
@@ -132,8 +136,21 @@
#else
#include <utmp.h>
#endif
-@@ -5386,6 +5321,10 @@
- #if defined(SVR4) && !defined(DGUX)
+@@ -5346,7 +5281,7 @@
+
+ #include <time.h>
+ #include <sys/types.h>
+-#if defined(SVR4) && !defined(DGUX)
++#if (defined(SVR4) && !defined(DGUX)) || defined(__FreeBSD_cc_version)
+ #include <utmpx.h>
+ #define utmp utmpx
+ #else
+@@ -5383,9 +5318,13 @@
+
+ #include <time.h>
+ #include <sys/types.h>
+-#if defined(SVR4) && !defined(DGUX)
++#if (defined(SVR4) && !defined(DGUX)) || defined(__FreeBSD_cc_version)
#include <utmpx.h>
#define utmp utmpx
+#define pututline pututxline