summaryrefslogtreecommitdiffstats
path: root/debian/patches/disable_internal_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/disable_internal_editor.patch
parentAdding upstream version 3:4.8.29. (diff)
downloadmc-debian.tar.xz
mc-debian.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/disable_internal_editor.patch')
-rw-r--r--debian/patches/disable_internal_editor.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/disable_internal_editor.patch b/debian/patches/disable_internal_editor.patch
new file mode 100644
index 0000000..b24cb76
--- /dev/null
+++ b/debian/patches/disable_internal_editor.patch
@@ -0,0 +1,21 @@
+Last-Update: 2017-06-29
+Forwarded: no
+Bug-Debian: http://bugs.debian.org/413258
+Author: Patrick Winnertz <winnie@debian.org>
+Reviewed-by: Dmitry Smirnov <onlyjob@member.fsf.org>
+Updated-by: Denis Briand <debian@denis-briand.fr>
+Description: Disable internal editor by default
+
+--- a/src/setup.c
++++ b/src/setup.c
+@@ -180,9 +180,9 @@
+
+ /* If true use the internal viewer */
+ gboolean use_internal_view = TRUE;
+ /* If set, use the builtin editor */
+-gboolean use_internal_edit = TRUE;
++gboolean use_internal_edit = FALSE;
+
+ #ifdef HAVE_CHARSET
+ /* Numbers of (file I/O) and (input/display) codepages. -1 if not selected */
+ int default_source_codepage = -1;