summaryrefslogtreecommitdiffstats
path: root/extra/mc/mc-4.7.0.2_hotlist_syntax.patch
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-17 14:40:54 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-17 14:40:54 +0100
commit66e74fb5091cca10966804a42fb9f49cc4c8d64e (patch)
treea4d06b867d2cce36cbcf7bcef164c4e7ddb37316 /extra/mc/mc-4.7.0.2_hotlist_syntax.patch
parent3fe9dc769f7976e27ca8584fc7f89d7db213b99a (diff)
parentda1ead3a88f1bce99ad7b166f8b595dd78d8e29f (diff)
downloadnutyx-pakxe-66e74fb5091cca10966804a42fb9f49cc4c8d64e.tar.gz
nutyx-pakxe-66e74fb5091cca10966804a42fb9f49cc4c8d64e.tar.bz2
nutyx-pakxe-66e74fb5091cca10966804a42fb9f49cc4c8d64e.tar.xz
nutyx-pakxe-66e74fb5091cca10966804a42fb9f49cc4c8d64e.zip
Merge commit 'lesibel/master'
Diffstat (limited to 'extra/mc/mc-4.7.0.2_hotlist_syntax.patch')
-rw-r--r--extra/mc/mc-4.7.0.2_hotlist_syntax.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/extra/mc/mc-4.7.0.2_hotlist_syntax.patch b/extra/mc/mc-4.7.0.2_hotlist_syntax.patch
new file mode 100644
index 000000000..2dc115ec2
--- /dev/null
+++ b/extra/mc/mc-4.7.0.2_hotlist_syntax.patch
@@ -0,0 +1,42 @@
+--- /lib/tty/tty-internal.h
++++ /lib/tty/tty-internal.h
+@@ -8,4 +8,15 @@
+
+ #include "lib/global.h" /* include <glib.h> */
++
++/* Taken from S-Lang's slutty.c */
++#ifdef ultrix /* Ultrix gets _POSIX_VDISABLE wrong! */
++# define NULL_VALUE -1
++#else
++# ifdef _POSIX_VDISABLE
++# define NULL_VALUE _POSIX_VDISABLE
++# else
++# define NULL_VALUE 255
++# endif
++#endif
+
+ /* If true lines are shown by spaces */
+--- /lib/tty/tty-ncurses.c
++++ /lib/tty/tty-ncurses.c
+@@ -63,4 +63,5 @@
+
+ /*** file scope macro definitions **************************************/
++
+ #if defined(_AIX) && !defined(CTRL)
+ # define CTRL(x) ((x) & 0x1f)
+@@ -159,4 +160,6 @@
+ /* use Ctrl-g to generate SIGINT */
+ cur_term->Nttyb.c_cc[VINTR] = CTRL ('g'); /* ^g */
++ /* disable SIGQUIT to allow use Ctrl-\ key */
++ cur_term->Nttyb.c_cc[VQUIT] = NULL_VALUE;
+ tcsetattr (cur_term->Filedes, TCSANOW, &cur_term->Nttyb);
+
+--- /misc/syntax/Syntax
++++ /misc/syntax/Syntax
+@@ -140,5 +140,5 @@
+ include spec.syntax
+
+-file ..\*\\.repo$ YUM\sRepo File
++file ..\*\\.repo$ YUM\sRepo\sFile
+ include yum-repo.syntax
+