1 |
commit: 7084a8ff0317c6ef0d3920eacc7123494b884e38 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 23 16:57:21 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 23 16:58:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7084a8ff |
7 |
|
8 |
sys-libs/argp-standalone: add 1.4.1 |
9 |
|
10 |
Add ericonr's fork of argp-standalone which rebases on a much |
11 |
newer glibc verison (2.33). It also seems to fix some issues |
12 |
with e.g. elfutils! |
13 |
|
14 |
Closes: https://bugs.gentoo.org/634354 |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
sys-libs/argp-standalone/Manifest | 1 + |
18 |
.../argp-standalone/argp-standalone-1.4.1.ebuild | 38 ++++++++++++++++++++++ |
19 |
2 files changed, 39 insertions(+) |
20 |
|
21 |
diff --git a/sys-libs/argp-standalone/Manifest b/sys-libs/argp-standalone/Manifest |
22 |
index ba5599b7e5b8..1579c67dee13 100644 |
23 |
--- a/sys-libs/argp-standalone/Manifest |
24 |
+++ b/sys-libs/argp-standalone/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST argp-standalone-1.3.tar.gz 130255 BLAKE2B 0848a0e7a98cfa09de52fa152eb9a793a9bf25c1edfc7401851ef134b62c051ad6ef2134d6f528e167046be582be23f311e74614c5511d659060addc14de6b2f SHA512 58c3feb8852b90248fff39e49b5019bd0dcf646790c3eaf70c3262eb81dda31a61dc0a45963c7b4a010e80fc14b37288dcb3b3ef48d02f2d33dd72c1c62e62d9 |
27 |
+DIST argp-standalone-1.4.1.tar.gz 58158 BLAKE2B aa55965d6c4a9d61e82a5f3af7a62bf1a35b82ad91c87b4b31a6fa314ba0bcf30667137b420ccae5fbe24301c994971ef48c8dfa4db48620e56edc4300fbd961 SHA512 c5f07e88434589a13a2e88e66d1142b581f19aa82da28507f3c31ea782e080a13a4504d8108c003b5d3c8a3aa20f52ea5e81f337c11a4b1342b16361d4877c1c |
28 |
|
29 |
diff --git a/sys-libs/argp-standalone/argp-standalone-1.4.1.ebuild b/sys-libs/argp-standalone/argp-standalone-1.4.1.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..fec5aa1a613d |
32 |
--- /dev/null |
33 |
+++ b/sys-libs/argp-standalone/argp-standalone-1.4.1.ebuild |
34 |
@@ -0,0 +1,38 @@ |
35 |
+# Copyright 1999-2021 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+inherit autotools flag-o-matic |
41 |
+ |
42 |
+DESCRIPTION="Standalone argp library for use with musl" |
43 |
+HOMEPAGE="https://github.com/ericonr/argp-standalone" |
44 |
+SRC_URI="https://github.com/ericonr/argp-standalone/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="public-domain GPL-2 GPL-3 XC" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~x86" |
49 |
+IUSE="static-libs" |
50 |
+ |
51 |
+DEPEND="!sys-libs/glibc" |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ default |
55 |
+ |
56 |
+ eautoreconf |
57 |
+} |
58 |
+ |
59 |
+src_configure() { |
60 |
+ append-cflags "-fgnu89-inline" |
61 |
+ |
62 |
+ econf |
63 |
+} |
64 |
+ |
65 |
+src_install() { |
66 |
+ default |
67 |
+ |
68 |
+ find "${ED}" -name '*.la' -delete || die |
69 |
+ |
70 |
+ insinto /usr/include |
71 |
+ doins argp.h |
72 |
+} |