summaryrefslogtreecommitdiffstats
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 0000000000..1b12d83d67
--- /dev/null
+++ b/meta/recipes-extended/rpcbind/files/fix_host_path.patch
@@ -0,0 +1,14 @@
1This fixes the hardcoded HOST path
2
3Signed-off-by: Saul Wold <saul.wold@intel.com>
4
5--- rpcbind-0.2.0/src/Makefile.am 2010-09-02 11:47:16.725763886 -0700
6+++ rpcbind-0.2.0_fixed/src/Makefile.am 2010-09-02 11:47:36.077763138 -0700
7@@ -29,6 +29,6 @@
8
9 rpcbind_LDFLAGS = -lpthread -ltirpc
10 rpcbind_LDADD = $(LIB_TIRPC)
11-AM_CPPFLAGS = -I/usr/include/tirpc -DCHECK_LOCAL -DPORTMAP \
12+AM_CPPFLAGS = -I=/usr/include/tirpc -DCHECK_LOCAL -DPORTMAP \
13 -DFACILITY=LOG_MAIL -DSEVERITY=LOG_INFO
14
diff --git a/meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb b/meta/recipes-extended/rpcbind/rpcbind_0.2.0.bb
index 0894769a0e..a8c600665c 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"
9LIC_FILES_CHKSUM = "file://COPYING;md5=b46486e4c4a416602693a711bb5bfa39 \ 9LIC_FILES_CHKSUM = "file://COPYING;md5=b46486e4c4a416602693a711bb5bfa39 \
10 file://src/rpcinfo.c;beginline=1;endline=27;md5=f8a8cd2cb25ac5aa16767364fb0e3c24" 10 file://src/rpcinfo.c;beginline=1;endline=27;md5=f8a8cd2cb25ac5aa16767364fb0e3c24"
11 11
12SRC_URI = "${SOURCEFORGE_MIRROR}/rpcbind/rpcbind-${PV}.tar.bz2" 12SRC_URI = "${SOURCEFORGE_MIRROR}/rpcbind/rpcbind-${PV}.tar.bz2 \
13 file://fix_host_path.patch \
14 "
13 15
14PR = "r0" 16PR = "r1"
15 17
16inherit autotools 18inherit autotools