On Fri, Mar 16, at 01:48 Alexander E. Patrakov wrote: > Ag. Hatzimanikas wrote: > > I didn't applied the debian patch since from what I've saw it's debian > > specific stuff (correct me if I am wrong). > > Correcting. There are 8 important patches under dash-0.5.3/debian/diff that > get applied during the build. >
Thanks Alexander, New patch attached, please comment if you see something wrong with it.
Index: postlfs/shells/dash.xml =================================================================== --- postlfs/shells/dash.xml (revision 6667) +++ postlfs/shells/dash.xml (working copy) @@ -10,6 +10,8 @@ <!ENTITY dash-size "200 KB"> <!ENTITY dash-buildsize "1.8 MB"> <!ENTITY dash-time "0.1 SBU"> + <!ENTITY dash-download-patch "http://ftp.debian.org/debian/pool/main/d/dash/dash_0.5.3-7.diff.gz"> + <!ENTITY dash-patch-md5sum "6bcc0930804b790ab236af438f68475c"> ]> @@ -61,6 +63,16 @@ </listitem> </itemizedlist> + <bridgehead renderas="sect3">Additional Downloads</bridgehead> + <itemizedlist spacing="compact"> + <listitem> + <para>Required Patch: <ulink url="&dash-download-patch;"/></para> + </listitem> + <listitem> + <para>MD5 sum: &dash-patch-md5sum;</para> + </listitem> + </itemizedlist> + <para condition="html" role="usernotes">User Notes: <ulink url="&blfs-wiki;/dash"/></para> @@ -72,10 +84,11 @@ <para>Install <application>Dash</application> by running the following commands:</para> -<screen><userinput>./configure --bindir=/bin --mandir=/usr/share/man && +<screen><userinput>zcat ../dash_&dash-version;-7.diff.gz | patch -p1 && +./configure --bindir=/bin --mandir=/usr/share/man && LC_ALL=C make</userinput></screen> - <!-- <para>Need to include about the test suite.</para> --> + <para>This package does not come with a test suite.</para> <para>Now, as the <systemitem class="username">root</systemitem> user:</para> @@ -88,6 +101,10 @@ <para><parameter>--bindir=/bin</parameter>: This parameter places the <command>dash</command> binary into the root filesystem.</para> + <para><parameter>LC_ALL=C make</parameter>: Building in C locale, we make sure + that the <command>sort</command> command, which is used during the build process, + will return the expected result.</para> + </sect2> <sect2 role="configuration">
-- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
