From: Saul Wold <sgw@linux.intel.com>
To: Radu Moisan <radu.moisan@intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 8/9] diffutils: Upgrade to v3.3
Date: Mon, 08 Jul 2013 16:36:49 -0700 [thread overview]
Message-ID: <51DB4D11.5020208@linux.intel.com> (raw)
In-Reply-To: <e8fa6be5b318d10720fa8df55a800ac3aacd56e3.1373278823.git.radu.moisan@intel.com>
On 07/08/2013 03:22 AM, Radu Moisan wrote:
> Signed-off-by: Radu Moisan <radu.moisan@intel.com>
> ---
> .../diffutils-3.2/obsolete_automake_macros.patch | 14 -------------
> .../diffutils/diffutils-3.2/remove-gets.patch | 22 --------------------
> meta/recipes-extended/diffutils/diffutils.inc | 2 +-
> .../{diffutils_3.2.bb => diffutils_3.3.bb} | 10 ++-------
> 4 files changed, 3 insertions(+), 45 deletions(-)
> delete mode 100644 meta/recipes-extended/diffutils/diffutils-3.2/obsolete_automake_macros.patch
> delete mode 100644 meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patch
> rename meta/recipes-extended/diffutils/{diffutils_3.2.bb => diffutils_3.3.bb} (59%)
>
> diff --git a/meta/recipes-extended/diffutils/diffutils-3.2/obsolete_automake_macros.patch b/meta/recipes-extended/diffutils/diffutils-3.2/obsolete_automake_macros.patch
> deleted file mode 100644
> index f47cc79..0000000
> --- a/meta/recipes-extended/diffutils/diffutils-3.2/obsolete_automake_macros.patch
> +++ /dev/null
> @@ -1,14 +0,0 @@
> -Upstream-Status: Backport
> -
> -Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
> -diff -Nurd diffutils-3.2/configure.ac diffutils-3.2/configure.ac
> ---- diffutils-3.2/configure.ac 2011-08-11 18:17:54.000000000 +0300
> -+++ diffutils-3.2/configure.ac 2013-02-08 08:13:28.271427213 +0200
> -@@ -33,7 +33,6 @@
> -
> - AC_PROG_AWK
> - AC_PROG_CC
> --AM_PROG_CC_STDC
> - AM_MISSING_PROG([HELP2MAN], [help2man])
> - AC_PROG_RANLIB
> - gl_EARLY
> diff --git a/meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patch b/meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patch
> deleted file mode 100644
> index 58ed62d..0000000
> --- a/meta/recipes-extended/diffutils/diffutils-3.2/remove-gets.patch
> +++ /dev/null
> @@ -1,22 +0,0 @@
> -check for gets before using it
> -
> -Signed-off-by: Khem Raj <raj.khem@gmail.com>
> -Upstream-Status: Pending
> -Index: diffutils-3.2/lib/stdio.in.h
> -===================================================================
> ---- diffutils-3.2.orig/lib/stdio.in.h 2011-08-28 04:57:28.000000000 -0700
> -+++ diffutils-3.2/lib/stdio.in.h 2012-07-03 10:45:07.518322117 -0700
> -@@ -693,11 +693,13 @@
> - _GL_CXXALIAS_SYS (gets, char *, (char *s));
> - # undef gets
> - # endif
> -+# if defined gets
> - _GL_CXXALIASWARN (gets);
> - /* It is very rare that the developer ever has full control of stdin,
> - so any use of gets warrants an unconditional warning. Assume it is
> - always declared, since it is required by C89. */
> - _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
> -+# endif
> - #endif
> -
> -
> diff --git a/meta/recipes-extended/diffutils/diffutils.inc b/meta/recipes-extended/diffutils/diffutils.inc
> index c90a3c9..8286569 100644
> --- a/meta/recipes-extended/diffutils/diffutils.inc
> +++ b/meta/recipes-extended/diffutils/diffutils.inc
> @@ -6,7 +6,7 @@ SECTION = "base"
>
> INC_PR = "r7"
>
I guess we need to keep this since it's used by the gplv2 version still,
but you could move it there and have the recipe file maintain a PR of
r7.0? ??
> -SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.gz"
> +SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.xz"
>
This change causes problems for the gplv2 version, so SRC_URI should
move to the versioned bb files.
Sau!
> inherit autotools update-alternatives gettext
>
> diff --git a/meta/recipes-extended/diffutils/diffutils_3.2.bb b/meta/recipes-extended/diffutils/diffutils_3.3.bb
> similarity index 59%
> rename from meta/recipes-extended/diffutils/diffutils_3.2.bb
> rename to meta/recipes-extended/diffutils/diffutils_3.3.bb
> index ef400ef..1b72a4b 100644
> --- a/meta/recipes-extended/diffutils/diffutils_3.2.bb
> +++ b/meta/recipes-extended/diffutils/diffutils_3.3.bb
> @@ -10,11 +10,5 @@ do_configure_prepend () {
> done
> }
>
> -PR = "${INC_PR}.1"
> -
> -SRC_URI += "file://remove-gets.patch \
> - file://obsolete_automake_macros.patch \
> -"
> -
> -SRC_URI[md5sum] = "22e4deef5d8949a727b159d6bc65c1cc"
> -SRC_URI[sha256sum] = "2aaaebef615be7dc365306a14caa5d273a4fc174f9f10abca8b60e082c054ed3"
> +SRC_URI[md5sum] = "99180208ec2a82ce71f55b0d7389f1b3"
> +SRC_URI[sha256sum] = "a25e89a8ab65fded1731e4186be1bb25cda967834b6df973599cdcd5abdfc19c"
>
next prev parent reply other threads:[~2013-07-08 23:36 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-08 10:21 [PATCH v4 0/9] Package Upgrades Radu Moisan
2013-07-08 10:21 ` [PATCH 1/9] iputils: Upgrade to v20121221 Radu Moisan
2013-07-09 1:02 ` Saul Wold
2013-07-09 11:46 ` Radu Moisan
2013-07-08 10:21 ` [PATCH 2/9] elfutils: Upgrade to v0.155 Radu Moisan
2013-07-08 10:21 ` [PATCH 3/9] rxvt-unicode: Upgrade to v9.18 Radu Moisan
2013-07-08 10:21 ` [PATCH 4/9] ed: Upgrade to v1.8 Radu Moisan
2013-07-08 10:22 ` [PATCH 5/9] libdmx: Upgrade to v1.1.3 Radu Moisan
2013-07-08 10:22 ` [PATCH 6/9] apr: Upgrade to v1.4.8 Radu Moisan
2013-07-08 10:22 ` [PATCH 7/9] apr-util: Upgrade to v1.5.2 Radu Moisan
2013-07-08 10:22 ` [PATCH 8/9] diffutils: Upgrade to v3.3 Radu Moisan
2013-07-08 23:36 ` Saul Wold [this message]
2013-07-08 10:22 ` [PATCH 9/9] usbutils: Upgrade to v007 Radu Moisan
-- strict thread matches above, loose matches on Subject: below --
2013-07-05 14:47 [PATCH v3 0/9] Package Upgrades Radu Moisan
2013-07-05 14:47 ` [PATCH 8/9] diffutils: Upgrade to v3.3 Radu Moisan
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=51DB4D11.5020208@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=radu.moisan@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox