diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2012-05-02 17:08:26 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-25 11:17:56 +0100 |
commit | 2e45e31149fb79d307a2089547da7abf8f171cf8 (patch) | |
tree | 55ef2b9805031e9f661939b5352733c536b1382c | |
parent | 85db7e794bd84f323408661b6e0b1cb87a5430a6 (diff) | |
download | poky-2e45e31149fb79d307a2089547da7abf8f171cf8.tar.gz |
libxml2: fix build with automake 1.12
(From OE-Core rev: b126d638b7da9cc9e3c7f164e6dca3a1fce5c4ce)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/libxml/libxml2/libxml2_fix_for_automake_1.12.patch | 23 | ||||
-rw-r--r-- | meta/recipes-core/libxml/libxml2_2.7.8.bb | 5 |
2 files changed, 26 insertions, 2 deletions
diff --git a/meta/recipes-core/libxml/libxml2/libxml2_fix_for_automake_1.12.patch b/meta/recipes-core/libxml/libxml2/libxml2_fix_for_automake_1.12.patch new file mode 100644 index 0000000000..5c25882fab --- /dev/null +++ b/meta/recipes-core/libxml/libxml2/libxml2_fix_for_automake_1.12.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | automake 1.12 has decpricated automatic de-ANSI-fication support | ||
4 | |||
5 | this patch fixes this build issue: | ||
6 | |||
7 | | configure.in:67: error: automatic de-ANSI-fication support has been removed | ||
8 | Signed-Off-by: Nitin A Kamble <nitin.a.kamble@intel.com> | ||
9 | 2012/05/02 | ||
10 | |||
11 | Index: libxml2-2.7.8/configure.in | ||
12 | =================================================================== | ||
13 | --- libxml2-2.7.8.orig/configure.in | ||
14 | +++ libxml2-2.7.8/configure.in | ||
15 | @@ -63,8 +63,6 @@ AC_PATH_PROG(WGET, wget, /usr/bin/wget) | ||
16 | AC_PATH_PROG(XMLLINT, xmllint, /usr/bin/xmllint) | ||
17 | AC_PATH_PROG(XSLTPROC, xsltproc, /usr/bin/xsltproc) | ||
18 | |||
19 | -dnl Make sure we have an ANSI compiler | ||
20 | -AM_C_PROTOTYPES | ||
21 | test "x$U" != "x" && AC_MSG_ERROR(Compiler not ANSI compliant) | ||
22 | |||
23 | AC_LIBTOOL_WIN32_DLL | ||
diff --git a/meta/recipes-core/libxml/libxml2_2.7.8.bb b/meta/recipes-core/libxml/libxml2_2.7.8.bb index 1de73da5a1..9111120668 100644 --- a/meta/recipes-core/libxml/libxml2_2.7.8.bb +++ b/meta/recipes-core/libxml/libxml2_2.7.8.bb | |||
@@ -1,8 +1,9 @@ | |||
1 | require libxml2.inc | 1 | require libxml2.inc |
2 | 2 | ||
3 | PR = "r7" | 3 | PR = "r8" |
4 | 4 | ||
5 | SRC_URI += "file://fix_version_info.patch" | 5 | SRC_URI += "file://fix_version_info.patch \ |
6 | file://libxml2_fix_for_automake_1.12.patch" | ||
6 | 7 | ||
7 | SRC_URI[md5sum] = "8127a65e8c3b08856093099b52599c86" | 8 | SRC_URI[md5sum] = "8127a65e8c3b08856093099b52599c86" |
8 | SRC_URI[sha256sum] = "cda23bc9ebd26474ca8f3d67e7d1c4a1f1e7106364b690d822e009fdc3c417ec" | 9 | SRC_URI[sha256sum] = "cda23bc9ebd26474ca8f3d67e7d1c4a1f1e7106364b690d822e009fdc3c417ec" |