summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-17 16:12:38 -0400
committerSam James <sam@gentoo.org>2024-03-18 05:29:48 +0000
commitd7d3bc2228304026aff7fa34d196d9995c9b2d31 (patch)
tree3e7ef26cd2e16a14cbb16c3aaf5309582376e994 /app-pda
parentmedia-sound/mac: mark as LTO-unsafe, strict-aliasing unsafe (diff)
downloadgentoo-d7d3bc2228304026aff7fa34d196d9995c9b2d31.tar.gz
gentoo-d7d3bc2228304026aff7fa34d196d9995c9b2d31.tar.bz2
gentoo-d7d3bc2228304026aff7fa34d196d9995c9b2d31.zip
app-pda/pilot-link: mark as LTO-unsafe
Only for the (absence of) the USE flag that causes the internal code to be used. It's set by default for desktop/make.defaults anyway so probably most users go through libusb instead. Closes: https://bugs.gentoo.org/924480 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-pda')
-rw-r--r--app-pda/pilot-link/pilot-link-0.12.5-r4.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/app-pda/pilot-link/pilot-link-0.12.5-r4.ebuild b/app-pda/pilot-link/pilot-link-0.12.5-r4.ebuild
index 893b7b45b835..b8ad1bf67898 100644
--- a/app-pda/pilot-link/pilot-link-0.12.5-r4.ebuild
+++ b/app-pda/pilot-link/pilot-link-0.12.5-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit autotools perl-module
+inherit autotools flag-o-matic perl-module
DESCRIPTION="Suite of tools for moving data between a Palm device and a desktop"
# this is a new mirror; the distfile has the same content inside the tarball,
@@ -42,6 +42,15 @@ src_prepare() {
}
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/924480
+ #
+ # Upstream is abandoned since 2016, existing issue offering gentoo-patchset
+ # has been ignored. No bug filed.
+ #
+ # The issue is in the internal compat code for *not* using libusb.
+ use usb || filter-lto
+
# tcl/tk support is disabled as per upstream request.
# readline is not really optional, bug #626504
# Does not build with Java 8