summaryrefslogtreecommitdiff
path: root/package/mc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-24 15:01:38 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-24 15:01:38 +0200
commit1cdf2e2c8aba5b396e75453e921a2a2d84b1a73e (patch)
tree837c6fddc61c2a9f94f05e9ea1d55a02032b6e42 /package/mc
parent4c8b86bed3e95ecca710dab16d9ae749d63b9281 (diff)
update mc, enable ssh2 support
Diffstat (limited to 'package/mc')
-rw-r--r--package/mc/Makefile11
-rw-r--r--package/mc/patches/patch-lib_tty_key_c18
-rw-r--r--package/mc/patches/patch-lib_tty_tty-ncurses_c27
3 files changed, 6 insertions, 50 deletions
diff --git a/package/mc/Makefile b/package/mc/Makefile
index a4931f94b..0ff198811 100644
--- a/package/mc/Makefile
+++ b/package/mc/Makefile
@@ -4,13 +4,13 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= mc
-PKG_VERSION:= 4.8.11
+PKG_VERSION:= 4.8.12
PKG_RELEASE:= 1
-PKG_MD5SUM:= 1a2d74b75ddbff0b0d6cdc04bf4a7d31
+PKG_MD5SUM:= 7ecccc03df060cd0ca1414a5a14e6649
PKG_DESCR:= norton commander clone
PKG_SECTION:= misc
-PKG_DEPENDS:= glib libncurses
-PKG_BUILDDEP:= glib ncurses
+PKG_DEPENDS:= glib libncurses libssh2
+PKG_BUILDDEP:= glib ncurses libssh2
PKG_URL:= http://www.midnight-commander.org/
PKG_SITES:= http://ftp.midnight-commander.org/
PKG_NOPARALLEL:= 1
@@ -30,7 +30,8 @@ CONFIGURE_ARGS+= --enable-charset \
--disable-netcode \
--without-libiconv-prefix \
--without-x \
- --with-vfs \
+ --enable-vfs \
+ --enable-vfs-sftp \
--without-mcfs \
--without-samba \
--without-gpm-mouse \
diff --git a/package/mc/patches/patch-lib_tty_key_c b/package/mc/patches/patch-lib_tty_key_c
deleted file mode 100644
index 342eb8657..000000000
--- a/package/mc/patches/patch-lib_tty_key_c
+++ /dev/null
@@ -1,18 +0,0 @@
---- mc-4.8.11.orig/lib/tty/key.c 2013-11-29 19:27:07.000000000 +0100
-+++ mc-4.8.11/lib/tty/key.c 2014-02-11 20:02:34.000000000 +0100
-@@ -1946,6 +1946,7 @@ int
- tty_get_event (struct Gpm_Event *event, gboolean redo_event, gboolean block)
- {
- int c;
-+ static int flag = 0; /* Return value from select */
- #ifdef HAVE_LIBGPM
- static struct Gpm_Event ev; /* Mouse event */
- #endif
-@@ -1978,7 +1979,6 @@ tty_get_event (struct Gpm_Event *event,
- while (pending_keys == NULL)
- {
- int nfd;
-- static int flag = 0; /* Return value from select */
- fd_set select_set;
-
- FD_ZERO (&select_set);
diff --git a/package/mc/patches/patch-lib_tty_tty-ncurses_c b/package/mc/patches/patch-lib_tty_tty-ncurses_c
deleted file mode 100644
index 5058bd79e..000000000
--- a/package/mc/patches/patch-lib_tty_tty-ncurses_c
+++ /dev/null
@@ -1,27 +0,0 @@
---- mc-4.8.11.orig/lib/tty/tty-ncurses.c 2013-11-29 19:27:07.000000000 +0100
-+++ mc-4.8.11/lib/tty/tty-ncurses.c 2014-02-12 12:40:05.000000000 +0100
-@@ -65,7 +65,7 @@
-
- /*** file scope macro definitions ****************************************************************/
-
--#if defined(_AIX) && !defined(CTRL)
-+#if !defined(CTRL)
- #define CTRL(x) ((x) & 0x1f)
- #endif
-
-@@ -530,6 +530,7 @@ tty_print_anychar (int c)
- if (mc_global.utf8_display || c > 255)
- {
- int res;
-+ unsigned char str[UTF8_CHAR_LEN + 1];
-
- res = g_unichar_to_utf8 (c, (char *) str);
- if (res == 0)
-@@ -540,7 +541,6 @@ tty_print_anychar (int c)
- }
- else
- {
-- unsigned char str[UTF8_CHAR_LEN + 1];
- const char *s;
-
- str[res] = '\0';