diff options
Diffstat (limited to 'packages/nonworking/lftp/files')
-rw-r--r-- | packages/nonworking/lftp/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/nonworking/lftp/files/pty.patch | 31 |
2 files changed, 31 insertions, 0 deletions
diff --git a/packages/nonworking/lftp/files/.mtn2git_empty b/packages/nonworking/lftp/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/nonworking/lftp/files/.mtn2git_empty diff --git a/packages/nonworking/lftp/files/pty.patch b/packages/nonworking/lftp/files/pty.patch index e69de29bb2..166b665f3f 100644 --- a/packages/nonworking/lftp/files/pty.patch +++ b/packages/nonworking/lftp/files/pty.patch @@ -0,0 +1,31 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- lftp-2.6.11/m4/pty.m4~pty ++++ lftp-2.6.11/m4/pty.m4 +@@ -4,14 +4,20 @@ + *-*-sco3.2v4*) no_dev_ptmx=1;; + *-*-sco3.2v5*) no_dev_ptmx=1;; + esac ++AC_SEARCH_LIBS(openpty,util, ++ [ ++ AC_DEFINE(HAVE_OPENPTY,1,[define if you have openpty function]) ++ no_dev_ptc=yes ++ no_dev_ptmx=yes ++ ]) ++AC_CHECK_FUNCS([_getpty]) + if test -z "$no_dev_ptmx" ; then + AC_CHECK_FILE("/dev/ptmx", [ + AC_DEFINE(HAVE_DEV_PTMX,1,[define if you have /dev/ptmx device])]) + fi ++if test -z "$no_dev_ptc" ; then + AC_CHECK_FILE("/dev/ptc", [ + AC_DEFINE(HAVE_DEV_PTS_AND_PTC,1,[define if you have /dev/ptc device])]) ++fi + AC_CHECK_HEADERS([util.h sys/stropts.h pty.h]) +-AC_SEARCH_LIBS(openpty,util, +- [AC_DEFINE(HAVE_OPENPTY,1,[define if you have openpty function])]) +-AC_CHECK_FUNCS([_getpty]) + ]) |