aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter01/whatsnew.xml7
-rw-r--r--chapter03/patches.xml7
-rw-r--r--chapter08/zstd.xml4
-rw-r--r--patches.ent4
4 files changed, 16 insertions, 6 deletions
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index fe9b3b278..e009291ca 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -280,14 +280,9 @@
<itemizedlist>
<title>Added:</title>
<listitem><para></para></listitem> <!-- satisfy build -->
- <!--
<listitem>
- <para>binutils-2.37-upstream_fix-1.patch</para>
+ <para>&zstd-upstream-fixes-patch;</para>
</listitem>
- <listitem>
- <para>gcc-11.1.0-upstream_fixes-1.patch</para>
- </listitem>
- -->
</itemizedlist>
<itemizedlist>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index 1a6e52338..4b24fad1f 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -141,6 +141,13 @@
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>Zstd Upstream Fixes Patch - <token>&zstd-upstream-fixes-patch-size;</token>:</term>
+ <listitem>
+ <para>Download: <ulink url="&patches-root;&zstd-upstream-fixes-patch;"/></para>
+ <para>MD5 sum: <literal>&zstd-upstream-fixes-patch-md5;</literal></para>
+ </listitem>
+ </varlistentry>
</variablelist>
<para>Total size of these patches: about <returnvalue/></para>
diff --git a/chapter08/zstd.xml b/chapter08/zstd.xml
index 881aba286..cde0b9231 100644
--- a/chapter08/zstd.xml
+++ b/chapter08/zstd.xml
@@ -42,6 +42,10 @@
<sect2 role="installation">
<title>Installation of Zstd</title>
+ <para>Apply a patch to fix some issues identified by upstream:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&zstd-upstream-fixes-patch;</userinput></screen>
+
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>
diff --git a/patches.ent b/patches.ent
index cd2fb93e8..7e43f7e0a 100644
--- a/patches.ent
+++ b/patches.ent
@@ -87,3 +87,7 @@
<!ENTITY systemd-upstream-fixes-patch "systemd-&systemd-version;-upstream_fixes-1.patch">
<!ENTITY systemd-upstream-fixes-patch-md5 "71eac6abdad5fba2039dcd011a9ae5b3">
<!ENTITY systemd-upstream-fixes-patch-size "20 KB">
+
+<!ENTITY zstd-upstream-fixes-patch "zstd-&zstd-version;-upstream_fixes-1.patch">
+<!ENTITY zstd-upstream-fixes-patch-md5 "a7e576e3f87415fdf388392b257cdcf3">
+<!ENTITY zstd-upstream-fixes-patch-size "4 KB">