From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 028A41581C1 for ; Fri, 12 Jul 2024 10:20:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20852E2AD1; Fri, 12 Jul 2024 10:20:29 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 00BA1E2AD1 for ; Fri, 12 Jul 2024 10:20:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 232AA341C4B for ; Fri, 12 Jul 2024 10:20:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6EDA71BD7 for ; Fri, 12 Jul 2024 10:20:26 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1720779594.6759c9f81dd5cdde383efc766cf895c84a92caef.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: sys-libs/newlib/files/, sys-libs/newlib/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: sys-libs/newlib/files/cygwin-2.7.0-parallel-build.patch sys-libs/newlib/metadata.xml sys-libs/newlib/newlib-9999.ebuild X-VCS-Directories: sys-libs/newlib/files/ sys-libs/newlib/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 6759c9f81dd5cdde383efc766cf895c84a92caef X-VCS-Branch: master Date: Fri, 12 Jul 2024 10:20:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d823b26b-1dab-45de-868b-bca7eddde493 X-Archives-Hash: 108d245a2d60e115126f82d010d4fef2 commit: 6759c9f81dd5cdde383efc766cf895c84a92caef Author: Fabian Groffen gentoo org> AuthorDate: Fri Jul 12 10:19:54 2024 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Fri Jul 12 10:19:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=6759c9f8 sys-libs/newlib: remove in favour of gx86 version Signed-off-by: Fabian Groffen gentoo.org> .../newlib/files/cygwin-2.7.0-parallel-build.patch | 31 ------- sys-libs/newlib/metadata.xml | 11 --- sys-libs/newlib/newlib-9999.ebuild | 95 ---------------------- 3 files changed, 137 deletions(-) diff --git a/sys-libs/newlib/files/cygwin-2.7.0-parallel-build.patch b/sys-libs/newlib/files/cygwin-2.7.0-parallel-build.patch deleted file mode 100644 index 7dce4e28e9..0000000000 --- a/sys-libs/newlib/files/cygwin-2.7.0-parallel-build.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 2f3758437166c57fd53ad8517d874d95f27710bc Mon Sep 17 00:00:00 2001 -From: Michael Haubenwallner -Date: Thu, 16 Feb 2017 14:32:07 +0100 -Subject: [PATCH] fix parallel build for version.cc and winver.o - -Creating both version.cc and winver.o at once really should run once only. ---- - winsup/cygwin/Makefile.in | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in -index bffb24a..c8652b0 100644 ---- a/winsup/cygwin/Makefile.in -+++ b/winsup/cygwin/Makefile.in -@@ -747,10 +747,12 @@ libacl.a: ${LIB_NAME} sec_posixacl.o - ${EXTRALIBS}: lib%.a: %.o - $(AR) cru $@ $? - --version.cc winver.o: mkvers.sh include/cygwin/version.h winver.rc $(DLL_OFILES) -+winver.o: mkvers.sh include/cygwin/version.h winver.rc $(DLL_OFILES) - @echo "Making version.cc and winver.o";\ - /bin/sh ${word 1,$^} ${word 2,$^} ${word 3,$^} $(WINDRES) ${CFLAGS} $(addprefix -I,${CCWRAP_SYSTEM_HEADERS} ${CCWRAP_DIRAFTER_HEADERS}) - -+version.cc: winver.o -+ - Makefile: ${srcdir}/Makefile.in - /bin/sh ./config.status - --- -2.10.2 - diff --git a/sys-libs/newlib/metadata.xml b/sys-libs/newlib/metadata.xml deleted file mode 100644 index 3002cfebe8..0000000000 --- a/sys-libs/newlib/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - -lu_zero@gentoo.org - - -toolchain@gentoo.org -Gentoo Toolchain Project - - diff --git a/sys-libs/newlib/newlib-9999.ebuild b/sys-libs/newlib/newlib-9999.ebuild deleted file mode 100644 index 6c5e40f34d..0000000000 --- a/sys-libs/newlib/newlib-9999.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit flag-o-matic toolchain-funcs - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="git://sourceware.org/git/newlib-cygwin.git" - inherit git-r3 -else - SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz" - if [[ ${PV} != *.201[5-9]???? ]] ; then - KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sparc ~x86" - fi -fi - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY} == cross-* ]] ; then - export CTARGET=${CATEGORY#cross-} - fi -fi - -DESCRIPTION="Newlib is a C library intended for use on embedded systems" -HOMEPAGE="https://sourceware.org/newlib/" - -LICENSE="NEWLIB LIBGLOSS GPL-2" -SLOT="0" -IUSE="nls threads unicode crosscompile_opts_headers-only" -RESTRICT="strip" - -NEWLIBBUILD="${WORKDIR}/build" - -pkg_setup() { - # Reject newlib-on-glibc type installs - if [[ ${CTARGET} == ${CHOST} ]] ; then - case ${CHOST} in - *-newlib|*-elf|*-cygwin*) ;; - *) die "Use sys-devel/crossdev to build a newlib toolchain" ;; - esac - fi -} - -src_prepare() { - default - if [[ ${CHOST} == *-cygwin* ]] ; then - local pvgr="${PV}-gentoo-${PR}" - pvgr=${pvgr%-r0} - einfo "Branding Gentoo/Cygwin ${pvgr} ..." - sed -i -e "/Cygwin dll release/a\ - __small_sprintf (name->release, \"%s\", \"${pvgr}\") || - " winsup/cygwin/uname.cc || die - eend $? - fi -} - -src_configure() { - # we should fix this ... - unset LDFLAGS - CHOST=${CTARGET:-${CHOST}} strip-unsupported-flags - - local myconf=( - # Disable legacy syscall stub code in newlib. These have been - # moved to libgloss for a long time now, so the code in newlib - # itself just gets in the way. - --disable-newlib-supplied-syscalls - ) - [[ ${CTARGET} == "spu" ]] \ - && myconf+=( --disable-newlib-multithread ) \ - || myconf+=( $(use_enable threads newlib-multithread) ) - - mkdir -p "${NEWLIBBUILD}" - cd "${NEWLIBBUILD}" - - ECONF_SOURCE=${S} \ - econf \ - $(use_enable unicode newlib-mb) \ - $(use_enable nls) \ - "${myconf[@]}" -} - -src_compile() { - emake -C "${NEWLIBBUILD}" -} - -src_install() { - cd "${NEWLIBBUILD}" - emake -j1 DESTDIR="${D}" install -# env -uRESTRICT CHOST=${CTARGET} prepallstrip - # minor hack to keep things clean - rm -fR "${D}"/usr/share/info - rm -fR "${D}"/usr/info -}