commit:     309ec4f9dc03f4e4ccd1daa2fc5009e3b99c2f75
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  4 08:15:42 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar  4 08:17:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=309ec4f9

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 <AT> gentoo.org>

 net-irc/bnc/{bnc-2.9.4-r2.ebuild => bnc-2.9.4-r3.ebuild} | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/net-irc/bnc/bnc-2.9.4-r2.ebuild b/net-irc/bnc/bnc-2.9.4-r3.ebuild
similarity index 85%
rename from net-irc/bnc/bnc-2.9.4-r2.ebuild
rename to net-irc/bnc/bnc-2.9.4-r3.ebuild
index 15f92bbc17b2..c13e65bd1123 100644
--- a/net-irc/bnc/bnc-2.9.4-r2.ebuild
+++ b/net-irc/bnc/bnc-2.9.4-r3.ebuild
@@ -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)
 }
 

Reply via email to