libtirpc: fix compilation error of rpcgen
authorDagg Stompler <daggs@gmx.com>
Fri, 29 Dec 2017 13:03:33 +0000 (15:03 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 29 Dec 2017 21:21:06 +0000 (22:21 +0100)
commit1521836c4e0d173767d7417fcc2682cb19ca8aba
treee3fd1241c805771def00e2dfd089230ffee2d6cc
parentee8309e2874063603e9f330aa529fa2f027681a8
libtirpc: fix compilation error of rpcgen

When compiling libtirpc, without RPC support available on the host
machine, the build of the rpcgen host program because it cannot find
the netconfig.h and rpc/types.h headers. Instead of relying on the
system-provided ones, let's use the ones included in the libtirpc
source code by patching the rpcgen build logic.

Signed-off-by: Dagg Stompler <daggs@gmx.com>
[Thomas: reword commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libtirpc/0003-Add-rpcgen-program-from-nfs-utils-sources.patch