summaryrefslogtreecommitdiff
path: root/lftp
diff options
context:
space:
mode:
Diffstat (limited to 'lftp')
-rw-r--r--lftp/lftp-3.0.1/pty.patch31
-rw-r--r--lftp/lftp-3.0.1/readline.patch24
2 files changed, 55 insertions, 0 deletions
diff --git a/lftp/lftp-3.0.1/pty.patch b/lftp/lftp-3.0.1/pty.patch
index e69de29bb2..166b665f3f 100644
--- a/lftp/lftp-3.0.1/pty.patch
+++ b/lftp/lftp-3.0.1/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])
+ ])
diff --git a/lftp/lftp-3.0.1/readline.patch b/lftp/lftp-3.0.1/readline.patch
index e69de29bb2..eb90e21539 100644
--- a/lftp/lftp-3.0.1/readline.patch
+++ b/lftp/lftp-3.0.1/readline.patch
@@ -0,0 +1,24 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- lftp-3.0.1/configure.ac~readline.patch 2004-04-06 10:27:36.000000000 +0200
++++ lftp-3.0.1/configure.ac 2004-04-06 23:39:01.000000000 +0200
+@@ -380,5 +378,5 @@
+ sysconfdir=/etc
+ fi
+
+-AC_CONFIG_FILES([Makefile src/Makefile lib/Makefile include/Makefile doc/Makefile readline-4.3/Makefile po/Makefile.in m4/Makefile contrib/Makefile])
++AC_CONFIG_FILES([Makefile src/Makefile lib/Makefile include/Makefile doc/Makefile po/Makefile.in m4/Makefile contrib/Makefile])
+ AC_OUTPUT
+--- lftp-3.0.1/Makefile.am~readline.patch 2003-12-19 15:16:31.000000000 +0100
++++ lftp-3.0.1/Makefile.am 2004-04-06 23:40:17.000000000 +0200
+@@ -1,6 +1,6 @@
+ EXTRA_DIST = config.rpath lftp.conf lftp.lsm FAQ acconfig.h README README.debug-levels\
+ README.modules MIRRORS BUGS FEATURES
+-SUBDIRS = include readline-4.3 lib doc src po m4 contrib
++SUBDIRS = include lib doc src po m4 contrib
+ AUTOMAKE_OPTIONS = foreign
+ ACLOCAL_AMFLAGS = -I m4
+