[Pkg-mc-commits] r283 - in trunk/debian: . patches patches/debian

Denis Briand narcan-guest at alioth.debian.org
Sat Oct 3 13:37:16 UTC 2009


Author: narcan-guest
Date: 2009-10-03 13:37:16 +0000 (Sat, 03 Oct 2009)
New Revision: 283

Added:
   trunk/debian/patches/debian/08_use_sensible-editor.patch
Modified:
   trunk/debian/changelog
   trunk/debian/patches/series
Log:
Use sensible-editor to edit files. Closes #549202


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-10-02 19:36:34 UTC (rev 282)
+++ trunk/debian/changelog	2009-10-03 13:37:16 UTC (rev 283)
@@ -31,6 +31,7 @@
   * Suggest catdvi to preview dvi files on text-only devices.
   * Add djvu files support and suggest djvulibre-bin package (Closes: #543651).
   * Allow Debian Maintainers Uploads.
+  * Use sensible-editor to edit files (Closes: #549202).
 
  -- Denis Briand <denis at narcan.fr>  Fri, 02 Oct 2009 21:29:52 +0200
 

Added: trunk/debian/patches/debian/08_use_sensible-editor.patch
===================================================================
--- trunk/debian/patches/debian/08_use_sensible-editor.patch	                        (rev 0)
+++ trunk/debian/patches/debian/08_use_sensible-editor.patch	2009-10-03 13:37:16 UTC (rev 283)
@@ -0,0 +1,16 @@
+Description: Use sensible-editor to edit files
+Bug-Debian: http://bugs.debian.org/549202
+Author: Denis Briand <denis at narcan.fr>
+Index: mc-4.7.0-pre3/src/util.h
+===================================================================
+--- mc-4.7.0-pre3.orig/src/util.h	2009-10-02 23:01:32.000000000 +0200
++++ mc-4.7.0-pre3/src/util.h	2009-10-02 23:01:53.000000000 +0200
+@@ -228,7 +228,7 @@
+ #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 1
+ #define STRCOMP strcmp
+ #define STRNCOMP strncmp

Modified: trunk/debian/patches/series
===================================================================
--- trunk/debian/patches/series	2009-10-02 19:36:34 UTC (rev 282)
+++ trunk/debian/patches/series	2009-10-03 13:37:16 UTC (rev 283)
@@ -19,3 +19,4 @@
 bugs/83_add_ico_files_support.patch
 bugs/84_use_dvicat_instead_of_dvi2tty.patch
 bugs/85_add_djvu_files_support.patch
+debian/08_use_sensible-editor.patch




More information about the Pkg-mc-commits mailing list