diff options
author | Jay Freeman <saurik@saurik.com> | 2009-04-06 04:58:21 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2009-04-06 04:58:21 +0000 |
commit | 5222157204b15d906aa3aae9e65943e1620e5d57 (patch) | |
tree | bdf15e40d1352d020875043e9cdf3c399fbd1078 | |
parent | e856c4c00b06659f81ebcd53f482e75c398616a7 (diff) |
Remove the patches that enable login() and utmp().
git-svn-id: http://svn.telesphoreo.org/trunk@560 514c082c-b64e-11dc-b46d-3d985efe055d
-rw-r--r-- | tool/include.diff | 34 | ||||
-rw-r--r-- | tool/patches/util.diff | 16 | ||||
-rw-r--r-- | tool/patches/utmp.diff | 18 |
3 files changed, 0 insertions, 68 deletions
diff --git a/tool/include.diff b/tool/include.diff index b8cd9cf5b..cab9b6cc7 100644 --- a/tool/include.diff +++ b/tool/include.diff @@ -591,40 +591,6 @@ index 4817457..30c9891 100644 typedef unsigned short __uint16_t; typedef int __int32_t; typedef unsigned int __uint32_t; -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 *, ---- /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]; --} __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); - - 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_ */ diff --git /usr/include/c++/4.0.0/arm-apple-darwin8/bits/c++config.h /usr/include/c++/4.0.0/arm-apple-darwin8/bits/c++config.h index b570daa..3309946 100644 --- /usr/include/c++/4.0.0/arm-apple-darwin8/bits/c++config.h diff --git a/tool/patches/util.diff b/tool/patches/util.diff deleted file mode 100644 index 3796e6ea2..000000000 --- a/tool/patches/util.diff +++ /dev/null @@ -1,16 +0,0 @@ -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 *, diff --git a/tool/patches/utmp.diff b/tool/patches/utmp.diff deleted file mode 100644 index 99303cfc4..000000000 --- a/tool/patches/utmp.diff +++ /dev/null @@ -1,18 +0,0 @@ ---- /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]; --} __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); - - 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_ */ |