net-tools - apply the patch first.

Without this, the changes to the Makefile to comment out progs
reject.  Fixes @0ea195f41b6e4020a0897a80d4ec25f859a14774
This commit is contained in:
Ken Moffat 2021-07-06 22:26:02 +01:00
parent f84c88146d
commit 5531b4adce

View File

@ -125,8 +125,8 @@
following commands:
</para>
<screen><userinput>sed -e "s;/\(s\|\)bin;/usr&amp;;g" -i Makefile &amp;&amp;
patch -Np1 -i ../net-tools-&net-tools-version;-remove_dups-1.patch &amp;&amp;
<screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-remove_dups-1.patch &amp;&amp;
sed -e "s;/\(s\|\)bin;/usr&amp;;g" -i Makefile &amp;&amp;
sed -i '/#include &lt;netinet\/ip.h&gt;/d' iptunnel.c &amp;&amp;
yes "" | make config &amp;&amp;