summaryrefslogtreecommitdiff
path: root/tool/patches
diff options
context:
space:
mode:
Diffstat (limited to 'tool/patches')
-rw-r--r--tool/patches/utmp.diff15
1 files changed, 10 insertions, 5 deletions
diff --git a/tool/patches/utmp.diff b/tool/patches/utmp.diff
index 80268d717..99303cfc4 100644
--- a/tool/patches/utmp.diff
+++ b/tool/patches/utmp.diff
@@ -1,8 +1,6 @@
-diff --git /usr/include/utmp.h /usr/include/utmp.h
-index a361c50..24d6f50 100644
---- /usr/include/utmp.h
-+++ /usr/include/utmp.h
-@@ -92,7 +92,7 @@ struct lastlog {
+--- /usr/include/utmp.h 2008-05-25 06:24:18.000000000 +0000
++++ /usr/include/utmp.h 2008-06-17 19:26:23.000000000 +0000
+@@ -92,13 +92,13 @@
time_t ll_time;
char ll_line[UT_LINESIZE];
char ll_host[UT_HOSTSIZE];
@@ -11,3 +9,10 @@ index a361c50..24d6f50 100644
struct utmp {
char ut_line[UT_LINESIZE];
+ char ut_name[UT_NAMESIZE];
+ char ut_host[UT_HOSTSIZE];
+ long ut_time;
+-} __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA);
++} __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_1_2,__IPHONE_2_0);
+
+ #endif /* !_UTMP_H_ */