Преглед на файлове

Patch Perl to pass tests with BDB-4.4.20. Fixes bug 1687

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7294 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess преди 19 години
родител
ревизия
41ddb3b5c8
променени са 5 файла, в които са добавени 27 реда и са изтрити 2 реда
  1. 11 0
      chapter01/changelog.xml
  2. 7 0
      chapter03/patches.xml
  3. 6 0
      chapter06/perl.xml
  4. 2 2
      general.ent
  5. 1 0
      patches.ent

+ 11 - 0
chapter01/changelog.xml

@@ -36,6 +36,17 @@
     </listitem>
 -->
 
+    <listitem>
+      <para>January 23, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[matthew] - Added a patch to enable Perl's DB_File module to
+          compile with the latest version of Berkeley DB.  Thanks to Alexander
+          Patrakov for the patch.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>January 20, 2006</para>
       <itemizedlist>

+ 7 - 0
chapter03/patches.xml

@@ -167,6 +167,13 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>Perl DB_File Module Update patch - 6 KB:</term>
+      <listitem>
+        <para><ulink url="&patches-root;&perl-db_file-patch;"/></para>
+      </listitem>
+    </varlistentry>
+
     <varlistentry>
       <term>Perl Libc Patch - 1 KB:</term>
       <listitem>

+ 6 - 0
chapter06/perl.xml

@@ -33,6 +33,12 @@ following patch to fix it.</para>
 
 <screen><userinput>patch -Np1 -i ../&perl-sprintf-patch;</userinput></screen>
 
+<para>The DB_File module that comes with Perl-&perl-version; is incompatible
+with Berkeley DB-&db-version; (the testsuite fails if this module gets built).
+Apply the following patch in order to update the DB_File module:</para>
+
+<screen><userinput>patch -Np1 -i ../&perl-db_file-patch;</userinput></screen>
+
 <para>First create a basic <filename>/etc/hosts</filename> file which will be
 referenced in one of Perl's configuration files as well as being used used by
 the testsuite if you run that.</para>

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20060122">
-<!ENTITY releasedate "January 22, 2006">
+<!ENTITY version "SVN-20060123">
+<!ENTITY releasedate "January 23, 2006">
 <!ENTITY milestone "6.2">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
 

+ 1 - 0
patches.ent

@@ -37,6 +37,7 @@
 <!ENTITY ncurses-fixes-patch "ncurses-&ncurses-version;-fixes-1.patch">
 <!-- <!ENTITY ncurses-rollup-patch "ncurses-&ncurses-version;-&ncurses-date;-patch.sh.bz2"> -->
 
+<!ENTITY perl-db_file-patch "perl-&perl-version;-update_db_file-1.patch">
 <!ENTITY perl-libc-patch "perl-&perl-version;-libc-1.patch">
 <!ENTITY perl-sprintf-patch "perl-&perl-version;-sprintf_vulnerability-1.patch">