Forráskód Böngészése

Fix Perl-5.8.8 to build with GCC-4.2.1.
Have makedepend.SH check for 'command-line' as well as 'command line'.


git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/jh/BOOK@8291 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Jeremy Huntwork 18 éve
szülő
commit
f372d5aa8d
3 módosított fájl, 13 hozzáadás és 0 törlés
  1. 4 0
      chapter01/changelog.xml
  2. 5 0
      chapter05/perl.xml
  3. 4 0
      chapter06/perl.xml

+ 4 - 0
chapter01/changelog.xml

@@ -39,6 +39,10 @@
     <listitem>
       <para>2007-08-07</para>
       <itemizedlist>
+	<listitem>
+	  <para>[jhuntwork] - Fix Perl-5.8.8 to build with GCC-4.2.1.
+	  Have makedepend.SH check for 'command-line' as well as 'command line'.</para>
+	</listitem>
 	<listitem>
 	  <para>[jhuntwork] - Fix Coreutils-6.9 and Gzip-1.3.12 to work with Glibc-2.6.1.
 	  Rename the futimens function.</para>

+ 5 - 0
chapter05/perl.xml

@@ -42,6 +42,11 @@
 
 <screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
 
+    <para>Fix an incompatibility with gcc-&gcc-version;:</para>
+
+<screen><userinput>mv -v makedepend.SH{,.orig}
+sed 's/command /command[ -]/' makedepend.SH.orig &gt; makedepend.SH</userinput></screen>
+
     <para>Prepare Perl for compilation (make sure to get the
     'Data/Dumper Fcntl IO POSIX' part of the command correct&mdash;they are all
     letters):</para>

+ 4 - 0
chapter06/perl.xml

@@ -41,6 +41,10 @@
 
 <screen><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
 
+    <para>Fix an incompatibility with gcc-&gcc-version;:</para>
+
+<screen><userinput>sed -i 's/command /command[ -]/' makedepend.SH</userinput></screen>
+
     <para>To have full control over the way Perl is set up, you can run the
     interactive <command>Configure</command> script and hand-pick the way this
     package is built. If you prefer, you can use the defaults that Perl