diff options
author | Sam James <sam@gentoo.org> | 2024-08-14 23:59:21 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-08-15 00:28:39 +0100 |
commit | 1669d358e632182d3cf4223dc32dfaa91f33d9e1 (patch) | |
tree | 245f7ab0902e44396751399c2e23007834133429 /sys-libs/libucontext | |
parent | sys-fs/exfatprogs: add 1.2.5 (diff) | |
download | gentoo-1669d358e632182d3cf4223dc32dfaa91f33d9e1.tar.gz gentoo-1669d358e632182d3cf4223dc32dfaa91f33d9e1.tar.bz2 gentoo-1669d358e632182d3cf4223dc32dfaa91f33d9e1.zip |
sys-libs/libucontext: drop 1.1-r1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/libucontext')
-rw-r--r-- | sys-libs/libucontext/Manifest | 1 | ||||
-rw-r--r-- | sys-libs/libucontext/files/libucontext-1.1-respect-CFLAGS.patch | 13 | ||||
-rw-r--r-- | sys-libs/libucontext/libucontext-1.1-r1.ebuild | 67 |
3 files changed, 0 insertions, 81 deletions
diff --git a/sys-libs/libucontext/Manifest b/sys-libs/libucontext/Manifest index 909d659abb99..581bd40c2f49 100644 --- a/sys-libs/libucontext/Manifest +++ b/sys-libs/libucontext/Manifest @@ -1,2 +1 @@ -DIST libucontext-1.1.tar.gz 25261 BLAKE2B 269b3899657779bc2c6a2f1c365242f0ee936afeb0acf74e48af5c1e6b96918bbaa239039508e7b1b1f7b358679fb4a222311b761223b69b9a3e7a9be2d0bc40 SHA512 05aed6f82a2b3d9dba896423335a7fc2fc5eddc87ed725f05e14488c6ddfcef10b835c928619439c7783e052baff7ef2dc162b6e06aa78992f6f611ca13c2e39 DIST libucontext-1.2.tar.gz 29073 BLAKE2B 378816376877729776c41515ad1c3da36c24528bcdcf5272c4df2029b5273cf90228c163e87bd1af558129b1274d0b22632c4fa8ad2a0f37ac7014dae527a48e SHA512 f47b776517fa9e3fe48b762b11ae580c28bd7646f9e3ab843141d3e203f886326e68dd8040852ab1cb92dbd09d821161660c4be44e3025448d90131e74a4cf51 diff --git a/sys-libs/libucontext/files/libucontext-1.1-respect-CFLAGS.patch b/sys-libs/libucontext/files/libucontext-1.1-respect-CFLAGS.patch deleted file mode 100644 index 49dd872690d5..000000000000 --- a/sys-libs/libucontext/files/libucontext-1.1-respect-CFLAGS.patch +++ /dev/null @@ -1,13 +0,0 @@ -https://bugs.gentoo.org/832677 -https://github.com/kaniini/libucontext/issues/39 ---- a/Makefile -+++ b/Makefile -@@ -17,7 +17,7 @@ endif - LIBDIR := /lib - INCLUDEDIR := /usr/include - PKGCONFIGDIR := /usr/lib/pkgconfig --CFLAGS := -ggdb3 -O2 -Wall -+CFLAGS ?= -ggdb3 -O2 -Wall - CPPFLAGS := -Iinclude -Iarch/${ARCH} -Iarch/common - EXPORT_UNPREFIXED := yes - FREESTANDING := no diff --git a/sys-libs/libucontext/libucontext-1.1-r1.ebuild b/sys-libs/libucontext/libucontext-1.1-r1.ebuild deleted file mode 100644 index 7ec73298a79c..000000000000 --- a/sys-libs/libucontext/libucontext-1.1-r1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="ucontext implementation featuring glibc-compatible ABI" -HOMEPAGE="https://github.com/kaniini/libucontext" -SRC_URI="https://github.com/kaniini/libucontext/archive/refs/tags/${P}.tar.gz" -S="${WORKDIR}"/${PN}-${P} - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+man" - -BDEPEND="man? ( app-text/scdoc )" - -# segfault needs investigation -RESTRICT="test" - -PATCHES=( - "${FILESDIR}"/${PN}-1.1-respect-CFLAGS.patch -) - -src_compile() { - tc-export AR CC - - arch= - - # Override arch detection - # https://github.com/kaniini/libucontext/blob/master/Makefile#L3 - if use x86 ; then - arch="x86" - elif use arm ; then - arch="arm" - elif use arm64 ; then - arch="aarch64" - elif use ppc64 ; then - arch="ppc64" - else - arch="$(uname -m)" - fi - - emake \ - ARCH="${arch}" \ - LDFLAGS="${LDFLAGS}" \ - LIBDIR="/usr/$(get_libdir)" \ - all $(usev man 'docs') -} - -src_test() { - emake \ - ARCH="${arch}" \ - LDFLAGS="${LDFLAGS}" \ - LIBDIR="/usr/$(get_libdir)" \ - check -} - -src_install() { - emake \ - ARCH="${arch}" \ - DESTDIR="${ED}" \ - LIBDIR="/usr/$(get_libdir)" \ - install $(usev man 'install_docs') -} |