Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/autogen/files/, sys-devel/autogen/
Date: Tue, 20 Nov 2018 21:25:59
Message-Id: 1542749127.9b91d2d1cd183610dcfee1abea744485ac0d34f6.slyfox@gentoo
1 commit: 9b91d2d1cd183610dcfee1abea744485ac0d34f6
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 20 21:24:59 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 20 21:25:27 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b91d2d1
7
8 sys-devel/autogen: bump up to 5.18.16, bug #671564
9
10 Reported-by: Lars Wendler (Polynomial-C)
11 Closes: https://bugs.gentoo.org/671564
12 Package-Manager: Portage-2.3.52, Repoman-2.3.12
13 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
14
15 sys-devel/autogen/Manifest | 1 +
16 sys-devel/autogen/autogen-5.18.16.ebuild | 39 ++++++++++++++++++++++
17 .../autogen/files/autogen-5.18.16-no-werror.patch | 14 ++++++++
18 3 files changed, 54 insertions(+)
19
20 diff --git a/sys-devel/autogen/Manifest b/sys-devel/autogen/Manifest
21 index c07217346bd..0a8ed2be0e2 100644
22 --- a/sys-devel/autogen/Manifest
23 +++ b/sys-devel/autogen/Manifest
24 @@ -1,3 +1,4 @@
25 DIST autogen-5.18.10.tar.xz 1017960 BLAKE2B 3869abb5b0b97f480d4b50b205f25d54da2b9c5227c13a55e11754b5ceff4afd74576efc17a748d40762b7345e3c02c60fa38f6d20893671089e9de48b0e0240 SHA512 cfb06566aebe2aa833f2a032c513aa1d57a803eee82f03d6f6fe3806a0f570d5dbf8331015d2afde89a3d4e4c967b6a367d3e2820addb3ff6a5ac6d481a058be
26 DIST autogen-5.18.12.tar.xz 1018412 BLAKE2B f8ac1efbd6c6afdaa248e3063cf43fe0d32da6bd1160397f8bf736970f15047c70772a6e21d6010c8103aecce6ea2c3d90a63b9c5cbd6199a97c82384630a341 SHA512 46de5910e2786a9b0ec96989d3e11be3ed12e5600f01d6fa9291bfbfae42a66994aeca2949837b471827ae3285ec4caafb42bc19ca91146cd7ea7a355aaffd03
27 +DIST autogen-5.18.16.tar.xz 1046276 BLAKE2B 23f9e0948f24ada715fb2bcbbfecba768cf51d169ea3ff4724a97b18f598d2d7fb2ffa7e23919ec8dcc0e352f9d3280f3740dab279a0af1412919cf10c6cb0bf SHA512 5f12c982dbe27873f5649a96049bf019ff183c90cc0c8a9196556b0ca02e72940cd422f6d6601f68cc7d8763b1124f2765c3b1a6335fc92ba07f84b03d2a53a1
28 DIST autogen-5.18.4.tar.xz 1017936 BLAKE2B bc2b4d7143642baa923c49bfe37d60c0d3a0a3a09a9af504c5dc865f1054e4d510ca3144737c2098a75189a7335bc560ec26318689ebf6d1291969d5a081cfa2 SHA512 a02363484de5019bd90fb6f2cf52b1b9556d6cf310c62a68830d0b2408ea4870d3c262fe5d1c27e3586ed3af4a7487d7422ad117760ac2a01ef3cfcfc1f2bfb6
29
30 diff --git a/sys-devel/autogen/autogen-5.18.16.ebuild b/sys-devel/autogen/autogen-5.18.16.ebuild
31 new file mode 100644
32 index 00000000000..fc70a815c93
33 --- /dev/null
34 +++ b/sys-devel/autogen/autogen-5.18.16.ebuild
35 @@ -0,0 +1,39 @@
36 +# Copyright 1999-2018 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=7
40 +
41 +inherit toolchain-funcs
42 +
43 +DESCRIPTION="Program and text file generation"
44 +HOMEPAGE="https://www.gnu.org/software/autogen/"
45 +SRC_URI="mirror://gnu/${PN}/rel${PV}/${P}.tar.xz"
46 +
47 +LICENSE="GPL-2"
48 +SLOT="0"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
50 +IUSE="libopts static-libs"
51 +
52 +RDEPEND=">=dev-scheme/guile-2.0:=
53 + dev-libs/libxml2"
54 +DEPEND="${RDEPEND}"
55 +
56 +PATCHES=(
57 + "${FILESDIR}"/${PN}-5.18.16-no-werror.patch
58 +)
59 +
60 +src_configure() {
61 + # suppress possibly incorrect -R flag
62 + export ag_cv_test_ldflags=
63 +
64 + econf $(use_enable static-libs static)
65 +}
66 +
67 +src_install() {
68 + default
69 + find "${D}" -name '*.la' -delete || die
70 +
71 + if ! use libopts ; then
72 + rm "${ED}"/usr/share/autogen/libopts-*.tar.gz || die
73 + fi
74 +}
75
76 diff --git a/sys-devel/autogen/files/autogen-5.18.16-no-werror.patch b/sys-devel/autogen/files/autogen-5.18.16-no-werror.patch
77 new file mode 100644
78 index 00000000000..7f9f36428e1
79 --- /dev/null
80 +++ b/sys-devel/autogen/files/autogen-5.18.16-no-werror.patch
81 @@ -0,0 +1,14 @@
82 +--- a/configure
83 ++++ b/configure
84 +@@ -18926,3 +18926,3 @@ test "X${GCC}" = Xyes && {
85 + CFLAGS="$CFLAGS -Wno-format-contains-nul -fno-strict-aliasing"
86 +- WARN_CFLAGS="$CFLAGS "`echo -Wall -Werror -Wcast-align -Wmissing-prototypes \
87 ++ WARN_CFLAGS="$CFLAGS "`echo -Wall -Wcast-align -Wmissing-prototypes \
88 + -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \
89 +--- a/configure.ac
90 ++++ b/configure.ac
91 +@@ -200,3 +200,3 @@ test "X${GCC}" = Xyes && {
92 + CFLAGS="$CFLAGS -Wno-format-contains-nul -fno-strict-aliasing"
93 +- WARN_CFLAGS="$CFLAGS "`echo -Wall -Werror -Wcast-align -Wmissing-prototypes \
94 ++ WARN_CFLAGS="$CFLAGS "`echo -Wall -Wcast-align -Wmissing-prototypes \
95 + -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \