diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2012-07-09 03:30:10 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-17 10:54:03 +0100 |
commit | cd3fcdd4c18ba75944615fb4f2eed4e77828a2a2 (patch) | |
tree | 3dcc7f7ac5e3111f74f6408102cfd2e31328e762 /meta/recipes-support | |
parent | e24ec0cb5eb9eaa228ac44ce9f1d97341aa87ca6 (diff) | |
download | poky-cd3fcdd4c18ba75944615fb4f2eed4e77828a2a2.tar.gz |
gnutls: Fix build with automake 1.12.1
Added new patches:
avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch
gnutls_fix_for_automake_1.12.1.patch
more details in patch headers.
(From OE-Core rev: 547ab3e32770e318b6d21334e4ecf17af2eef3ca)
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-support')
3 files changed, 96 insertions, 0 deletions
diff --git a/meta/recipes-support/gnutls/gnutls/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch b/meta/recipes-support/gnutls/gnutls/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch new file mode 100644 index 0000000000..dde683f26d --- /dev/null +++ b/meta/recipes-support/gnutls/gnutls/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch | |||
@@ -0,0 +1,51 @@ | |||
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/09 | ||
12 | |||
13 | Index: gnutls-2.12.19/configure.ac | ||
14 | =================================================================== | ||
15 | --- gnutls-2.12.19.orig/configure.ac | ||
16 | +++ gnutls-2.12.19/configure.ac | ||
17 | @@ -26,7 +26,7 @@ AC_INIT([GnuTLS], [2.12.19], [bug-gnutls | ||
18 | AC_CONFIG_AUX_DIR([build-aux]) | ||
19 | AC_CONFIG_MACRO_DIR([m4]) | ||
20 | |||
21 | -AM_INIT_AUTOMAKE([1.10 no-dist-gzip dist-bzip2 -Wall -Werror -Wno-override]) | ||
22 | +AM_INIT_AUTOMAKE([1.10 no-dist-gzip dist-bzip2 -Wall -Wno-override]) | ||
23 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) | ||
24 | AM_CONFIG_HEADER(config.h) | ||
25 | |||
26 | Index: gnutls-2.12.19/lib/configure.ac | ||
27 | =================================================================== | ||
28 | --- gnutls-2.12.19.orig/lib/configure.ac | ||
29 | +++ gnutls-2.12.19/lib/configure.ac | ||
30 | @@ -26,7 +26,7 @@ AC_INIT([libgnutls], [2.12.19], [bug-gnu | ||
31 | AC_CONFIG_AUX_DIR([build-aux]) | ||
32 | AC_CONFIG_MACRO_DIR([m4]) | ||
33 | |||
34 | -AM_INIT_AUTOMAKE([1.10 -Wall -Werror -Wno-override]) | ||
35 | +AM_INIT_AUTOMAKE([1.10 -Wall -Wno-override]) | ||
36 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) | ||
37 | AM_CONFIG_HEADER(config.h) | ||
38 | |||
39 | Index: gnutls-2.12.19/libextra/configure.ac | ||
40 | =================================================================== | ||
41 | --- gnutls-2.12.19.orig/libextra/configure.ac | ||
42 | +++ gnutls-2.12.19/libextra/configure.ac | ||
43 | @@ -26,7 +26,7 @@ AC_INIT([libgnutls-extra], [2.12.19], [b | ||
44 | AC_CONFIG_AUX_DIR([build-aux]) | ||
45 | AC_CONFIG_MACRO_DIR([m4]) | ||
46 | |||
47 | -AM_INIT_AUTOMAKE([1.10 -Wall -Werror -Wno-override]) | ||
48 | +AM_INIT_AUTOMAKE([1.10 -Wall -Wno-override]) | ||
49 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) | ||
50 | AM_CONFIG_HEADER(config.h) | ||
51 | |||
diff --git a/meta/recipes-support/gnutls/gnutls/gnutls_fix_for_automake_1.12.1.patch b/meta/recipes-support/gnutls/gnutls/gnutls_fix_for_automake_1.12.1.patch new file mode 100644 index 0000000000..1625255583 --- /dev/null +++ b/meta/recipes-support/gnutls/gnutls/gnutls_fix_for_automake_1.12.1.patch | |||
@@ -0,0 +1,43 @@ | |||
1 | Upsteam-Status: Pending | ||
2 | |||
3 | Avoids these kind of warnings: | ||
4 | Warning: 'libgnutls.la': linking libtool libraries using a non-POSIX archiver requires 'AM_PROG_AR' in 'configure.ac' | ||
5 | |||
6 | Signed-Off-by: Nitin A Kamble <nitin.a.kamble@intel.com> | ||
7 | Date: 2012/07/09 | ||
8 | Index: gnutls-2.12.19/configure.ac | ||
9 | =================================================================== | ||
10 | --- gnutls-2.12.19.orig/configure.ac | ||
11 | +++ gnutls-2.12.19/configure.ac | ||
12 | @@ -28,6 +28,7 @@ AC_CONFIG_MACRO_DIR([m4]) | ||
13 | |||
14 | AM_INIT_AUTOMAKE([1.10 no-dist-gzip dist-bzip2 -Wall -Wno-override]) | ||
15 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) | ||
16 | +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) # required by automake 1.12 | ||
17 | AM_CONFIG_HEADER(config.h) | ||
18 | |||
19 | AC_MSG_RESULT([*** | ||
20 | Index: gnutls-2.12.19/lib/configure.ac | ||
21 | =================================================================== | ||
22 | --- gnutls-2.12.19.orig/lib/configure.ac | ||
23 | +++ gnutls-2.12.19/lib/configure.ac | ||
24 | @@ -28,6 +28,7 @@ AC_CONFIG_MACRO_DIR([m4]) | ||
25 | |||
26 | AM_INIT_AUTOMAKE([1.10 -Wall -Wno-override]) | ||
27 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) | ||
28 | +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) # required by automake 1.12 | ||
29 | AM_CONFIG_HEADER(config.h) | ||
30 | |||
31 | AC_PROG_CC | ||
32 | Index: gnutls-2.12.19/libextra/configure.ac | ||
33 | =================================================================== | ||
34 | --- gnutls-2.12.19.orig/libextra/configure.ac | ||
35 | +++ gnutls-2.12.19/libextra/configure.ac | ||
36 | @@ -28,6 +28,7 @@ AC_CONFIG_MACRO_DIR([m4]) | ||
37 | |||
38 | AM_INIT_AUTOMAKE([1.10 -Wall -Wno-override]) | ||
39 | m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) | ||
40 | +m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) # required by automake 1.12 | ||
41 | AM_CONFIG_HEADER(config.h) | ||
42 | |||
43 | AC_PROG_CC | ||
diff --git a/meta/recipes-support/gnutls/gnutls_2.12.20.bb b/meta/recipes-support/gnutls/gnutls_2.12.20.bb index 3a10dbf924..9d33f14bc2 100644 --- a/meta/recipes-support/gnutls/gnutls_2.12.20.bb +++ b/meta/recipes-support/gnutls/gnutls_2.12.20.bb | |||
@@ -5,6 +5,8 @@ PR = "${INC_PR}.2" | |||
5 | SRC_URI += "file://gnutls-openssl.patch \ | 5 | SRC_URI += "file://gnutls-openssl.patch \ |
6 | file://correct_rpl_gettimeofday_signature.patch \ | 6 | file://correct_rpl_gettimeofday_signature.patch \ |
7 | file://configure-fix.patch \ | 7 | file://configure-fix.patch \ |
8 | file://gnutls_fix_for_automake_1.12.1.patch \ | ||
9 | file://avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch \ | ||
8 | ${@['', 'file://fix-gettext-version.patch'][bb.data.inherits_class('native', d) or (not ((d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1))]} \ | 10 | ${@['', 'file://fix-gettext-version.patch'][bb.data.inherits_class('native', d) or (not ((d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1))]} \ |
9 | file://remove-gets.patch \ | 11 | file://remove-gets.patch \ |
10 | " | 12 | " |