public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/argtable/
Date: Tue, 26 Aug 2025 15:12:06 +0000 (UTC)	[thread overview]
Message-ID: <1756221041.7e179937d6715983f0c9564ca6e63cf344db5c59.sam@gentoo> (raw)

commit:     7e179937d6715983f0c9564ca6e63cf344db5c59
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Sun Aug 24 21:20:06 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 26 15:10:41 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e179937

dev-libs/argtable: fix c23/musl, use dot-a.eclass

update SRC_URI (redirect)

use dot-a.eclass to avoid installing broken static libraries w/ LTO
remove bundle getopt.h  (unneeded for glibc/musl) to avoid conflict with musl

Closes: https://bugs.gentoo.org/945723
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/43551
Closes: https://github.com/gentoo/gentoo/pull/43551
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/argtable/argtable-2.13-r4.ebuild | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/dev-libs/argtable/argtable-2.13-r4.ebuild b/dev-libs/argtable/argtable-2.13-r4.ebuild
index 0d0c246bf90d..a588e910dc73 100644
--- a/dev-libs/argtable/argtable-2.13-r4.ebuild
+++ b/dev-libs/argtable/argtable-2.13-r4.ebuild
@@ -1,16 +1,16 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit libtool
+inherit dot-a libtool
 
 MY_PV="$(ver_rs 1 '-')"
 MY_P=${PN}${MY_PV}
 
 DESCRIPTION="An ANSI C library for parsing GNU-style command-line options with minimal fuss"
 HOMEPAGE="https://argtable.sourceforge.io"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.tar.gz"
+SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${P}/${MY_P}.tar.gz"
 S="${WORKDIR}"/${MY_P}
 
 LICENSE="LGPL-2"
@@ -25,10 +25,16 @@ PATCHES=(
 
 src_prepare() {
 	default
+
+	# not needed for glibc or musl #945723
+	rm src/getopt.h || die
+
 	elibtoolize
 }
 
 src_configure() {
+	lto-guarantee-fat
+
 	econf \
 		$(use_enable debug) \
 		$(use_enable static-libs static)
@@ -53,4 +59,5 @@ src_install() {
 	fi
 
 	find "${ED}" -name "*.la" -delete || die "failed to delete .la files"
+	strip-lto-bytecode
 }


             reply	other threads:[~2025-08-26 15:12 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-26 15:12 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-20 21:23 [gentoo-commits] repo/gentoo:master commit in: dev-libs/argtable/ Eli Schwartz
2024-09-20 21:23 Eli Schwartz
2024-09-08 20:48 Petr Vaněk
2023-06-09 18:09 Arthur Zamarin
2023-06-09 17:39 Arthur Zamarin
2022-11-24 18:14 Conrad Kostecki
2022-07-03 11:48 Matthew Smith
2022-07-03  8:52 Agostino Sarubbo
2022-07-03  8:51 Agostino Sarubbo
2022-07-03  8:51 Agostino Sarubbo
2022-07-03  8:50 Agostino Sarubbo
2022-07-03  8:47 Agostino Sarubbo
2022-07-02  9:55 Matthew Smith
2022-07-02  9:38 Matthew Smith
2022-07-02  9:38 Matthew Smith
2021-08-22  0:07 Marek Szuba
2021-01-03 12:10 Sergei Trofimovich
2020-12-31 11:22 Sergei Trofimovich
2020-07-04 12:36 Mart Raudsepp
2020-05-31  2:26 Matt Turner
2020-03-02 11:30 Sergei Trofimovich
2020-03-02 11:10 Sergei Trofimovich
2020-03-02 11:01 Sergei Trofimovich
2020-02-26 16:32 Sergei Trofimovich
2017-12-26 17:00 Mikle Kolyada
2017-12-26 16:59 Mikle Kolyada
2017-12-26  9:32 Andreas Hüttel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1756221041.7e179937d6715983f0c9564ca6e63cf344db5c59.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox