From 558ef570975f6f83a1878a41ecd984ef07a1a443 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Thu, 2 Sep 2010 11:52:24 -0700 Subject: rpcbind: add patch to fix host include path Signed-off-by: Saul Wold --- meta/recipes-extended/rpcbind/files/fix_host_path.patch | 14 ++++++++++++++ meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb | 6 ++++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/rpcbind/files/fix_host_path.patch (limited to 'meta') diff --git a/meta/recipes-extended/rpcbind/files/fix_host_path.patch b/meta/recipes-extended/rpcbind/files/fix_host_path.patch new file mode 100644 index 000000000..1b12d83d6 --- /dev/null +++ b/meta/recipes-extended/rpcbind/files/fix_host_path.patch @@ -0,0 +1,14 @@ +This fixes the hardcoded HOST path + +Signed-off-by: Saul Wold + +--- 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 + diff --git a/meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb b/meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb index 0894769a0..a8c600665 100644 --- a/meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb +++ b/meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb @@ -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 -- cgit v1.2.3