summaryrefslogtreecommitdiffstats
path: root/debian/patches/use_sensible-editor.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:13 +0000
commitb53c174e5d2eba47d82b05cb5787b183a0aadf84 (patch)
treed11ab04473fd36be6989c8a494a245fce8a80cbb /debian/patches/use_sensible-editor.patch
parentAdding upstream version 3:4.8.29. (diff)
downloadmc-b53c174e5d2eba47d82b05cb5787b183a0aadf84.tar.xz
mc-b53c174e5d2eba47d82b05cb5787b183a0aadf84.zip
Adding debian version 3:4.8.29-2.debian/3%4.8.29-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/use_sensible-editor.patch')
-rw-r--r--debian/patches/use_sensible-editor.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/use_sensible-editor.patch b/debian/patches/use_sensible-editor.patch
new file mode 100644
index 0000000..7d2f251
--- /dev/null
+++ b/debian/patches/use_sensible-editor.patch
@@ -0,0 +1,20 @@
+Last-Update: 2015-03-23
+Forwarded: not-needed
+Bug-Debian: http://bugs.debian.org/549202
+Author: Denis Briand <denis@narcan.fr>
+Author: Yury V. Zaytsev <yury@shurup.com>
+Description: Use sensible-editor to edit files
+
+--- a/lib/global.h
++++ b/lib/global.h
+@@ -123,9 +123,9 @@
+ #define IS_PATH_SEP(c) ((c) == PATH_SEP)
+ #define PATH_ENV_SEP ':'
+ #define TMPDIR_DEFAULT "/tmp"
+ #define SCRIPT_SUFFIX ""
+-#define get_default_editor() "vi"
++#define get_default_editor() "sensible-editor"
+ #define OS_SORT_CASE_SENSITIVE_DEFAULT TRUE
+ #define UTF8_CHAR_LEN 6
+
+ /* struct stat members */