diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2012-07-10 02:44:30 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-17 10:54:05 +0100 |
commit | 08131d8f8ea17da270d862df6cf680b824182637 (patch) | |
tree | fbeeb58b7f43c6e2986097fc475cedb2be052090 /meta/recipes-extended | |
parent | a41f09546d26219dea589dfdff1bba07b1108edf (diff) | |
download | poky-08131d8f8ea17da270d862df6cf680b824182637.tar.gz |
libidn: fix build with automake 1.12
Added a new patch
avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch
More details in the patch headers.
(From OE-Core rev: c654e26007b4b014bc614fde15b7a8d9cf52d849)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/libidn/libidn/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch | 25 | ||||
-rw-r--r-- | meta/recipes-extended/libidn/libidn_1.25.bb | 5 |
2 files changed, 28 insertions, 2 deletions
diff --git a/meta/recipes-extended/libidn/libidn/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch b/meta/recipes-extended/libidn/libidn/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch new file mode 100644 index 0000000000..d3a921178e --- /dev/null +++ b/meta/recipes-extended/libidn/libidn/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | Upsteam-Status: Inappropriate | ||
2 | |||
3 | automake 1.12.x has depricated AM_PROG_MKDIR_P , and throws a warning for that, | ||
4 | and the warnings are treated as errors becuase of the -Werror parameter. | ||
5 | |||
6 | These AM_PROG_MKDIR_P are coming from gettext, and the latest gettext code has not | ||
7 | eliminated these depricated macros yet. So disable the treatment of warnings | ||
8 | as errors until gettext is updeated to remove the depricated macros. | ||
9 | |||
10 | Signed-Off-by: Nitin A Kamble <nitin.a.kamble@intel.com> | ||
11 | 2012/07/10 | ||
12 | |||
13 | Index: libidn-1.24/configure.ac | ||
14 | =================================================================== | ||
15 | --- libidn-1.24.orig/configure.ac | ||
16 | +++ libidn-1.24/configure.ac | ||
17 | @@ -23,7 +23,7 @@ AC_COPYRIGHT([Copyright (c) 2002-2011 Si | ||
18 | AC_CONFIG_AUX_DIR([build-aux]) | ||
19 | AC_CONFIG_MACRO_DIR([m4]) | ||
20 | AC_CONFIG_HEADERS(config.h) | ||
21 | -AM_INIT_AUTOMAKE([1.10 -Wall -Werror -Wno-override]) | ||
22 | +AM_INIT_AUTOMAKE([1.10 -Wall -Wno-override]) | ||
23 | AM_SILENT_RULES([yes]) | ||
24 | |||
25 | # Library code modified: REVISION++ | ||
diff --git a/meta/recipes-extended/libidn/libidn_1.25.bb b/meta/recipes-extended/libidn/libidn_1.25.bb index 755a8189a3..6584eddd46 100644 --- a/meta/recipes-extended/libidn/libidn_1.25.bb +++ b/meta/recipes-extended/libidn/libidn_1.25.bb | |||
@@ -10,12 +10,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=9c9d9d207a3468a696a03368913d360b \ | |||
10 | file://COPYINGv3;md5=d32239bcb673463ab874e80d47fae504 \ | 10 | file://COPYINGv3;md5=d32239bcb673463ab874e80d47fae504 \ |
11 | file://lib/idna.h;endline=21;md5=7364f6a250728ffe16170f5e3ab37512 \ | 11 | file://lib/idna.h;endline=21;md5=7364f6a250728ffe16170f5e3ab37512 \ |
12 | file://src/idn.c;endline=20;md5=7d7235e7951ac87d9dfac42e1b69d9cb" | 12 | file://src/idn.c;endline=20;md5=7d7235e7951ac87d9dfac42e1b69d9cb" |
13 | PR = "r0" | 13 | PR = "r1" |
14 | 14 | ||
15 | inherit pkgconfig autotools gettext | 15 | inherit pkgconfig autotools gettext |
16 | 16 | ||
17 | SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz \ | 17 | SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz \ |
18 | file://libidn_fix_for_automake-1.12.patch " | 18 | file://libidn_fix_for_automake-1.12.patch \ |
19 | file://avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch " | ||
19 | 20 | ||
20 | SRC_URI[md5sum] = "45ffabce4b8ca87fe98fe4542668d33d" | 21 | SRC_URI[md5sum] = "45ffabce4b8ca87fe98fe4542668d33d" |
21 | SRC_URI[sha256sum] = "7fe625328a6a5d837d723c462c1788affb84d9c9fc0ae5cd0ce9ac7724c34716" | 22 | SRC_URI[sha256sum] = "7fe625328a6a5d837d723c462c1788affb84d9c9fc0ae5cd0ce9ac7724c34716" |