summaryrefslogtreecommitdiff
path: root/data/rlwrap/ptmx.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-06-14 06:42:59 +0000
committerJay Freeman <saurik@saurik.com>2008-06-14 06:42:59 +0000
commit5fb13e1c8dba959173fcbae8f7a09e1cb4083cef (patch)
tree16afa6a7fff2a819def671a054cab53905f3c06f /data/rlwrap/ptmx.diff
parentc5b46c3d49905f20ce8d3fb05ee0deb2b7b238c6 (diff)
Added rlwrap as saurik can't live without it.
git-svn-id: http://svn.telesphoreo.org/trunk@304 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/rlwrap/ptmx.diff')
-rw-r--r--data/rlwrap/ptmx.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/data/rlwrap/ptmx.diff b/data/rlwrap/ptmx.diff
new file mode 100644
index 000000000..fa3115540
--- /dev/null
+++ b/data/rlwrap/ptmx.diff
@@ -0,0 +1,12 @@
+diff -ru rlwrap-0.29/src/ptytty.c rlwrap-0.29+iPhone/src/ptytty.c
+--- rlwrap-0.29/src/ptytty.c 2007-09-16 10:49:21.000000000 +0000
++++ rlwrap-0.29+iPhone/src/ptytty.c 2008-06-03 08:53:10.000000000 +0000
+@@ -41,7 +41,7 @@
+ #ifdef HAVE_SYS_IOCTL_H
+ # include <sys/ioctl.h>
+ #endif
+-#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__)
++#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__) && !defined(__APPLE__)
+ # include <sys/stropts.h> /* for I_PUSH */
+ #endif
+