public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/newlib/
Date: Tue, 28 Sep 2021 01:45:38 +0000 (UTC)	[thread overview]
Message-ID: <1632793515.19945b3429e7c2eb89b66c7ee4e054aec66d7cfe.sam@gentoo> (raw)

commit:     19945b3429e7c2eb89b66c7ee4e054aec66d7cfe
Author:     Alexey Chernov <4ernov <AT> gmail <DOT> com>
AuthorDate: Mon Aug 16 21:17:42 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 28 01:45:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19945b34

sys-libs/newlib: fix `libm_nano.a` installation

Add `libm_nano.a` installation in case of `nano` USE flag on, as it's now required in `nano.specs` for RISC V targets, in particular.

See also:
riscv/riscv-newlib@f289cef6be67da67b2d97a47d6576fa7e6b4c858
riscv/riscv-gnu-toolchain@2922650dd095747b07d6ced1b746d1faae07a01c
Closes: https://github.com/gentoo/gentoo/pull/22007

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/newlib/{newlib-4.1.0.ebuild => newlib-4.1.0-r1.ebuild} | 4 ++--
 sys-libs/newlib/newlib-9999.ebuild                              | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-libs/newlib/newlib-4.1.0.ebuild b/sys-libs/newlib/newlib-4.1.0-r1.ebuild
similarity index 98%
rename from sys-libs/newlib/newlib-4.1.0.ebuild
rename to sys-libs/newlib/newlib-4.1.0-r1.ebuild
index e16fd4c10b7..a5ec41db3c4 100644
--- a/sys-libs/newlib/newlib-4.1.0.ebuild
+++ b/sys-libs/newlib/newlib-4.1.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -136,7 +136,7 @@ src_install() {
 		emake -j1 DESTDIR="${NEWLIBNANOTMPINSTALL}" install
 		# Rename nano lib* files to lib*_nano and move to the real ${D}
 		local nanolibfiles=""
-		nanolibfiles=$(find "${NEWLIBNANOTMPINSTALL}" -regex ".*/lib\(c\|g\|rdimon\)\.a" -print)
+		nanolibfiles=$(find "${NEWLIBNANOTMPINSTALL}" -regex ".*/lib\(c\|g\|m\|rdimon\)\.a" -print)
 		for f in ${nanolibfiles}; do
 			local l="${f##${NEWLIBNANOTMPINSTALL}}"
 			mv -v "${f}" "${D}/${l%%\.a}_nano.a" || die

diff --git a/sys-libs/newlib/newlib-9999.ebuild b/sys-libs/newlib/newlib-9999.ebuild
index e16fd4c10b7..a5ec41db3c4 100644
--- a/sys-libs/newlib/newlib-9999.ebuild
+++ b/sys-libs/newlib/newlib-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -136,7 +136,7 @@ src_install() {
 		emake -j1 DESTDIR="${NEWLIBNANOTMPINSTALL}" install
 		# Rename nano lib* files to lib*_nano and move to the real ${D}
 		local nanolibfiles=""
-		nanolibfiles=$(find "${NEWLIBNANOTMPINSTALL}" -regex ".*/lib\(c\|g\|rdimon\)\.a" -print)
+		nanolibfiles=$(find "${NEWLIBNANOTMPINSTALL}" -regex ".*/lib\(c\|g\|m\|rdimon\)\.a" -print)
 		for f in ${nanolibfiles}; do
 			local l="${f##${NEWLIBNANOTMPINSTALL}}"
 			mv -v "${f}" "${D}/${l%%\.a}_nano.a" || die


             reply	other threads:[~2021-09-28  1:45 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-28  1:45 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-02  1:43 [gentoo-commits] repo/gentoo:master commit in: sys-libs/newlib/ Sam James
2025-01-02 14:27 Sam James
2024-12-07  3:04 Sam James
2024-02-23 17:42 Sam James
2023-08-08  5:36 Sam James
2023-03-09  1:03 Sam James
2023-01-20 23:54 Mike Frysinger
2023-01-20 22:31 Mike Frysinger
2023-01-20 22:31 Mike Frysinger
2023-01-20 22:31 Mike Frysinger
2022-06-03 18:49 Steve Arnold
2022-05-31 22:03 Sam James
2022-01-01  1:42 Mike Frysinger
2021-11-24  3:11 Mike Frysinger
2021-03-06 19:31 Sergei Trofimovich
2020-12-22 20:24 Sergei Trofimovich
2020-11-21 18:35 Sergei Trofimovich
2020-05-17  9:33 Sergei Trofimovich
2020-05-17  9:33 Sergei Trofimovich
2020-04-16  7:43 Sergei Trofimovich
2020-04-16  7:43 Sergei Trofimovich
2020-03-31  7:02 Sergei Trofimovich
2020-03-31  7:02 Sergei Trofimovich
2020-03-16 21:23 Sergei Trofimovich
2020-03-05 18:21 Sergei Trofimovich
2019-11-24 11:37 Sergei Trofimovich
2019-11-14  0:47 Aaron Bauman
2019-10-23  6:48 Sergei Trofimovich
2018-11-25 15:13 Sergei Trofimovich
2018-03-14 16:08 Jason Zaman
2018-01-07 19:39 Sergei Trofimovich
2017-01-02 20:10 Mike Frysinger
2016-06-23 19:14 Mike Frysinger
2016-03-30  3:46 Mike Frysinger
2016-01-18 10:06 Mike Frysinger
2016-01-04 19:57 Mike Frysinger

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=1632793515.19945b3429e7c2eb89b66c7ee4e054aec66d7cfe.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox