commit:     3e5ea66341d6dbe439b41ea0cfe9c16ac8ab4763
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Feb 29 05:04:44 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 05:44:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e5ea663

net-print/hplip: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/861851
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-print/hplip/hplip-3.23.12-r1.ebuild | 7 ++++++-
 net-print/hplip/hplip-3.23.12.ebuild    | 9 +++++++--
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/net-print/hplip/hplip-3.23.12-r1.ebuild 
b/net-print/hplip/hplip-3.23.12-r1.ebuild
index 8981b1c837fb..e1ab49564e06 100644
--- a/net-print/hplip/hplip-3.23.12-r1.ebuild
+++ b/net-print/hplip/hplip-3.23.12-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{10,11} )
 PYTHON_REQ_USE="threads(+),xml(+)"
 
-inherit autotools linux-info python-single-r1 readme.gentoo-r1 udev
+inherit autotools flag-o-matic linux-info python-single-r1 readme.gentoo-r1 
udev
 
 DESCRIPTION="HP Linux Imaging and Printing - Print, scan, fax drivers and 
service tools"
 HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing";
@@ -141,6 +141,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/861851
+       # https://bugs.launchpad.net/hplip/+bug/2055371
+       filter-lto
+
        local drv_build minimal_build
 
        if use hpcups ; then

diff --git a/net-print/hplip/hplip-3.23.12.ebuild 
b/net-print/hplip/hplip-3.23.12.ebuild
index 7b4a0c432646..e9658aec1aff 100644
--- a/net-print/hplip/hplip-3.23.12.ebuild
+++ b/net-print/hplip/hplip-3.23.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{10,11} )
 PYTHON_REQ_USE="threads(+),xml(+)"
 
-inherit autotools linux-info python-single-r1 readme.gentoo-r1 udev
+inherit autotools flag-o-matic linux-info python-single-r1 readme.gentoo-r1 
udev
 
 DESCRIPTION="HP Linux Imaging and Printing - Print, scan, fax drivers and 
service tools"
 HOMEPAGE="https://developers.hp.com/hp-linux-imaging-and-printing";
@@ -141,6 +141,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/861851
+       # https://bugs.launchpad.net/hplip/+bug/2055371
+       filter-lto
+
        local drv_build minimal_build
 
        if use hpcups ; then

Reply via email to