a sed to fix compiling openjade with perl-5.16

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10339 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Andrew Benton 2012-06-19 13:25:53 +00:00
parent 3a35e9481e
commit 0a9f097b6a

View File

@ -57,11 +57,13 @@
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<bridgehead renderas="sect3">Additional Download</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Required patches: <ulink
url="&patch-root;/openjade-&openjade-version;-gcc_4.6-1.patch"/></para>
<para>
Required patch:
<ulink url="&patch-root;/openjade-&openjade-version;-gcc_4.6-1.patch"/>
</para>
</listitem>
</itemizedlist>
@ -82,6 +84,11 @@
<screen><userinput>patch -Np1 -i ../openjade-&openjade-version;-gcc_4.6-1.patch</userinput></screen>
<para>First fix a compilation problem with perl-5.16 and later:</para>
<screen><userinput>sed -i -e '/getopts/{N;s#&amp;G#g#;s#do .getopts.pl.;##;}' \
-e '/use POSIX/ause Getopt::Std;' msggen.pl</userinput></screen>
<para>Install <application>OpenJade</application> by running the following
commands:</para>