From patchwork Sun Aug 25 17:24:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1152834 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=t-online.de Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46GhpP22wlz9sBF for ; Mon, 26 Aug 2019 03:24:45 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 03F4986E82; Sun, 25 Aug 2019 17:24:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KSD5nR0b54cB; Sun, 25 Aug 2019 17:24:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id A3FE786AFE; Sun, 25 Aug 2019 17:24:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id DBDB31BF589 for ; Sun, 25 Aug 2019 17:24:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D6488881AB for ; Sun, 25 Aug 2019 17:24:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2N+abdKnZy5h for ; Sun, 25 Aug 2019 17:24:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout11.t-online.de (mailout11.t-online.de [194.25.134.85]) by hemlock.osuosl.org (Postfix) with ESMTPS id D202D881A4 for ; Sun, 25 Aug 2019 17:24:20 +0000 (UTC) Received: from fwd31.aul.t-online.de (fwd31.aul.t-online.de [172.20.26.136]) by mailout11.t-online.de (Postfix) with SMTP id 95C174204867 for ; Sun, 25 Aug 2019 19:24:18 +0200 (CEST) Received: from fli4l.lan.fli4l (bKTfX2Z1rhLHOYnPHGDnRqBBemlkmTxQrFZVjHzgD4ZGC9Wz95vN7dDOjV5ppGZwA9@[91.58.12.59]) by fwd31.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1i1wFR-1WAQOu0; Sun, 25 Aug 2019 19:24:13 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:42254) by fli4l.lan.fli4l with esmtp (Exim 4.92.1) (envelope-from ) id 1i1wFQ-0005vj-BV for buildroot@buildroot.org; Sun, 25 Aug 2019 19:24:12 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 25 Aug 2019 19:24:12 +0200 Message-Id: <20190825172412.9524-1-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-ID: bKTfX2Z1rhLHOYnPHGDnRqBBemlkmTxQrFZVjHzgD4ZGC9Wz95vN7dDOjV5ppGZwA9 X-TOI-MSGID: 7270856e-305d-4e59-885b-ff2c19dd8438 Subject: [Buildroot] [PATCH/next 1/1] package/coreutils: bump version to 8.31 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Added license hash. Added patch to fix build error with uclibc. Release notes: https://lists.gnu.org/archive/html/coreutils/2019-03/msg00042.html Signed-off-by: Bernd Kuhls --- .../0002-strtod_fix_clash_with_strtold.patch | 64 +++++++++++++++++++ package/coreutils/coreutils.hash | 4 +- package/coreutils/coreutils.mk | 2 +- 3 files changed, 68 insertions(+), 2 deletions(-) create mode 100644 package/coreutils/0002-strtod_fix_clash_with_strtold.patch diff --git a/package/coreutils/0002-strtod_fix_clash_with_strtold.patch b/package/coreutils/0002-strtod_fix_clash_with_strtold.patch new file mode 100644 index 0000000000..7033d3b856 --- /dev/null +++ b/package/coreutils/0002-strtod_fix_clash_with_strtold.patch @@ -0,0 +1,64 @@ +From 0562b040fa17f1722ba2b3096067b45d0582ca53 Mon Sep 17 00:00:00 2001 +From: Paul Eggert +Date: Mon, 11 Mar 2019 16:40:29 -0700 +Subject: [PATCH] strtod: fix clash with strtold + +Problem reported for RHEL 5 by Jesse Caldwell (Bug#34817). +* lib/strtod.c (compute_minus_zero, minus_zero): +Simplify by remving the macro / external variable, +and having just a function. User changed. This avoids +the need for an external variable that might clash. + +Upstream-Status: Backport [rhel5] + +Signed-off-by: Oleksandr Kravchuk + +Downloaded from +http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-core/coreutils/coreutils/strtod_fix_clash_with_strtold.patch + +This patch was committed to gnulib: +http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=patch;h=3bd82a82cf4ba693d2c31c7b95aaec4e56dc92a4 +and will be included in the next release of coreutils. + +Signed-off-by: Bernd Kuhls +--- + ChangeLog | 9 +++++++++ + lib/strtod.c | 11 +++++------ + 2 files changed, 14 insertions(+), 6 deletions(-) + +diff --git a/lib/strtod.c b/lib/strtod.c +index b9eaa51b4..69b1564e1 100644 +--- a/lib/strtod.c ++++ b/lib/strtod.c +@@ -294,16 +294,15 @@ parse_number (const char *nptr, + ICC 10.0 has a bug when optimizing the expression -zero. + The expression -MIN * MIN does not work when cross-compiling + to PowerPC on Mac OS X 10.5. */ +-#if defined __hpux || defined __sgi || defined __ICC + static DOUBLE +-compute_minus_zero (void) ++minus_zero (void) + { ++#if defined __hpux || defined __sgi || defined __ICC + return -MIN * MIN; +-} +-# define minus_zero compute_minus_zero () + #else +-DOUBLE minus_zero = -0.0; ++ return -0.0; + #endif ++} + + /* Convert NPTR to a DOUBLE. If ENDPTR is not NULL, a pointer to the + character after the last one used in the number is put in *ENDPTR. */ +@@ -479,6 +478,6 @@ STRTOD (const char *nptr, char **endptr) + /* Special case -0.0, since at least ICC miscompiles negation. We + can't use copysign(), as that drags in -lm on some platforms. */ + if (!num && negative) +- return minus_zero; ++ return minus_zero (); + return negative ? -num : num; + } +-- +2.20.1 + diff --git a/package/coreutils/coreutils.hash b/package/coreutils/coreutils.hash index d55e25a86f..31dfbd73a9 100644 --- a/package/coreutils/coreutils.hash +++ b/package/coreutils/coreutils.hash @@ -1,2 +1,4 @@ # Locally calculated after checking pgp signature -sha256 e831b3a86091496cdba720411f9748de81507798f6130adeaef872d206e1b057 coreutils-8.30.tar.xz +sha256 ff7a9c918edce6b4f4b2725e3f9b37b0c4d193531cac49a48b56c4d0d3a9e9fd coreutils-8.31.tar.xz +# Locally computed +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk index 55aa92e753..d312197e7e 100644 --- a/package/coreutils/coreutils.mk +++ b/package/coreutils/coreutils.mk @@ -4,7 +4,7 @@ # ################################################################################ -COREUTILS_VERSION = 8.30 +COREUTILS_VERSION = 8.31 COREUTILS_SITE = $(BR2_GNU_MIRROR)/coreutils COREUTILS_SOURCE = coreutils-$(COREUTILS_VERSION).tar.xz COREUTILS_LICENSE = GPL-3.0+