net-irc/bnc: filter LTO (SA), eautoreconf

Dead upstream.

Closes: https://bugs.gentoo.org/861374
Closes: https://bugs.gentoo.org/900076
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-03-04 08:15:42 +00:00
parent f4bf5620f8
commit 309ec4f9dc

View File

@@ -1,8 +1,10 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic
MY_P="${P/-/}"
DESCRIPTION="BNC (BouNCe) is used as a gateway to an IRC Server"
HOMEPAGE="http://gotbnc.com/"
@@ -25,11 +27,19 @@ PATCHES=(
src_prepare() {
default
sed -i -e 's:./mkpasswd:/usr/bin/bncmkpasswd:' bncsetup \
|| die 'failed to rename mkpasswd in bncsetup'
# bug #900076
eautoreconf
}
src_configure() {
# bug #861374
append-flags -fno-strict-aliasing
filter-lto
econf $(use_with ssl)
}