diff options
author | Sam James <sam@gentoo.org> | 2021-11-23 16:57:21 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-11-23 16:58:02 +0000 |
commit | 7084a8ff0317c6ef0d3920eacc7123494b884e38 (patch) | |
tree | d10ec6e4fdfd33b4d28846cfdb606e0c3eb7a443 /sys-libs | |
parent | sys-libs/argp-standalone: update maintainers (add musl@) (diff) | |
download | gentoo-7084a8ff0317c6ef0d3920eacc7123494b884e38.tar.gz gentoo-7084a8ff0317c6ef0d3920eacc7123494b884e38.tar.bz2 gentoo-7084a8ff0317c6ef0d3920eacc7123494b884e38.zip |
sys-libs/argp-standalone: add 1.4.1
Add ericonr's fork of argp-standalone which rebases on a much
newer glibc verison (2.33). It also seems to fix some issues
with e.g. elfutils!
Closes: https://bugs.gentoo.org/634354
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/argp-standalone/Manifest | 1 | ||||
-rw-r--r-- | sys-libs/argp-standalone/argp-standalone-1.4.1.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-libs/argp-standalone/Manifest b/sys-libs/argp-standalone/Manifest index ba5599b7e5b8..1579c67dee13 100644 --- a/sys-libs/argp-standalone/Manifest +++ b/sys-libs/argp-standalone/Manifest @@ -1 +1,2 @@ DIST argp-standalone-1.3.tar.gz 130255 BLAKE2B 0848a0e7a98cfa09de52fa152eb9a793a9bf25c1edfc7401851ef134b62c051ad6ef2134d6f528e167046be582be23f311e74614c5511d659060addc14de6b2f SHA512 58c3feb8852b90248fff39e49b5019bd0dcf646790c3eaf70c3262eb81dda31a61dc0a45963c7b4a010e80fc14b37288dcb3b3ef48d02f2d33dd72c1c62e62d9 +DIST argp-standalone-1.4.1.tar.gz 58158 BLAKE2B aa55965d6c4a9d61e82a5f3af7a62bf1a35b82ad91c87b4b31a6fa314ba0bcf30667137b420ccae5fbe24301c994971ef48c8dfa4db48620e56edc4300fbd961 SHA512 c5f07e88434589a13a2e88e66d1142b581f19aa82da28507f3c31ea782e080a13a4504d8108c003b5d3c8a3aa20f52ea5e81f337c11a4b1342b16361d4877c1c diff --git a/sys-libs/argp-standalone/argp-standalone-1.4.1.ebuild b/sys-libs/argp-standalone/argp-standalone-1.4.1.ebuild new file mode 100644 index 000000000000..fec5aa1a613d --- /dev/null +++ b/sys-libs/argp-standalone/argp-standalone-1.4.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic + +DESCRIPTION="Standalone argp library for use with musl" +HOMEPAGE="https://github.com/ericonr/argp-standalone" +SRC_URI="https://github.com/ericonr/argp-standalone/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain GPL-2 GPL-3 XC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~x86" +IUSE="static-libs" + +DEPEND="!sys-libs/glibc" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + append-cflags "-fgnu89-inline" + + econf +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die + + insinto /usr/include + doins argp.h +} |