commit:     fb3ef54d0a6a8e3e8e24dddc0b151d1aaeedf38c
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 16 12:23:34 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Mar 16 13:19:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb3ef54d

dev-libs/libmcrypt: Fixed build with >=sys-devel/autoconf-2.70

Closes: https://bugs.gentoo.org/775113
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 .../libmcrypt/files/libmcrypt-2.5.8-autoconf-2.70.patch  | 16 ++++++++++++++++
 dev-libs/libmcrypt/libmcrypt-2.5.8-r4.ebuild             |  1 +
 2 files changed, 17 insertions(+)

diff --git a/dev-libs/libmcrypt/files/libmcrypt-2.5.8-autoconf-2.70.patch 
b/dev-libs/libmcrypt/files/libmcrypt-2.5.8-autoconf-2.70.patch
new file mode 100644
index 00000000000..0fa3bc0e7ce
--- /dev/null
+++ b/dev-libs/libmcrypt/files/libmcrypt-2.5.8-autoconf-2.70.patch
@@ -0,0 +1,16 @@
+--- libmcrypt-2.5.8/libltdl/configure.in
++++ libmcrypt-2.5.8/libltdl/configure.in
+@@ -2,13 +2,6 @@
+ 
+ AC_INIT(ltdl.c)
+ 
+-dnl We shouldn't be using these internal macros of autoconf,
+-dnl but CONFIG_AUX_DIR($with_auxdir) breaks automake.
+-AC_ARG_WITH(auxdir,
+-[  --with-auxdir=DIR   path to autoconf auxiliary files],
+-[AC_CONFIG_AUX_DIRS($with_auxdir)],
+-[AC_CONFIG_AUX_DIR_DEFAULT])
+-
+ if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
+   if test -f ${srcdir}/ltmain.sh; then
+     # if libltdl is libtoolized, it is assumed to be stand-alone and

diff --git a/dev-libs/libmcrypt/libmcrypt-2.5.8-r4.ebuild 
b/dev-libs/libmcrypt/libmcrypt-2.5.8-r4.ebuild
index 8aa8182e938..d8332e4f750 100644
--- a/dev-libs/libmcrypt/libmcrypt-2.5.8-r4.ebuild
+++ b/dev-libs/libmcrypt/libmcrypt-2.5.8-r4.ebuild
@@ -21,6 +21,7 @@ DOCS=(
 
 PATCHES=(
        "${FILESDIR}/${P}-rotate-mask.patch"
+       "${FILESDIR}/${P}-autoconf-2.70.patch" #775113
 )
 
 src_prepare() {

Reply via email to