commit:     5b2a8728a744f74cd8663da92b5d473c95ce5047
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 17 14:46:33 2025 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Dec 17 15:10:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b2a8728

sys-libs/csu: remove

This package isn't used for years now, and in fact the profiles of the
systems (Mac OS X 10.50 don't reference it, so it's really not being
used even longer.

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 sys-libs/csu/Manifest                            |  1 -
 sys-libs/csu/csu-85-r1.ebuild                    | 70 ------------------------
 sys-libs/csu/files/csu-85-arm-availability.patch | 18 ------
 sys-libs/csu/metadata.xml                        |  8 ---
 4 files changed, 97 deletions(-)

diff --git a/sys-libs/csu/Manifest b/sys-libs/csu/Manifest
deleted file mode 100644
index 480d3d1052cd..000000000000
--- a/sys-libs/csu/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST Csu-85.tar.gz 13376 BLAKE2B 
59aa275bf01bb785b848447ff1291e0018b2f2bc3c42f4f222957aa6c1f9fd344fa6dca9ee53fb8d9d3b11f6c03c37fff9178c40e5a009712f251f502e1f4957
 SHA512 
3cfeb7d37630fc9d6607da018b9ac1aeb3f41a4c190a67e7dc242ae48e7abd0026e25055b9459f2f187d3bb25644f516f079d1b2e943e8cb4cc6c132ad594467

diff --git a/sys-libs/csu/csu-85-r1.ebuild b/sys-libs/csu/csu-85-r1.ebuild
deleted file mode 100644
index fb278ca843bb..000000000000
--- a/sys-libs/csu/csu-85-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic
-
-DESCRIPTION="Darwin Csu (crt1.o) - Mac OS X 10.10 version"
-HOMEPAGE="http://www.opensource.apple.com/";
-SRC_URI="http://www.opensource.apple.com/tarballs/Csu/Csu-${PV}.tar.gz";
-
-LICENSE="APSL-2"
-
-SLOT="0"
-KEYWORDS="~ppc-macos ~x64-macos"
-S=${WORKDIR}/Csu-${PV}
-
-# for now it seems FSF GCC can't compile this thing, so we need
-# gcc-apple or clang (which is also sort of "-apple")
-DEPEND="|| (
-               llvm-core/clang
-               =sys-devel/gcc-apple-4.2.1*
-       )"
-
-src_prepare() {
-       # apart from gcc-4.2.1 possibly not understanding, this better not
-       # be aggressively optimised
-       filter-flags -march=* -mtune=*
-
-       # since we don't have crt0, we can't build it either
-       sed -i \
-               -e 's:$(SYMROOT)/crt0.o::' \
-               -e '/LOCLIBDIR)\/crt0.o/d' \
-               -e '/^CC = /d' \
-               -e "/ARCH_CFLAGS =/s|=|= ${CFLAGS}|" \
-               Makefile || die
-
-       # only require Availability.h for arm, bugs #538602, #539964
-       eapply "${FILESDIR}"/${P}-arm-availability.patch
-
-       if [[ ${CHOST} == powerpc* ]] ; then
-               # *must not* be compiled with -Os on PPC because that
-               # will optimize out
-               # _pointer_to__darwin_gcc3_preregister_frame_info which
-               # causes linker errors for large programs because the
-               # jump to ___darwin_gcc3_preregister_frame_info gets to
-               # be more than 16MB away
-               sed -i -e "s, -Os , -O ,g" Makefile || die
-       fi
-
-       eapply_user
-}
-
-src_compile() {
-       # FSF GCC-7.3.0 most notably complains about private_externs, but it
-       # also has issues with the assembly, so use gcc-apple, if it is
-       # installed.  Normally, (non-ppc) users will have clang installed,
-       # so this isn't used, should they have gcc-apple installed, then
-       # this wouldn't hurt either.
-       type -P gcc-4.2.1 > /dev/null && export CC=gcc-4.2.1
-       emake USRLIBDIR="${EPREFIX}"/lib
-}
-
-src_install() {
-       emake -j1 \
-               USRLIBDIR="${EPREFIX}"/lib \
-               LOCLIBDIR="${EPREFIX}"/lib \
-               DSTROOT="${D}" \
-               install
-}

diff --git a/sys-libs/csu/files/csu-85-arm-availability.patch 
b/sys-libs/csu/files/csu-85-arm-availability.patch
deleted file mode 100644
index 6d3f3cf42b06..000000000000
--- a/sys-libs/csu/files/csu-85-arm-availability.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Guard inclusion of Availability.h so that it only happens on arm where it's
-actuallty used so it doesn't cause failures on old OS X where Availability.h
-doesn't exist yet.
-
-Michael Weiser <[email protected]>
-
---- Csu-85/start.s.orig        2013-10-09 01:11:47.000000000 +0200
-+++ Csu-85/start.s     2015-02-11 20:34:04.000000000 +0100
-@@ -22,7 +22,9 @@
-  * @APPLE_LICENSE_HEADER_END@
-  */
- 
-+#ifdef __arm__
- #include <Availability.h>
-+#endif
- 
- #if __ppc__ && __DYNAMIC__
- //

diff --git a/sys-libs/csu/metadata.xml b/sys-libs/csu/metadata.xml
deleted file mode 100644
index 3e9b4cf7fcd3..000000000000
--- a/sys-libs/csu/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-  <maintainer type="project">
-    <email>[email protected]</email>
-    <name>Gentoo Prefix</name>
-  </maintainer>
-</pkgmetadata>

Reply via email to