commit:     f869e9bb247373e661a2f0356d90e60b8c15d775
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 15 04:14:07 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 15 05:02:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f869e9bb

net-misc/dibbler: fix build w/ clang 16, filter lto

Closes: https://bugs.gentoo.org/861611
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/dibbler/dibbler-1.0.1-r3.ebuild | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/net-misc/dibbler/dibbler-1.0.1-r3.ebuild 
b/net-misc/dibbler/dibbler-1.0.1-r3.ebuild
index be80b56206bd..0568063a62b9 100644
--- a/net-misc/dibbler/dibbler-1.0.1-r3.ebuild
+++ b/net-misc/dibbler/dibbler-1.0.1-r3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit readme.gentoo-r1 systemd
+inherit flag-o-matic readme.gentoo-r1 systemd
 
 DESCRIPTION="Portable DHCPv6 implementation (server, client and relay)"
 HOMEPAGE="http://klub.com.pl/dhcpv6/";
@@ -25,6 +25,12 @@ DOC_CONTENTS="Make sure that you modify client.conf, 
server.conf and/or relay.co
 to suit your needs. They are stored in /etc/dibbler"
 
 src_configure() {
+       # ODR violations, bug #861611
+       filter-lto
+
+       # Uses removed 'register' keyword
+       append-cxxflags -std=c++14
+
        econf $(use_enable resolvconf)
 }
 

Reply via email to