commit:     0dd2f02fea19204e496e99811fb083ec159d91f3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 28 07:27:18 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 28 07:27:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dd2f02f

dev-util/numdiff: update EAPI 6 -> 7; fix build with autoconf 2.71

Closes: https://bugs.gentoo.org/806354
Thanks-to: eluancm <AT> gmail.com
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../numdiff/files/numdiff-5.9.0-fix-autoconf-2.71.patch | 17 +++++++++++++++++
 dev-util/numdiff/numdiff-5.9.0.ebuild                   |  5 +++--
 2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/dev-util/numdiff/files/numdiff-5.9.0-fix-autoconf-2.71.patch 
b/dev-util/numdiff/files/numdiff-5.9.0-fix-autoconf-2.71.patch
new file mode 100644
index 000000000000..56319b99043e
--- /dev/null
+++ b/dev-util/numdiff/files/numdiff-5.9.0-fix-autoconf-2.71.patch
@@ -0,0 +1,17 @@
+https://bugs.gentoo.org/806354
+--- a/configure.ac
++++ b/configure.ac
+@@ -104,13 +104,6 @@ dnl ------------------------------------
+ dnl Checks for header files
+ dnl --------------------------------------
+ dnl
+-AC_HEADER_STDC
+-if test $ac_cv_header_stdc = yes; then
+- AC_MSG_RESULT(Ok! I have just found them.)
+-else
+-  AC_MSG_ERROR(Cannot find ANSI C header files!)
+-fi
+-
+ AC_HEADER_STDBOOL
+ AC_CHECK_HEADERS(fcntl.h locale.h stddef.h \
+   stdlib.h string.h sys/file.h time.h unistd.h wchar.h wctype.h)

diff --git a/dev-util/numdiff/numdiff-5.9.0.ebuild 
b/dev-util/numdiff/numdiff-5.9.0.ebuild
index ed9dec004b3d..9acce15321ab 100644
--- a/dev-util/numdiff/numdiff-5.9.0.ebuild
+++ b/dev-util/numdiff/numdiff-5.9.0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit autotools
 
@@ -21,6 +21,7 @@ DEPEND="${RDEPEND}"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-5.9.0-fix-build-system.patch
+       "${FILESDIR}"/${PN}-5.9.0-fix-autoconf-2.71.patch
 )
 
 src_prepare() {

Reply via email to