add zstd upstream fixes patch

This commit is contained in:
Xi Ruoyao 2022-03-05 04:27:39 +08:00
parent e6589bc35a
commit 070bc9a4f7
No known key found for this signature in database
GPG Key ID: D95E4716CCBB34DC
4 changed files with 16 additions and 6 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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">