summaryrefslogtreecommitdiffstats
path: root/recipes-extended/libvirt/libvirt/configure.ac-search-for-rpc-rpc.h-in-the-sysroot.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/libvirt/libvirt/configure.ac-search-for-rpc-rpc.h-in-the-sysroot.patch')
-rw-r--r--recipes-extended/libvirt/libvirt/configure.ac-search-for-rpc-rpc.h-in-the-sysroot.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/recipes-extended/libvirt/libvirt/configure.ac-search-for-rpc-rpc.h-in-the-sysroot.patch b/recipes-extended/libvirt/libvirt/configure.ac-search-for-rpc-rpc.h-in-the-sysroot.patch
deleted file mode 100644
index 395d5610..00000000
--- a/recipes-extended/libvirt/libvirt/configure.ac-search-for-rpc-rpc.h-in-the-sysroot.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 79f5975db01af0599860ccca7ef44b0e27105a04 Mon Sep 17 00:00:00 2001
2From: Mark Asselstine <mark.asselstine@windriver.com>
3Date: Thu, 10 May 2018 12:05:04 -0400
4Subject: [PATCH] configure.ac: search for rpc/rpc.h in the sysroot
5
6We want to avoid host contamination and use the sysroot as the base
7directory for our search so add the '=' the the '-I' when searching
8for libtirpc's rpc.h header.
9
10Upstream-Status: Inappropriate [old release]
11
12Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
13
14---
15 m4/virt-xdr.m4 | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18diff --git a/m4/virt-xdr.m4 b/m4/virt-xdr.m4
19index 8375415..12b51f7 100644
20--- a/m4/virt-xdr.m4
21+++ b/m4/virt-xdr.m4
22@@ -30,10 +30,10 @@ AC_DEFUN([LIBVIRT_CHECK_XDR], [
23 ])
24 with_xdr="yes"
25
26- dnl Recent glibc requires -I/usr/include/tirpc for <rpc/rpc.h>
27+ dnl Recent glibc requires -I=/usr/include/tirpc for <rpc/rpc.h>
28 old_CFLAGS=$CFLAGS
29 AC_CACHE_CHECK([where to find <rpc/rpc.h>], [lv_cv_xdr_cflags], [
30- for add_CFLAGS in '' '-I/usr/include/tirpc' 'missing'; do
31+ for add_CFLAGS in '' '-I=/usr/include/tirpc' 'missing'; do
32 if test x"$add_CFLAGS" = xmissing; then
33 lv_cv_xdr_cflags=missing; break
34 fi