commit:     9f6e8b884c567e676bdda30e3faaa79db068f3f4
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 16 13:42:26 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Nov 16 13:43:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f6e8b88

app-admin/pwcrypt: add eautoreconf

Also, doesnt use automake, so remove references to it from configure.in

Closes: https://bugs.gentoo.org/905944
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 app-admin/pwcrypt/files/pwcrypt-eautoreconf.patch |  9 +++++++++
 app-admin/pwcrypt/pwcrypt-1.2.2-r3.ebuild         | 11 ++++++++---
 2 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/app-admin/pwcrypt/files/pwcrypt-eautoreconf.patch 
b/app-admin/pwcrypt/files/pwcrypt-eautoreconf.patch
new file mode 100644
index 000000000000..6b6733030077
--- /dev/null
+++ b/app-admin/pwcrypt/files/pwcrypt-eautoreconf.patch
@@ -0,0 +1,9 @@
+diff '--color=auto' -ruN pwcrypt-1.2.2.orig/configure.in 
pwcrypt-1.2.2/configure.in
+--- pwcrypt-1.2.2.orig/configure.in    2003-10-07 23:18:49.000000000 +0200
++++ pwcrypt-1.2.2/configure.in 2024-11-16 14:39:44.135876058 +0100
+@@ -1,5 +1,3 @@
+-AM_INIT_AUTOMAKE(cli-crypt,1.2.2)
+-AM_PROG_CC_STDC
+ 
+ dnl Process this file with autoconf to produce a configure script.
+ AC_INIT(src/main.c)

diff --git a/app-admin/pwcrypt/pwcrypt-1.2.2-r3.ebuild 
b/app-admin/pwcrypt/pwcrypt-1.2.2-r3.ebuild
index 8d3b90ef4689..836bf6934c10 100644
--- a/app-admin/pwcrypt/pwcrypt-1.2.2-r3.ebuild
+++ b/app-admin/pwcrypt/pwcrypt-1.2.2-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
 
-inherit toolchain-funcs
+inherit toolchain-funcs autotools
 
 DESCRIPTION="An improved version of cli-crypt (encrypts data sent to it from 
the cli)"
 HOMEPAGE="http://xjack.org/pwcrypt/";
@@ -16,7 +16,11 @@ KEYWORDS="amd64 ppc x86"
 RDEPEND="virtual/libcrypt:="
 DEPEND="${RDEPEND}"
 
-PATCHES=( "${FILESDIR}"/${PN}-gcc-10.patch )
+PATCHES=(
+       "${FILESDIR}"/${PN}-gcc-10.patch
+       "${FILESDIR}"/${PN}-eautoreconf.patch
+)
+
 DOCS=( CREDITS README )
 
 src_prepare() {
@@ -29,4 +33,5 @@ src_prepare() {
                src/Makefile.in || die
 
        tc-export CC
+       eautoreconf
 }

Reply via email to