From 91bb3b7bce2297f022a7d48604b1d8e3b9c54a8a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 22:22:04 +0200 Subject: Adding debian version 3:4.8.30-1. Signed-off-by: Daniel Baumann --- debian/patches/alt_editor.patch | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 debian/patches/alt_editor.patch (limited to 'debian/patches/alt_editor.patch') diff --git a/debian/patches/alt_editor.patch b/debian/patches/alt_editor.patch new file mode 100644 index 0000000..3082548 --- /dev/null +++ b/debian/patches/alt_editor.patch @@ -0,0 +1,27 @@ +Last-Update: 2012-08-04 +Reviewed-by: Dmitry Smirnov +Forwarded: yes +Bug-Debian: http://bugs.debian.org/592208 +Bug-MC: https://www.midnight-commander.org/ticket/2799 +Bug-MC: https://www.midnight-commander.org/ticket/2638 +Author: Yury V. Zaytsev +Description: Detect that mc was launched from alternatives symlink + This patch in needed to mcedit to start if run as 'editor' symlink + from alternatives. + . + As of 2012-05-01 upstream believe this should be customised per + distribution as therefore refused to commit. + +--- a/src/args.c ++++ b/src/args.c +@@ -620,9 +620,9 @@ + const char *base; + + base = x_basename (argv[0]); + +- if (strncmp (base, "mce", 3) == 0 || strcmp (base, "vi") == 0) ++ if (strncmp (base, "mce", 3) == 0 || strcmp (base, "vi") == 0 || strcmp (base, "editor") == 0) + { + /* mce* or vi is link to mc */ + mc_global.mc_run_mode = MC_RUN_EDITOR; + } -- cgit v1.2.3