Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/numdiff/, dev-util/numdiff/files/
Date: Fri, 28 Jan 2022 07:27:52
Message-Id: 1643354842.0dd2f02fea19204e496e99811fb083ec159d91f3.sam@gentoo
1 commit: 0dd2f02fea19204e496e99811fb083ec159d91f3
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 28 07:27:18 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 28 07:27:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dd2f02f
7
8 dev-util/numdiff: update EAPI 6 -> 7; fix build with autoconf 2.71
9
10 Closes: https://bugs.gentoo.org/806354
11 Thanks-to: eluancm <AT> gmail.com
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 .../numdiff/files/numdiff-5.9.0-fix-autoconf-2.71.patch | 17 +++++++++++++++++
15 dev-util/numdiff/numdiff-5.9.0.ebuild | 5 +++--
16 2 files changed, 20 insertions(+), 2 deletions(-)
17
18 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
19 new file mode 100644
20 index 000000000000..56319b99043e
21 --- /dev/null
22 +++ b/dev-util/numdiff/files/numdiff-5.9.0-fix-autoconf-2.71.patch
23 @@ -0,0 +1,17 @@
24 +https://bugs.gentoo.org/806354
25 +--- a/configure.ac
26 ++++ b/configure.ac
27 +@@ -104,13 +104,6 @@ dnl ------------------------------------
28 + dnl Checks for header files
29 + dnl --------------------------------------
30 + dnl
31 +-AC_HEADER_STDC
32 +-if test $ac_cv_header_stdc = yes; then
33 +- AC_MSG_RESULT(Ok! I have just found them.)
34 +-else
35 +- AC_MSG_ERROR(Cannot find ANSI C header files!)
36 +-fi
37 +-
38 + AC_HEADER_STDBOOL
39 + AC_CHECK_HEADERS(fcntl.h locale.h stddef.h \
40 + stdlib.h string.h sys/file.h time.h unistd.h wchar.h wctype.h)
41
42 diff --git a/dev-util/numdiff/numdiff-5.9.0.ebuild b/dev-util/numdiff/numdiff-5.9.0.ebuild
43 index ed9dec004b3d..9acce15321ab 100644
44 --- a/dev-util/numdiff/numdiff-5.9.0.ebuild
45 +++ b/dev-util/numdiff/numdiff-5.9.0.ebuild
46 @@ -1,7 +1,7 @@
47 -# Copyright 1999-2020 Gentoo Authors
48 +# Copyright 1999-2022 Gentoo Authors
49 # Distributed under the terms of the GNU General Public License v2
50
51 -EAPI=6
52 +EAPI=7
53
54 inherit autotools
55
56 @@ -21,6 +21,7 @@ DEPEND="${RDEPEND}"
57
58 PATCHES=(
59 "${FILESDIR}"/${PN}-5.9.0-fix-build-system.patch
60 + "${FILESDIR}"/${PN}-5.9.0-fix-autoconf-2.71.patch
61 )
62
63 src_prepare() {