summaryrefslogtreecommitdiff
path: root/user/screen/utmpx.patch
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-27 23:15:52 -0700
committerDan Theisen <djt@hxx.in>2018-09-27 23:15:52 -0700
commit69d5ebe3562e9d5ced3e5c28c961028c6f3038dc (patch)
tree31c021beabbe5b70fa1728e0175597ca9cab5c6f /user/screen/utmpx.patch
parent1af97d0c4495ab4d323538fa3f86c26f3b063efb (diff)
downloadpackages-69d5ebe3562e9d5ced3e5c28c961028c6f3038dc.tar.gz
packages-69d5ebe3562e9d5ced3e5c28c961028c6f3038dc.tar.bz2
packages-69d5ebe3562e9d5ced3e5c28c961028c6f3038dc.tar.xz
packages-69d5ebe3562e9d5ced3e5c28c961028c6f3038dc.zip
user/screen: new package
Diffstat (limited to 'user/screen/utmpx.patch')
-rw-r--r--user/screen/utmpx.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/user/screen/utmpx.patch b/user/screen/utmpx.patch
new file mode 100644
index 000000000..c8c6f444b
--- /dev/null
+++ b/user/screen/utmpx.patch
@@ -0,0 +1,21 @@
+--- screen-4.6.2/os.h.old 2018-09-27 23:11:11.655480028 -0700
++++ screen-4.6.2/os.h 2018-09-27 23:11:34.745808665 -0700
+@@ -250,17 +250,13 @@
+ #endif
+
+ #if defined(UTMPOK) || defined(BUGGYGETLOGIN)
+-# if defined(SVR4) && !defined(DGUX) && !defined(__hpux) && !defined(linux)
++# if defined(linux)
+ # include <utmpx.h>
+ # define UTMPFILE UTMPX_FILE
+ # define utmp utmpx
+-# define getutent getutxent
+ # define getutid getutxid
+ # define getutline getutxline
+ # define pututline pututxline
+-# define setutent setutxent
+-# define endutent endutxent
+-# define ut_time ut_xtime
+ # else /* SVR4 */
+ # include <utmp.h>
+ # endif /* SVR4 */