[Clfs-commits] commit: r4829 - in /branches/clfs-sysroot/BOOK: final-system/common/diffutils.xml introduction/common/changelog.xml
svn at cross-lfs.org
svn at cross-lfs.org
Sun Mar 15 12:37:36 PDT 2009
Author: jciccone
Date: Sun Mar 15 19:37:36 2009
New Revision: 4829
Log:
Diffutils wants ed as a editor. Changed it to Vim.
Modified:
branches/clfs-sysroot/BOOK/final-system/common/diffutils.xml
branches/clfs-sysroot/BOOK/introduction/common/changelog.xml
Modified: branches/clfs-sysroot/BOOK/final-system/common/diffutils.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/final-system/common/diffutils.xml (original)
+++ branches/clfs-sysroot/BOOK/final-system/common/diffutils.xml Sun Mar 15 19:37:36 2009
@@ -29,6 +29,11 @@
<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
--prefix=/usr</userinput></screen>
+
+ <para os="s1">Diffutils wants ed as the default editor, the following sed will allow us
+ to use vim:</para>
+
+<screen os="s2"><userinput>sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' config.h</userinput></screen>
<para os="c">Compile the package:</para>
Modified: branches/clfs-sysroot/BOOK/introduction/common/changelog.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/introduction/common/changelog.xml (original)
+++ branches/clfs-sysroot/BOOK/introduction/common/changelog.xml Sun Mar 15 19:37:36 2009
@@ -39,6 +39,9 @@
<listitem>
<para>March 15, 2009</para>
<itemizedlist>
+ <listitem>
+ <para>[jciccone] - Diffutils wants ed as a editor. Changed it to Vim.</para>
+ </listitem>
<listitem>
<para>[jciccone] - Updated GCC to 4.3.3.</para>
</listitem>
More information about the Clfs-commits
mailing list