aboutsummaryrefslogtreecommitdiff
path: root/package/libtirpc
diff options
context:
space:
mode:
authorGravatar Dagg Stompler <daggs@gmx.com>2017-12-29 15:03:33 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-12-29 22:21:06 +0100
commit1521836c4e0d173767d7417fcc2682cb19ca8aba (patch)
treee3fd1241c805771def00e2dfd089230ffee2d6cc /package/libtirpc
parentee8309e2874063603e9f330aa529fa2f027681a8 (diff)
downloadbuildroot-1521836c4e0d173767d7417fcc2682cb19ca8aba.tar.gz
buildroot-1521836c4e0d173767d7417fcc2682cb19ca8aba.tar.bz2
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>
Diffstat (limited to 'package/libtirpc')
-rw-r--r--package/libtirpc/0003-Add-rpcgen-program-from-nfs-utils-sources.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libtirpc/0003-Add-rpcgen-program-from-nfs-utils-sources.patch b/package/libtirpc/0003-Add-rpcgen-program-from-nfs-utils-sources.patch
index 1cf861417c..f2b15fe2f1 100644
--- a/package/libtirpc/0003-Add-rpcgen-program-from-nfs-utils-sources.patch
+++ b/package/libtirpc/0003-Add-rpcgen-program-from-nfs-utils-sources.patch
@@ -83,7 +83,7 @@ index 0000000..2277b6f
--- /dev/null
+++ b/rpcgen/Makefile.am
@@ -0,0 +1,22 @@
-+COMPILE = $(CC_FOR_BUILD) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++COMPILE = $(CC_FOR_BUILD) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) -I../tirpc $(AM_CPPFLAGS) \
+ $(CPPFLAGS_FOR_BUILD) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD)
+LINK = $(CC_FOR_BUILD) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(AM_LDFLAGS) $(LDFLAGS_FOR_BUILD) -o $@
+