aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter01/changelog.xml4
-rw-r--r--chapter01/whatsnew.xml4
-rw-r--r--chapter03/patches.xml8
-rw-r--r--chapter06/db.xml4
-rw-r--r--patches.ent3
5 files changed, 23 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index ea976a8fd..1e4d6e89b 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -42,6 +42,10 @@
<listitem>
<para>[jhuntwork] - Updated to linux-2.6.24.4, fixes #2157.</para>
</listitem>
+ <listitem>
+ <para>[jhuntwork] - Added an upstream patch for db-4.6.21, thanks
+ Randy McMurchy for the report. Fixes #2164.</para>
+ </listitem>
</itemizedlist>
</listitem>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index f71c26ea6..99c7a7d7f 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -213,6 +213,10 @@
</listitem>
<listitem>
+ <para>&db-fixes-patch;</para>
+ </listitem>
+
+ <listitem>
<para>&grep-debian-patch;</para>
</listitem>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index 80565b084..e2151e82f 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -35,6 +35,14 @@
</varlistentry>
<varlistentry>
+ <term>Berkeley DB Upstream Fixes Patch - <token>&db-fixes-patch-size;</token>:</term>
+ <listitem>
+ <para>Download: <ulink url="&patches-root;&db-fixes-patch;"/></para>
+ <para>MD5 sum: <literal>&db-fixes-patch-md5;</literal></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>Binutils Texinfo Version Patch - <token>&binutils-configure-patch-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&patches-root;&binutils-configure-patch;"/></para>
diff --git a/chapter06/db.xml b/chapter06/db.xml
index dc87fb78c..526fc5dc6 100644
--- a/chapter06/db.xml
+++ b/chapter06/db.xml
@@ -61,6 +61,10 @@
<sect2 role="installation">
<title>Installation of Berkeley DB</title>
+ <para>There is an upstream patch for Berkeley DB that fixes a race condition. Apply it:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&db-fixes-patch;</userinput></screen>
+
<para>Prepare Berkeley DB for compilation:</para>
<screen><userinput remap="configure">cd build_unix
diff --git a/patches.ent b/patches.ent
index 5d5f0b775..fc344da20 100644
--- a/patches.ent
+++ b/patches.ent
@@ -29,6 +29,9 @@
<!ENTITY coreutils-uname-patch-md5 "c05b735710fbd62239588c07084852a0">
<!ENTITY coreutils-uname-patch-size "4.6 KB">
+<!ENTITY db-fixes-patch "db-&diffutils-version;-fixes-1.patch">
+<!ENTITY db-fixes-patch-md5 "0e1f3a1db6c3ab10f79c4d6dff0c8f31">
+<!ENTITY db-fixes-patch-size "2.3 KB">
<!ENTITY diffutils-i18n-patch "diffutils-&diffutils-version;-i18n-1.patch">
<!ENTITY diffutils-i18n-patch-md5 "c8d481223db274a33b121fb8c25af9f7">