diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-12 15:38:02 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-12 15:38:02 +0100 |
commit | b0737882e275d23a9ee0909830a75900c0d916c0 (patch) | |
tree | ab63d01d12dd6ba99aa7983d092003cd38e770b5 /package/mc/patches/patch-lib_tty_key_c | |
parent | 7bae0bafa415b79ad56a00043fdd18df49a5788a (diff) |
fix musl compile, update to latest stable upstream version
Diffstat (limited to 'package/mc/patches/patch-lib_tty_key_c')
-rw-r--r-- | package/mc/patches/patch-lib_tty_key_c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/mc/patches/patch-lib_tty_key_c b/package/mc/patches/patch-lib_tty_key_c new file mode 100644 index 000000000..342eb8657 --- /dev/null +++ b/package/mc/patches/patch-lib_tty_key_c @@ -0,0 +1,18 @@ +--- 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); |