From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/nmeap/
Date: Thu, 19 Jun 2025 19:59:07 +0000 (UTC) [thread overview]
Message-ID: <1750363139.7ee5586a6a34873accc0a65e4b5893104c1f940e.arthurzam@gentoo> (raw)
commit: 7ee5586a6a34873accc0a65e4b5893104c1f940e
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 19 19:58:40 2025 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 19 19:58:59 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ee5586a
dev-libs/nmeap: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO.
Closes: https://bugs.gentoo.org/958451
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-libs/nmeap/nmeap-0.3-r2.ebuild | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/dev-libs/nmeap/nmeap-0.3-r2.ebuild b/dev-libs/nmeap/nmeap-0.3-r2.ebuild
index 98901544f3dc..13b5bd8e463a 100644
--- a/dev-libs/nmeap/nmeap-0.3-r2.ebuild
+++ b/dev-libs/nmeap/nmeap-0.3-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit toolchain-funcs
+inherit dot-a toolchain-funcs
DESCRIPTION="Extensible NMEA-0183 (GPS) data parser in standard C"
HOMEPAGE="http://nmeap.sourceforge.net/"
@@ -16,7 +16,9 @@ IUSE="doc"
BDEPEND="doc? ( app-text/doxygen )"
-PATCHES=( "${FILESDIR}/${P}-fix-unitialized-variable.patch" )
+PATCHES=(
+ "${FILESDIR}/${P}-fix-unitialized-variable.patch"
+)
src_prepare() {
default
@@ -34,6 +36,11 @@ src_prepare() {
fi
}
+src_configure() {
+ lto-guarantee-fat
+ default
+}
+
src_compile() {
local myemakeopts=(
AR="$(tc-getAR)"
@@ -49,6 +56,7 @@ src_compile() {
src_install() {
dolib.a lib/libnmeap.a
+ strip-lto-bytecode
doheader inc/nmeap.h inc/nmeap_def.h
next reply other threads:[~2025-06-19 19:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-19 19:59 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-08-24 22:33 [gentoo-commits] repo/gentoo:master commit in: dev-libs/nmeap/ Conrad Kostecki
2019-07-21 21:48 Andreas Sturmlechner
2019-05-19 15:48 Thomas Deutschmann
2019-04-19 2:32 Aaron Bauman
2018-11-06 7:18 Mikle Kolyada
2018-07-17 21:01 Andreas Sturmlechner
2018-06-20 8:20 Michał Górny
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=1750363139.7ee5586a6a34873accc0a65e4b5893104c1f940e.arthurzam@gentoo \
--to=arthurzam@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