summaryrefslogtreecommitdiff
path: root/tool/patches/util.diff
diff options
context:
space:
mode:
Diffstat (limited to 'tool/patches/util.diff')
-rw-r--r--tool/patches/util.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/tool/patches/util.diff b/tool/patches/util.diff
new file mode 100644
index 000000000..3796e6ea2
--- /dev/null
+++ b/tool/patches/util.diff
@@ -0,0 +1,16 @@
+diff --git /usr/include/util.h /usr/include/util.h
+index c70c6fb..1effc37 100644
+--- /usr/include/util.h
++++ /usr/include/util.h
+@@ -86,9 +86,9 @@
+
+ __BEGIN_DECLS
+ struct utmp; /* forward reference to /usr/include/utmp.h */
+-void login(struct utmp *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA);
++void login(struct utmp *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_1_2,__IPHONE_2_0);
+ int login_tty(int);
+-int logout(const char *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA);
++int logout(const char *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_1_2,__IPHONE_2_0);
+ void logwtmp(const char *, const char *, const char *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_2_0,__IPHONE_2_0);
+ int opendev(char *, int, int, char **);
+ int openpty(int *, int *, char *, struct termios *,