rpcbind: add patch to fix host include path

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
This commit is contained in:
Saul Wold 2010-09-02 11:52:24 -07:00
parent a6c83e0620
commit 558ef57097
2 changed files with 18 additions and 2 deletions

View File

@ -0,0 +1,14 @@
This fixes the hardcoded HOST path
Signed-off-by: Saul Wold <saul.wold@intel.com>
--- rpcbind-0.2.0/src/Makefile.am 2010-09-02 11:47:16.725763886 -0700
+++ rpcbind-0.2.0_fixed/src/Makefile.am 2010-09-02 11:47:36.077763138 -0700
@@ -29,6 +29,6 @@
rpcbind_LDFLAGS = -lpthread -ltirpc
rpcbind_LDADD = $(LIB_TIRPC)
-AM_CPPFLAGS = -I/usr/include/tirpc -DCHECK_LOCAL -DPORTMAP \
+AM_CPPFLAGS = -I=/usr/include/tirpc -DCHECK_LOCAL -DPORTMAP \
-DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO

View File

@ -9,8 +9,10 @@ LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=b46486e4c4a416602693a711bb5bfa39 \
file://src/rpcinfo.c;beginline=1;endline=27;md5=f8a8cd2cb25ac5aa16767364fb0e3c24"
SRC_URI = "${SOURCEFORGE_MIRROR}/rpcbind/rpcbind-${PV}.tar.bz2"
SRC_URI = "${SOURCEFORGE_MIRROR}/rpcbind/rpcbind-${PV}.tar.bz2 \
file://fix_host_path.patch \
"
PR = "r0"
PR = "r1"
inherit autotools