summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-01-28 07:27:18 +0000
committerSam James <sam@gentoo.org>2022-01-28 07:27:22 +0000
commit0dd2f02fea19204e496e99811fb083ec159d91f3 (patch)
tree3454542dd6c42599a049cd7a8118d88dd71c49ce /dev-util/numdiff
parentapp-text/nuspell: allow app-text/ronn-ng instead of app-text/ronn (diff)
downloadgentoo-0dd2f02fea19204e496e99811fb083ec159d91f3.tar.gz
gentoo-0dd2f02fea19204e496e99811fb083ec159d91f3.tar.bz2
gentoo-0dd2f02fea19204e496e99811fb083ec159d91f3.zip
dev-util/numdiff: update EAPI 6 -> 7; fix build with autoconf 2.71
Closes: https://bugs.gentoo.org/806354 Thanks-to: eluancm@gmail.com Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/numdiff')
-rw-r--r--dev-util/numdiff/files/numdiff-5.9.0-fix-autoconf-2.71.patch17
-rw-r--r--dev-util/numdiff/numdiff-5.9.0.ebuild5
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() {