summaryrefslogtreecommitdiff
path: root/data/inetutils/utmpx.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-01-02 02:54:43 +0000
committerJay Freeman <saurik@saurik.com>2008-01-02 02:54:43 +0000
commit7fe4faa796d3393f6a806c3ebb56c0a2792c1144 (patch)
tree9565d87578116d8cdb2d1577085bd6e9f3f04853 /data/inetutils/utmpx.diff
parent0673535c576267adb537935c02917a526166442d (diff)
Now serving 100 packages, fixed gzip priority/dependents, and moved subversion to versioning.
git-svn-id: http://svn.telesphoreo.org/trunk@8 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/inetutils/utmpx.diff')
-rw-r--r--data/inetutils/utmpx.diff32
1 files changed, 32 insertions, 0 deletions
diff --git a/data/inetutils/utmpx.diff b/data/inetutils/utmpx.diff
new file mode 100644
index 000000000..b3b64cb58
--- /dev/null
+++ b/data/inetutils/utmpx.diff
@@ -0,0 +1,32 @@
+diff -ru inetutils-1.5/configure.ac inetutils-1.5+iPhone/configure.ac
+--- inetutils-1.5/configure.ac 2007-06-28 22:58:23.000000000 +0000
++++ inetutils-1.5+iPhone/configure.ac 2008-01-02 02:07:05.000000000 +0000
+@@ -776,8 +776,7 @@
+ AC_DEFINE(UTMPX, 1, [FIXME])
+ AC_DEFINE(HAVE_STREAMSPTY, 1, [FIXME])
+ ;;
+-*irix* | *hpux*)
+- AC_DEFINE(UTMPX, 1, [FIXME])
++*irix* | *hpux* | *darwin*)
+ AC_DEFINE(UTMPX, 1, [FIXME])
+ ;;
+ esac
+diff -ru inetutils-1.5/libinetutils/utmp_logout.c inetutils-1.5+iPhone/libinetutils/utmp_logout.c
+--- inetutils-1.5/libinetutils/utmp_logout.c 2006-10-11 21:46:24.000000000 +0000
++++ inetutils-1.5+iPhone/libinetutils/utmp_logout.c 2008-01-02 02:23:02.000000000 +0000
+@@ -52,11 +52,15 @@
+
+ if ((ut = getutxline(&utx))) {
+ ut->ut_type = DEAD_PROCESS;
++#ifdef HAVE_STRUCT_UTMPX_UT_EXIT
+ ut->ut_exit.e_termination = 0;
+ ut->ut_exit.e_exit = 0;
++#endif
+ gettimeofday(&(ut->ut_tv), 0);
+ pututxline(ut);
++#ifdef HAVE_UPDWTMPX
+ updwtmpx(PATH_WTMPX, ut);
++#endif
+ }
+ endutxent();
+ #else