[blfs-book] r10339 - trunk/BOOK/pst/sgml

andy at linuxfromscratch.org andy at linuxfromscratch.org
Tue Jun 19 06:26:03 PDT 2012


Author: andy
Date: 2012-06-19 07:25:53 -0600 (Tue, 19 Jun 2012)
New Revision: 10339

Modified:
   trunk/BOOK/pst/sgml/openjade.xml
Log:
a sed to fix compiling openjade with perl-5.16

Modified: trunk/BOOK/pst/sgml/openjade.xml
===================================================================
--- trunk/BOOK/pst/sgml/openjade.xml	2012-06-18 23:42:28 UTC (rev 10338)
+++ trunk/BOOK/pst/sgml/openjade.xml	2012-06-19 13:25:53 UTC (rev 10339)
@@ -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#&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>
 




More information about the blfs-book mailing list