diff options
Diffstat (limited to 'meta-networking/recipes-daemons/openhpi/files/openhpi-libxml2-cross-compile.patch')
-rw-r--r-- | meta-networking/recipes-daemons/openhpi/files/openhpi-libxml2-cross-compile.patch | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/meta-networking/recipes-daemons/openhpi/files/openhpi-libxml2-cross-compile.patch b/meta-networking/recipes-daemons/openhpi/files/openhpi-libxml2-cross-compile.patch index c848b3502..160eeede6 100644 --- a/meta-networking/recipes-daemons/openhpi/files/openhpi-libxml2-cross-compile.patch +++ b/meta-networking/recipes-daemons/openhpi/files/openhpi-libxml2-cross-compile.patch | |||
@@ -1,4 +1,7 @@ | |||
1 | Fix libxml2 for cross-compiling | 1 | From afe545e77f9d841b7777d859e7e8108492fece96 Mon Sep 17 00:00:00 2001 |
2 | From: Jackie Huang <jackie.huang@windriver.com> | ||
3 | Date: Wed, 26 Apr 2017 16:22:00 +0800 | ||
4 | Subject: [PATCH] Fix libxml2 for cross-compiling | ||
2 | 5 | ||
3 | Use proper XML2_INCLUDE path when cross-compiling | 6 | Use proper XML2_INCLUDE path when cross-compiling |
4 | 7 | ||
@@ -6,16 +9,20 @@ Upstream-Status: Pending | |||
6 | 9 | ||
7 | Signed-of-by: Aws Ismail <aws.ismail@windriver.com> | 10 | Signed-of-by: Aws Ismail <aws.ismail@windriver.com> |
8 | 11 | ||
9 | Index: openhpi-3.6.1/configure.ac | 12 | --- |
10 | =================================================================== | 13 | configure.ac | 2 +- |
11 | --- openhpi-3.6.1.orig/configure.ac | 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
12 | +++ openhpi-3.6.1/configure.ac | 15 | |
13 | @@ -177,7 +177,7 @@ AC_CHECK_HEADERS([openssl/md2.h openssl/ | 16 | diff --git a/configure.ac b/configure.ac |
17 | index 6242cbf..4fb6b69 100644 | ||
18 | --- a/configure.ac | ||
19 | +++ b/configure.ac | ||
20 | @@ -179,7 +179,7 @@ AC_CHECK_HEADERS([openssl/md2.h openssl/md5.h openssl/bio.h openssl/ssl.h openss | ||
14 | 21 | ||
15 | dnl xml is used for XML-based communication in ilo2_ribcl and oa_soap | 22 | dnl xml is used for XML-based communication in ilo2_ribcl and oa_soap |
16 | AC_CHECK_LIB([xml2],[xmlParseMemory],[XML2_LIB=-lxml2],[XML2_LIB=]) | 23 | AC_CHECK_LIB([xml2],[xmlParseMemory],[XML2_LIB=-lxml2],[XML2_LIB=]) |
17 | -AC_CHECK_HEADERS([libxml2/libxml/xmlexports.h],[XML2_INCLUDE="-I/usr/include/libxml2"],[XML2_INCLUDE]) | 24 | -AC_CHECK_HEADERS([libxml2/libxml/xmlexports.h],[XML2_INCLUDE="-I/usr/include/libxml2"],[XML2_INCLUDE=]) |
18 | +AC_CHECK_HEADERS([libxml2/libxml/xmlexports.h],[XML2_INCLUDE="$XML2_INCLUDE"],[XML2_INCLUDE]) | 25 | +AC_CHECK_HEADERS([libxml2/libxml/xmlexports.h],[XML2_INCLUDE="$XML2_INCLUDE"],[XML2_INCLUDE=]) |
19 | AC_SUBST(XML2_LIB) | 26 | AC_SUBST(XML2_LIB) |
20 | AC_SUBST(XML2_INCLUDE) | 27 | AC_SUBST(XML2_INCLUDE) |
21 | 28 | ||