summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/rpcbind/files/fix_host_path.patch14
-rw-r--r--meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb6
2 files changed, 18 insertions, 2 deletions
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 <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
+
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