summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-02-15 04:14:07 +0000
committerSam James <sam@gentoo.org>2023-02-15 05:02:32 +0000
commitf869e9bb247373e661a2f0356d90e60b8c15d775 (patch)
tree90998af73fbedc77d7f1b1892bfe9bdd2d05b220 /net-misc
parentdev-lang/go: stabilize 1.19.6 for amd64 #894470 (diff)
downloadgentoo-f869e9bb247373e661a2f0356d90e60b8c15d775.tar.gz
gentoo-f869e9bb247373e661a2f0356d90e60b8c15d775.tar.bz2
gentoo-f869e9bb247373e661a2f0356d90e60b8c15d775.zip
net-misc/dibbler: fix build w/ clang 16, filter lto
Closes: https://bugs.gentoo.org/861611 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/dibbler/dibbler-1.0.1-r3.ebuild10
1 files 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)
}