All of lore.kernel.org
 help / color / mirror / Atom feed
From: nitin.a.kamble@intel.com
To: Openembedded-core@lists.openembedded.org
Subject: [PATCH 03/19] gnutls: Fix build with automake 1.12.1
Date: Tue, 10 Jul 2012 09:02:03 -0700	[thread overview]
Message-ID: <93d0c9afdd8207ee2d9c5c16ded33a10efa4fddf.1341935782.git.nitin.a.kamble@intel.com> (raw)
In-Reply-To: <b4314c7a2f9fb120c2c4affd52567fe60a96bb5a.1341935782.git.nitin.a.kamble@intel.com>
In-Reply-To: <cover.1341935782.git.nitin.a.kamble@intel.com>

From: Nitin A Kamble <nitin.a.kamble@intel.com>

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.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 ..._MKDIR_P_warning_error_with_automake_1.12.patch |   51 ++++++++++++++++++++
 .../gnutls/gnutls_fix_for_automake_1.12.1.patch    |   43 ++++++++++++++++
 meta/recipes-support/gnutls/gnutls_2.12.20.bb      |    4 +-
 3 files changed, 97 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-support/gnutls/gnutls/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch
 create mode 100644 meta/recipes-support/gnutls/gnutls/gnutls_fix_for_automake_1.12.1.patch

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 0000000..dde683f
--- /dev/null
+++ b/meta/recipes-support/gnutls/gnutls/avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch
@@ -0,0 +1,51 @@
+Upsteam-Status: Inappropriate 
+
+automake 1.12.x has depricated AM_PROG_MKDIR_P , and throws a warning for that,
+and the warnings are treated as errors becuase of the -Werror parameter.
+
+These AM_PROG_MKDIR_P are coming from gettext, and the latest gettext code has not 
+eliminated these depricated macros yet. So disable the treatment of warnings
+as errors until gettext is updeated to remove the depricated macros.
+
+Signed-Off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
+2012/07/09
+
+Index: gnutls-2.12.19/configure.ac
+===================================================================
+--- gnutls-2.12.19.orig/configure.ac
++++ gnutls-2.12.19/configure.ac
+@@ -26,7 +26,7 @@ AC_INIT([GnuTLS], [2.12.19], [bug-gnutls
+ AC_CONFIG_AUX_DIR([build-aux])
+ AC_CONFIG_MACRO_DIR([m4])
+ 
+-AM_INIT_AUTOMAKE([1.10 no-dist-gzip dist-bzip2 -Wall -Werror -Wno-override])
++AM_INIT_AUTOMAKE([1.10 no-dist-gzip dist-bzip2 -Wall -Wno-override])
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+ AM_CONFIG_HEADER(config.h)
+ 
+Index: gnutls-2.12.19/lib/configure.ac
+===================================================================
+--- gnutls-2.12.19.orig/lib/configure.ac
++++ gnutls-2.12.19/lib/configure.ac
+@@ -26,7 +26,7 @@ AC_INIT([libgnutls], [2.12.19], [bug-gnu
+ AC_CONFIG_AUX_DIR([build-aux])
+ AC_CONFIG_MACRO_DIR([m4])
+ 
+-AM_INIT_AUTOMAKE([1.10 -Wall -Werror -Wno-override])
++AM_INIT_AUTOMAKE([1.10 -Wall -Wno-override])
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+ AM_CONFIG_HEADER(config.h)
+ 
+Index: gnutls-2.12.19/libextra/configure.ac
+===================================================================
+--- gnutls-2.12.19.orig/libextra/configure.ac
++++ gnutls-2.12.19/libextra/configure.ac
+@@ -26,7 +26,7 @@ AC_INIT([libgnutls-extra], [2.12.19], [b
+ AC_CONFIG_AUX_DIR([build-aux])
+ AC_CONFIG_MACRO_DIR([m4])
+ 
+-AM_INIT_AUTOMAKE([1.10 -Wall -Werror -Wno-override])
++AM_INIT_AUTOMAKE([1.10 -Wall -Wno-override])
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+ AM_CONFIG_HEADER(config.h)
+ 
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 0000000..1625255
--- /dev/null
+++ b/meta/recipes-support/gnutls/gnutls/gnutls_fix_for_automake_1.12.1.patch
@@ -0,0 +1,43 @@
+Upsteam-Status: Pending
+
+Avoids these kind of warnings:
+Warning: 'libgnutls.la': linking libtool libraries using a non-POSIX archiver requires 'AM_PROG_AR' in 'configure.ac'
+
+Signed-Off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
+Date: 2012/07/09
+Index: gnutls-2.12.19/configure.ac
+===================================================================
+--- gnutls-2.12.19.orig/configure.ac
++++ gnutls-2.12.19/configure.ac
+@@ -28,6 +28,7 @@ AC_CONFIG_MACRO_DIR([m4])
+ 
+ AM_INIT_AUTOMAKE([1.10 no-dist-gzip dist-bzip2 -Wall -Wno-override])
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
++m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) # required by automake 1.12
+ AM_CONFIG_HEADER(config.h)
+ 
+ AC_MSG_RESULT([***
+Index: gnutls-2.12.19/lib/configure.ac
+===================================================================
+--- gnutls-2.12.19.orig/lib/configure.ac
++++ gnutls-2.12.19/lib/configure.ac
+@@ -28,6 +28,7 @@ AC_CONFIG_MACRO_DIR([m4])
+ 
+ AM_INIT_AUTOMAKE([1.10 -Wall -Wno-override])
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
++m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) # required by automake 1.12
+ AM_CONFIG_HEADER(config.h)
+ 
+ AC_PROG_CC
+Index: gnutls-2.12.19/libextra/configure.ac
+===================================================================
+--- gnutls-2.12.19.orig/libextra/configure.ac
++++ gnutls-2.12.19/libextra/configure.ac
+@@ -28,6 +28,7 @@ AC_CONFIG_MACRO_DIR([m4])
+ 
+ AM_INIT_AUTOMAKE([1.10 -Wall -Wno-override])
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
++m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) # required by automake 1.12
+ AM_CONFIG_HEADER(config.h)
+ 
+ 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 010f179..e1a0082 100644
--- a/meta/recipes-support/gnutls/gnutls_2.12.20.bb
+++ b/meta/recipes-support/gnutls/gnutls_2.12.20.bb
@@ -1,10 +1,12 @@
 require gnutls.inc
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 SRC_URI += "file://gnutls-openssl.patch \
             file://correct_rpl_gettimeofday_signature.patch \
             file://configure-fix.patch \
+            file://gnutls_fix_for_automake_1.12.1.patch \
+            file://avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch \
             ${@['', 'file://fix-gettext-version.patch'][bb.data.inherits_class('native', d) or (not ((d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1))]} \
            "
 
-- 
1.7.3.4




  parent reply	other threads:[~2012-07-10 16:14 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-10 15:58 [PATCH 00/19] automake update related commits on master nitin.a.kamble
2012-07-10 16:02 ` [PATCH 01/19] automake: upgrade from 1.11.3 to 1.12.1 nitin.a.kamble
2012-07-10 16:02 ` [PATCH 02/19] jpeg: fix configure with automake 1.12.1 nitin.a.kamble
2012-07-10 16:02 ` nitin.a.kamble [this message]
2012-07-10 16:02 ` [PATCH 04/19] pcmanfm: fix build with automake 1.12.x nitin.a.kamble
2012-07-10 16:02 ` [PATCH 05/19] avahi: fix build with automake 1.12.1 nitin.a.kamble
2012-07-10 16:02 ` [PATCH 06/19] dates: fix build with automake 1.12.x nitin.a.kamble
2012-07-10 16:02 ` [PATCH 07/19] librsvg: " nitin.a.kamble
2012-07-10 16:02 ` [PATCH 08/19] evolution-data-server: " nitin.a.kamble
2012-07-10 16:02 ` [PATCH 09/19] tar: " nitin.a.kamble
2012-07-11 22:15   ` Saul Wold
2012-07-10 16:02 ` [PATCH 10/19] libgcrypt: " nitin.a.kamble
2012-07-10 16:02 ` [PATCH 11/19] telepathy-glib: " nitin.a.kamble
2012-07-10 16:02 ` [PATCH 12/19] xf86-video-vmware: " nitin.a.kamble
2012-07-10 16:02 ` [PATCH 13/19] libfm: " nitin.a.kamble
2012-07-10 16:02 ` [PATCH 14/19] pango: fix dependencies to avoid build issue nitin.a.kamble
2012-07-10 16:02 ` [PATCH 15/19] libunistring: fix build with automake 1.12 nitin.a.kamble
2012-07-10 16:02 ` [PATCH 16/19] telepathy-python: " nitin.a.kamble
2012-07-10 16:02 ` [PATCH 17/19] libidn: " nitin.a.kamble
2012-07-10 16:02 ` [PATCH 18/19] webgit-gtk: fix build with automake 1.12.1 nitin.a.kamble
2012-07-10 16:02 ` [PATCH 19/19] gpgme: fix build with automake 1.12.x nitin.a.kamble
2012-07-12 23:10 ` [PATCH 00/19] automake update related commits on master Saul Wold
2012-07-13  4:05   ` Kamble, Nitin A
2012-07-13  4:29     ` Saul Wold
2012-07-17 16:23 ` Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=93d0c9afdd8207ee2d9c5c16ded33a10efa4fddf.1341935782.git.nitin.a.kamble@intel.com \
    --to=nitin.a.kamble@intel.com \
    --cc=Openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.