commit:     00d854ad87a75f20d241173633ba730a27736ec4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 13 04:54:25 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 13 04:55:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00d854ad

net-analyzer/hydra: GTK 3 port is broken

It doesn't seem to actually build against 3, configure wasn't regenerated
properly.

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

 net-analyzer/hydra/{hydra-9.3.ebuild => hydra-9.3-r1.ebuild} | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/hydra/hydra-9.3.ebuild 
b/net-analyzer/hydra/hydra-9.3-r1.ebuild
similarity index 93%
rename from net-analyzer/hydra/hydra-9.3.ebuild
rename to net-analyzer/hydra/hydra-9.3-r1.ebuild
index aa7d807e29b8..d149fdce2dde 100644
--- a/net-analyzer/hydra/hydra-9.3.ebuild
+++ b/net-analyzer/hydra/hydra-9.3-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit autotools toolchain-funcs
 
 DESCRIPTION="Parallelized network login hacker"
 HOMEPAGE="https://github.com/vanhauser-thc/thc-hydra";
@@ -21,7 +21,7 @@ RDEPEND="
                dev-libs/atk
                dev-libs/glib:2
                x11-libs/gdk-pixbuf:2
-               x11-libs/gtk+:3
+               x11-libs/gtk+:2
        )
        firebird? ( dev-db/firebird )
        gcrypt? ( dev-libs/libgcrypt )
@@ -58,6 +58,12 @@ src_prepare() {
                -e '/^OPTS/{s|=|+=|;s| -O3||}' \
                -e '/ -o /s:$(OPTS):& $(LDFLAGS):g' \
                Makefile.am || die
+
+       # Needed to get GTK+ 3 change in configure.in (.in got updated, but
+       # configure not regen'd.)
+       #cd hydra-gtk || die
+       #sed -i -e 's:AC_INIT(configure.in):AC_INIT(configure.ac):' 
configure.in || die
+       #eautoreconf
 }
 
 src_configure() {

Reply via email to