public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-devel/autogen/files/, sys-devel/autogen/
@ 2016-03-08 12:08 Anthony G. Basile
  0 siblings, 0 replies; 6+ messages in thread
From: Anthony G. Basile @ 2016-03-08 12:08 UTC (permalink / raw
  To: gentoo-commits

commit:     226935c6561b84c67351868a1be99d6c1988e453
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  8 12:18:45 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Mar  8 12:19:12 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=226935c6

sys-devel/autogen: fix tests with dash, bug #576674

Package-Manager: portage-2.2.26

 sys-devel/autogen/autogen-5.18.4.ebuild            |  3 ++-
 .../autogen-5.18.4_fix_format.test_for_dash.patch  | 25 ++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/sys-devel/autogen/autogen-5.18.4.ebuild b/sys-devel/autogen/autogen-5.18.4.ebuild
index 04beaec..8c41b06 100644
--- a/sys-devel/autogen/autogen-5.18.4.ebuild
+++ b/sys-devel/autogen/autogen-5.18.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -21,6 +21,7 @@ DEPEND="${RDEPEND}"
 
 src_prepare() {
 	epatch "${FILESDIR}"/${PN}-5.18.4-tmp-log.patch #563352
+	epatch "${FILESDIR}"/${PN}-5.18.4_fix_format.test_for_dash.patch #576674
 }
 
 src_configure() {

diff --git a/sys-devel/autogen/files/autogen-5.18.4_fix_format.test_for_dash.patch b/sys-devel/autogen/files/autogen-5.18.4_fix_format.test_for_dash.patch
new file mode 100644
index 0000000..644df64
--- /dev/null
+++ b/sys-devel/autogen/files/autogen-5.18.4_fix_format.test_for_dash.patch
@@ -0,0 +1,25 @@
+agen5/test/format.test: export AUTOGEN_DNE_DATE explicitly. DASH does
+not export when the assignment is on the same line as a shell function
+invocation.
+
+This is a backport of part of upstreams' commit 89f12c15.
+
+See: https://bugs.gentoo.org/show_bug.cgi?id=576674
+
+--- a/agen5/test/format.test
++++ b/agen5/test/format.test
+@@ -79,12 +79,12 @@
+ </script>
+ _EOF_
+ 
+-AUTOGEN_DNE_DATE=false \
++export AUTOGEN_DNE_DATE=false
+     run_ag x ${testname}.def || failure autogen failed
+ cmp -s ${testname}.base ${testname}.test || \
+    failure "`diff ${testname}.base ${testname}.test`"
+ 
+-AUTOGEN_DNE_DATE=true \
++AUTOGEN_DNE_DATE=true
+     run_ag x ${testname}.def || failure autogen failed
+ dte=`sed -n 's/.*It has been AutoGen-ed *//p' ${testname}.test`
+ test "X${dte}" = "X" && \


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/autogen/files/, sys-devel/autogen/
@ 2016-05-25 19:31 Mike Frysinger
  0 siblings, 0 replies; 6+ messages in thread
From: Mike Frysinger @ 2016-05-25 19:31 UTC (permalink / raw
  To: gentoo-commits

commit:     26c7aadde52d057ced49ea648575874828e945a5
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed May 25 18:23:44 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed May 25 19:30:36 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26c7aadd

sys-devel/autogen: drop old <5.18.4 versions

 sys-devel/autogen/Manifest                         |  5 ---
 sys-devel/autogen/autogen-5.15.ebuild              | 26 ---------------
 sys-devel/autogen/autogen-5.17.3.ebuild            | 38 ----------------------
 sys-devel/autogen/autogen-5.17.4.ebuild            | 36 --------------------
 sys-devel/autogen/autogen-5.18.1.ebuild            | 36 --------------------
 sys-devel/autogen/autogen-5.18.2.ebuild            | 36 --------------------
 .../autogen/files/autogen-5.17.3-libintl.patch     | 12 -------
 7 files changed, 189 deletions(-)

diff --git a/sys-devel/autogen/Manifest b/sys-devel/autogen/Manifest
index 8632824..3404caa 100644
--- a/sys-devel/autogen/Manifest
+++ b/sys-devel/autogen/Manifest
@@ -1,6 +1 @@
-DIST autogen-5.15.tar.xz 915252 SHA256 cc2a9e24b8b5e4eb74a88519189fd0978bf88fe22af6fe311781e6891098b726 SHA512 cc4cf076324f367c7ada395b21c2d87208cab96dc19bc734a3c462a661090d466aae40a2266e9a472e8f5924b8c32d579af8988bfee53a773aa77c52c846cb1c WHIRLPOOL e008c0012a7475e366425ff0a049b4b25d6fa1701141385497f8c15491b26654844fce36d8774d6378e6386c1fe9cb921400089a4679f88ab3e63429e2cf2eb2
-DIST autogen-5.17.3.tar.xz 999240 SHA256 7bbea9c522ea4c7c80153c8b998eb603295bdce0a622cac36c9c84c87cf3497c SHA512 5a4eec4dbf34b7e398648c65c4c90ae96a5b3ed45a455249cdc60035bf0ce76ac0539160135686fd612d48fbd1951315f8a0acc62cf7f6ec7506cb433d799a13 WHIRLPOOL b8ddf7dbcfd1e8b751e4ada2706ba00fa0fce29f20c4180a3d8d2665c118c2c85ae0bc20486a2394eb7b280777db8fbef397fc9e5a5c198e00eda73624ead1ee
-DIST autogen-5.17.4.tar.xz 1003356 SHA256 35cd4b5f0b48ce61278865412ed7e3c5b9b8cb082ae969ca1e6888e8bf8128a4 SHA512 9a7b31f6b17d8d27a617aae7575baf5ce690e7b70d5f6960ac2944d068315e56ed2717e905b30329b058cc8ce5297128ebcabf417dc7564a2d8e9786662f9c6c WHIRLPOOL 9f5e4582cf22f8e3ef0195c6cd86893d0f431a33a58ee0d47ce742cae3a746f0f136d67b78fd709ce7ca8a572156ed0b6a6fa125b933687cdf36d87bccb1f02e
-DIST autogen-5.18.1.tar.xz 1010332 SHA256 c9c2e8d1b32b868d06e6faf4831230c1ca725efa16636092ead232903da75307 SHA512 1f64f587fca795bd6f526a00b64d521802de7b36a70a88977d7d2301d3cebdd7cbca93a4075fb8d2130692c27d64c23ee290e2b8a869a31e81faa4aeab0a468a WHIRLPOOL 36ed84d5cc1ad7c29d345c277faadf682001aab8f13490892a90f2efd4db6f6de48fd18f9c7edd04e3203536dc5571e0d4df9e8824ef5f4248c667e09542a867
-DIST autogen-5.18.2.tar.xz 1012344 SHA256 1fad5687a5f0fb110fe78d13dccde11346b5e072b44cf8d4e6871fdf42e02c6b SHA512 8b9b2bd5118e29983e8ba87f5dd00bcb4f00a9defd1011c77d1071f4447a3ce4e7d3dcd88c9a3c88039fff622cdbd83fd269bd70d19e328a7ab93acae053160b WHIRLPOOL f97596869feb7ada62c326e10cc09a4528466e27878f9ce8bee552075cb043ffa0029f6267e0611b7d58154ebac0f006fe80b6db4d1b7f24d073b5fa4ca11c80
 DIST autogen-5.18.4.tar.xz 1017936 SHA256 7fbaff0c25035aee5b96913de2c83d9a5cc973b8dc08d6b7489ecbcfd72eb84b SHA512 a02363484de5019bd90fb6f2cf52b1b9556d6cf310c62a68830d0b2408ea4870d3c262fe5d1c27e3586ed3af4a7487d7422ad117760ac2a01ef3cfcfc1f2bfb6 WHIRLPOOL 109cb5637558f8e16cbb9afcb629a9bbd3d5ceae6b897a00101fce99b1a39b06ecc497d9b43441e40b58981dd2402027e89ce6ae76da73b73db934c64bca2b63

diff --git a/sys-devel/autogen/autogen-5.15.ebuild b/sys-devel/autogen/autogen-5.15.ebuild
deleted file mode 100644
index 2a7606f..0000000
--- a/sys-devel/autogen/autogen-5.15.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-inherit eutils
-
-DESCRIPTION="Program and text file generation"
-HOMEPAGE="https://www.gnu.org/software/autogen/"
-SRC_URI="mirror://gnu/${PN}/rel${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE=""
-
-RDEPEND=">=dev-scheme/guile-1.8
-	dev-libs/libxml2"
-DEPEND="${RDEPEND}"
-
-src_install() {
-	default
-	dodoc NOTES TODO
-	rm "${ED}"/usr/share/autogen/libopts-*.tar.gz || die
-}

diff --git a/sys-devel/autogen/autogen-5.17.3.ebuild b/sys-devel/autogen/autogen-5.17.3.ebuild
deleted file mode 100644
index ce04c95..0000000
--- a/sys-devel/autogen/autogen-5.17.3.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-inherit eutils autotools
-
-DESCRIPTION="Program and text file generation"
-HOMEPAGE="https://www.gnu.org/software/autogen/"
-SRC_URI="mirror://gnu/${PN}/rel${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE="libopts"
-
-RDEPEND=">=dev-scheme/guile-1.8
-	dev-libs/libxml2"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-libintl.patch #466462
-	eautoreconf
-}
-
-src_configure() {
-	# suppress possibly incorrect -R flag
-	export ag_cv_test_ldflags=
-	default
-}
-
-src_install() {
-	default
-	if ! use libopts ; then
-		rm "${ED}"/usr/share/autogen/libopts-*.tar.gz || die
-	fi
-}

diff --git a/sys-devel/autogen/autogen-5.17.4.ebuild b/sys-devel/autogen/autogen-5.17.4.ebuild
deleted file mode 100644
index f201880..0000000
--- a/sys-devel/autogen/autogen-5.17.4.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-inherit eutils
-
-DESCRIPTION="Program and text file generation"
-HOMEPAGE="https://www.gnu.org/software/autogen/"
-SRC_URI="mirror://gnu/${PN}/rel${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE="libopts static-libs"
-
-RDEPEND=">=dev-scheme/guile-1.8
-	dev-libs/libxml2"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-	# suppress possibly incorrect -R flag
-	export ag_cv_test_ldflags=
-
-	econf $(use_enable static-libs static)
-}
-
-src_install() {
-	default
-	prune_libtool_files
-
-	if ! use libopts ; then
-		rm "${ED}"/usr/share/autogen/libopts-*.tar.gz || die
-	fi
-}

diff --git a/sys-devel/autogen/autogen-5.18.1.ebuild b/sys-devel/autogen/autogen-5.18.1.ebuild
deleted file mode 100644
index 3be1b0c..0000000
--- a/sys-devel/autogen/autogen-5.18.1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-inherit eutils
-
-DESCRIPTION="Program and text file generation"
-HOMEPAGE="https://www.gnu.org/software/autogen/"
-SRC_URI="mirror://gnu/${PN}/rel${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE="libopts static-libs"
-
-RDEPEND=">=dev-scheme/guile-1.8
-	dev-libs/libxml2"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-	# suppress possibly incorrect -R flag
-	export ag_cv_test_ldflags=
-
-	econf $(use_enable static-libs static)
-}
-
-src_install() {
-	default
-	prune_libtool_files
-
-	if ! use libopts ; then
-		rm "${ED}"/usr/share/autogen/libopts-*.tar.gz || die
-	fi
-}

diff --git a/sys-devel/autogen/autogen-5.18.2.ebuild b/sys-devel/autogen/autogen-5.18.2.ebuild
deleted file mode 100644
index 241fd9e..0000000
--- a/sys-devel/autogen/autogen-5.18.2.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-inherit eutils
-
-DESCRIPTION="Program and text file generation"
-HOMEPAGE="https://www.gnu.org/software/autogen/"
-SRC_URI="mirror://gnu/${PN}/rel${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE="libopts static-libs"
-
-RDEPEND=">=dev-scheme/guile-1.8
-	dev-libs/libxml2"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-	# suppress possibly incorrect -R flag
-	export ag_cv_test_ldflags=
-
-	econf $(use_enable static-libs static)
-}
-
-src_install() {
-	default
-	prune_libtool_files
-
-	if ! use libopts ; then
-		rm "${ED}"/usr/share/autogen/libopts-*.tar.gz || die
-	fi
-}

diff --git a/sys-devel/autogen/files/autogen-5.17.3-libintl.patch b/sys-devel/autogen/files/autogen-5.17.3-libintl.patch
deleted file mode 100644
index e251a0f..0000000
--- a/sys-devel/autogen/files/autogen-5.17.3-libintl.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-https://bugs.gentoo.org/466462
-
---- a/config/libopts.m4
-+++ b/config/libopts.m4
-@@ -106,6 +106,7 @@ AC_DEFUN([INVOKE_LIBOPTS_MACROS_FIRST],[
-   # AC_CHECK_LIB for SVR4 libgen, and use it if it defines pathfind.
-   # ----------------------------------------------------------------------
-   AC_CHECK_LIB(gen, pathfind)
-+  AC_SEARCH_LIBS([gettext], [intl]) 
-   AC_FUNC_VPRINTF
-   AC_FUNC_FORK
-   AC_CHECK_FUNCS([mmap canonicalize_file_name snprintf strdup strchr \


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/autogen/files/, sys-devel/autogen/
@ 2018-11-20 21:25 Sergei Trofimovich
  0 siblings, 0 replies; 6+ messages in thread
From: Sergei Trofimovich @ 2018-11-20 21:25 UTC (permalink / raw
  To: gentoo-commits

commit:     9b91d2d1cd183610dcfee1abea744485ac0d34f6
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 20 21:24:59 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Nov 20 21:25:27 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b91d2d1

sys-devel/autogen: bump up to 5.18.16, bug #671564

Reported-by: Lars Wendler (Polynomial-C)
Closes: https://bugs.gentoo.org/671564
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/autogen/Manifest                         |  1 +
 sys-devel/autogen/autogen-5.18.16.ebuild           | 39 ++++++++++++++++++++++
 .../autogen/files/autogen-5.18.16-no-werror.patch  | 14 ++++++++
 3 files changed, 54 insertions(+)

diff --git a/sys-devel/autogen/Manifest b/sys-devel/autogen/Manifest
index c07217346bd..0a8ed2be0e2 100644
--- a/sys-devel/autogen/Manifest
+++ b/sys-devel/autogen/Manifest
@@ -1,3 +1,4 @@
 DIST autogen-5.18.10.tar.xz 1017960 BLAKE2B 3869abb5b0b97f480d4b50b205f25d54da2b9c5227c13a55e11754b5ceff4afd74576efc17a748d40762b7345e3c02c60fa38f6d20893671089e9de48b0e0240 SHA512 cfb06566aebe2aa833f2a032c513aa1d57a803eee82f03d6f6fe3806a0f570d5dbf8331015d2afde89a3d4e4c967b6a367d3e2820addb3ff6a5ac6d481a058be
 DIST autogen-5.18.12.tar.xz 1018412 BLAKE2B f8ac1efbd6c6afdaa248e3063cf43fe0d32da6bd1160397f8bf736970f15047c70772a6e21d6010c8103aecce6ea2c3d90a63b9c5cbd6199a97c82384630a341 SHA512 46de5910e2786a9b0ec96989d3e11be3ed12e5600f01d6fa9291bfbfae42a66994aeca2949837b471827ae3285ec4caafb42bc19ca91146cd7ea7a355aaffd03
+DIST autogen-5.18.16.tar.xz 1046276 BLAKE2B 23f9e0948f24ada715fb2bcbbfecba768cf51d169ea3ff4724a97b18f598d2d7fb2ffa7e23919ec8dcc0e352f9d3280f3740dab279a0af1412919cf10c6cb0bf SHA512 5f12c982dbe27873f5649a96049bf019ff183c90cc0c8a9196556b0ca02e72940cd422f6d6601f68cc7d8763b1124f2765c3b1a6335fc92ba07f84b03d2a53a1
 DIST autogen-5.18.4.tar.xz 1017936 BLAKE2B bc2b4d7143642baa923c49bfe37d60c0d3a0a3a09a9af504c5dc865f1054e4d510ca3144737c2098a75189a7335bc560ec26318689ebf6d1291969d5a081cfa2 SHA512 a02363484de5019bd90fb6f2cf52b1b9556d6cf310c62a68830d0b2408ea4870d3c262fe5d1c27e3586ed3af4a7487d7422ad117760ac2a01ef3cfcfc1f2bfb6

diff --git a/sys-devel/autogen/autogen-5.18.16.ebuild b/sys-devel/autogen/autogen-5.18.16.ebuild
new file mode 100644
index 00000000000..fc70a815c93
--- /dev/null
+++ b/sys-devel/autogen/autogen-5.18.16.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Program and text file generation"
+HOMEPAGE="https://www.gnu.org/software/autogen/"
+SRC_URI="mirror://gnu/${PN}/rel${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+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"
+IUSE="libopts static-libs"
+
+RDEPEND=">=dev-scheme/guile-2.0:=
+	dev-libs/libxml2"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-5.18.16-no-werror.patch
+)
+
+src_configure() {
+	# suppress possibly incorrect -R flag
+	export ag_cv_test_ldflags=
+
+	econf $(use_enable static-libs static)
+}
+
+src_install() {
+	default
+	find "${D}" -name '*.la' -delete || die
+
+	if ! use libopts ; then
+		rm "${ED}"/usr/share/autogen/libopts-*.tar.gz || die
+	fi
+}

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
new file mode 100644
index 00000000000..7f9f36428e1
--- /dev/null
+++ b/sys-devel/autogen/files/autogen-5.18.16-no-werror.patch
@@ -0,0 +1,14 @@
+--- a/configure
++++ b/configure
+@@ -18926,3 +18926,3 @@ test "X${GCC}" = Xyes && {
+   CFLAGS="$CFLAGS -Wno-format-contains-nul -fno-strict-aliasing"
+-  WARN_CFLAGS="$CFLAGS "`echo -Wall -Werror -Wcast-align -Wmissing-prototypes \
++  WARN_CFLAGS="$CFLAGS "`echo -Wall -Wcast-align -Wmissing-prototypes \
+ 	-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \
+--- a/configure.ac
++++ b/configure.ac
+@@ -200,3 +200,3 @@ test "X${GCC}" = Xyes && {
+   CFLAGS="$CFLAGS -Wno-format-contains-nul -fno-strict-aliasing"
+-  WARN_CFLAGS="$CFLAGS "`echo -Wall -Werror -Wcast-align -Wmissing-prototypes \
++  WARN_CFLAGS="$CFLAGS "`echo -Wall -Wcast-align -Wmissing-prototypes \
+ 	-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/autogen/files/, sys-devel/autogen/
@ 2018-11-21 22:34 Sergei Trofimovich
  0 siblings, 0 replies; 6+ messages in thread
From: Sergei Trofimovich @ 2018-11-21 22:34 UTC (permalink / raw
  To: gentoo-commits

commit:     7baf80d18d840c764a49035f4a9b7b2ae8723b50
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 21 20:22:02 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Nov 21 22:34:06 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7baf80d1

sys-devel/autogen: avoid running autoreconf

It's not a fix of bug #671616 but a step in
direction when result does not depend on presence of autoconf.

Not I get install failure described in the bug consistently.

Bug: https://bugs.gentoo.org/671616
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/autogen/autogen-5.18.16.ebuild                | 12 ++++++++++++
 sys-devel/autogen/files/autogen-5.18.16-no-werror.patch | 12 ++++++------
 2 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/sys-devel/autogen/autogen-5.18.16.ebuild b/sys-devel/autogen/autogen-5.18.16.ebuild
index fc70a815c93..c3f3fedf69a 100644
--- a/sys-devel/autogen/autogen-5.18.16.ebuild
+++ b/sys-devel/autogen/autogen-5.18.16.ebuild
@@ -22,6 +22,18 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-5.18.16-no-werror.patch
 )
 
+src_prepare() {
+	# no-werror.patch fixes both configure{.ac,}
+	# avoid configure echeck
+	touch -r configure.ac orig.configure.ac || die
+	touch -r configure    orig.configure || die
+
+	default
+
+	touch -r orig.configure.ac configure.ac || die
+	touch -r orig.configure    configure || die
+}
+
 src_configure() {
 	# suppress possibly incorrect -R flag
 	export ag_cv_test_ldflags=

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
index 7f9f36428e1..ee8245ca8ac 100644
--- a/sys-devel/autogen/files/autogen-5.18.16-no-werror.patch
+++ b/sys-devel/autogen/files/autogen-5.18.16-no-werror.patch
@@ -1,13 +1,13 @@
---- a/configure
-+++ b/configure
-@@ -18926,3 +18926,3 @@ test "X${GCC}" = Xyes && {
+--- a/configure.ac
++++ b/configure.ac
+@@ -200,3 +200,3 @@ test "X${GCC}" = Xyes && {
    CFLAGS="$CFLAGS -Wno-format-contains-nul -fno-strict-aliasing"
 -  WARN_CFLAGS="$CFLAGS "`echo -Wall -Werror -Wcast-align -Wmissing-prototypes \
 +  WARN_CFLAGS="$CFLAGS "`echo -Wall -Wcast-align -Wmissing-prototypes \
  	-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings \
---- a/configure.ac
-+++ b/configure.ac
-@@ -200,3 +200,3 @@ test "X${GCC}" = Xyes && {
+--- a/configure
++++ b/configure
+@@ -18926,3 +18926,3 @@ test "X${GCC}" = Xyes && {
    CFLAGS="$CFLAGS -Wno-format-contains-nul -fno-strict-aliasing"
 -  WARN_CFLAGS="$CFLAGS "`echo -Wall -Werror -Wcast-align -Wmissing-prototypes \
 +  WARN_CFLAGS="$CFLAGS "`echo -Wall -Wcast-align -Wmissing-prototypes \


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/autogen/files/, sys-devel/autogen/
@ 2020-03-03 23:05 Sergei Trofimovich
  0 siblings, 0 replies; 6+ messages in thread
From: Sergei Trofimovich @ 2020-03-03 23:05 UTC (permalink / raw
  To: gentoo-commits

commit:     898ab7a9bb1a53378f375f0a22caed36e6099046
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  3 23:04:47 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Mar  3 23:05:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=898ab7a9

sys-devel/autogen: disable test with process leak

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/autogen/autogen-5.18.16-r1.ebuild           |  1 +
 .../autogen/files/autogen-5.18.16-make-4.3.patch      | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/sys-devel/autogen/autogen-5.18.16-r1.ebuild b/sys-devel/autogen/autogen-5.18.16-r1.ebuild
index 93712b018df..57e03872d85 100644
--- a/sys-devel/autogen/autogen-5.18.16-r1.ebuild
+++ b/sys-devel/autogen/autogen-5.18.16-r1.ebuild
@@ -23,6 +23,7 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-5.18.16-no-werror.patch
 	"${FILESDIR}"/${PN}-5.18.16-rpath.patch
 	"${FILESDIR}"/${PN}-5.18.16-respect-TMPDIR.patch
+	"${FILESDIR}"/${PN}-5.18.16-make-4.3.patch
 )
 
 src_prepare() {

diff --git a/sys-devel/autogen/files/autogen-5.18.16-make-4.3.patch b/sys-devel/autogen/files/autogen-5.18.16-make-4.3.patch
new file mode 100644
index 00000000000..a91fc8cc792
--- /dev/null
+++ b/sys-devel/autogen/files/autogen-5.18.16-make-4.3.patch
@@ -0,0 +1,19 @@
+Without this change 'make check -j9' on make-4.3 hangs indefinitely.
+Older make versions just leak process. Ideally 'run_ag' (or 'defs'?)
+should be fixed to stop process leak.
+--- a/agen5/test/directives.test
++++ b/agen5/test/directives.test
+@@ -120,9 +120,10 @@ echo '#assert `echo true`' >> ${testname}.inc
+ run_ag x2 ${agopts} ${testname}.def
+ test $? -eq 0 || failure ${agopts}-2 failed
+ 
+-echo '#assert `echo false`' >> ${testname}.inc
+-run_ag x3 ${agopts} ${testname}.def
+-test $? -ne 0 || failure ${agopts}-3 failed
++#leaks process and makes make-4.3 hang on leaked process
++#echo '#assert `echo false`' >> ${testname}.inc
++#run_ag x3 ${agopts} ${testname}.def
++#test $? -ne 0 || failure ${agopts}-3 failed
+ 
+ ${FGREP} -v '#assert' ${testname}.inc > ${testname}2.inc
+ mv -f ${testname}2.inc ${testname}.inc


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/autogen/files/, sys-devel/autogen/
@ 2021-06-19  8:45 Sergei Trofimovich
  0 siblings, 0 replies; 6+ messages in thread
From: Sergei Trofimovich @ 2021-06-19  8:45 UTC (permalink / raw
  To: gentoo-commits

commit:     43bcc61c56a5a7de0eaf806efec7d8c0e4c01ae7
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 19 08:45:00 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun 19 08:45:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43bcc61c

sys-devel/autogen: add minimal guile-3 support

Reported-by: Cedric Sodhi
Closes: https://bugs.gentoo.org/746917
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/autogen/autogen-5.18.16-r1.ebuild        |  1 +
 .../autogen/files/autogen-5.18.16-guile-3.patch    | 38 ++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/sys-devel/autogen/autogen-5.18.16-r1.ebuild b/sys-devel/autogen/autogen-5.18.16-r1.ebuild
index 580f8317fbc..748c7fec6d4 100644
--- a/sys-devel/autogen/autogen-5.18.16-r1.ebuild
+++ b/sys-devel/autogen/autogen-5.18.16-r1.ebuild
@@ -24,6 +24,7 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-5.18.16-rpath.patch
 	"${FILESDIR}"/${PN}-5.18.16-respect-TMPDIR.patch
 	"${FILESDIR}"/${PN}-5.18.16-make-4.3.patch
+	"${FILESDIR}"/${PN}-5.18.16-guile-3.patch
 )
 
 src_prepare() {

diff --git a/sys-devel/autogen/files/autogen-5.18.16-guile-3.patch b/sys-devel/autogen/files/autogen-5.18.16-guile-3.patch
new file mode 100644
index 00000000000..2d21c4fae3e
--- /dev/null
+++ b/sys-devel/autogen/files/autogen-5.18.16-guile-3.patch
@@ -0,0 +1,38 @@
+--- a/config/guile.m4
++++ b/config/guile.m4
+@@ -61,7 +61,7 @@
+ #
+ AC_DEFUN([GUILE_PKG],
+  [PKG_PROG_PKG_CONFIG
+-  _guile_versions_to_search="m4_default([$1], [2.2 2.0 1.8])"
++  _guile_versions_to_search="m4_default([$1], [3.0 2.2 2.0 1.8])"
+   if test -n "$GUILE_EFFECTIVE_VERSION"; then
+     _guile_tmp=""
+     for v in $_guile_versions_to_search; do
+--- a/configure
++++ b/configure
+@@ -14799,7 +14799,7 @@ $as_echo "no" >&6; }
+ 		PKG_CONFIG=""
+ 	fi
+ fi
+-  _guile_versions_to_search="2.2 2.0 1.8"
++  _guile_versions_to_search="3.0 2.2 2.0 1.8"
+   if test -n "$GUILE_EFFECTIVE_VERSION"; then
+     _guile_tmp=""
+     for v in $_guile_versions_to_search; do
+--- a/agen5/guile-iface.h
++++ b/agen5/guile-iface.h
+@@ -16,6 +16,13 @@
+ # define AG_SCM_TO_LONG(_v)           scm_to_long(_v)
+ # define AG_SCM_TO_ULONG(_v)          ((unsigned long)scm_to_ulong(_v))
+ 
++#elif GUILE_VERSION < 400000
++# define AG_SCM_IS_PROC(_p)           scm_is_true( scm_procedure_p(_p))
++# define AG_SCM_LIST_P(_l)            scm_is_true( scm_list_p(_l))
++# define AG_SCM_PAIR_P(_p)            scm_is_true( scm_pair_p(_p))
++# define AG_SCM_TO_LONG(_v)           scm_to_long(_v)
++# define AG_SCM_TO_ULONG(_v)          ((unsigned long)scm_to_ulong(_v))
++
+ #else
+ # error unknown GUILE_VERSION
+   choke me.


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-06-19  8:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-25 19:31 [gentoo-commits] repo/gentoo:master commit in: sys-devel/autogen/files/, sys-devel/autogen/ Mike Frysinger
  -- strict thread matches above, loose matches on Subject: below --
2021-06-19  8:45 Sergei Trofimovich
2020-03-03 23:05 Sergei Trofimovich
2018-11-21 22:34 Sergei Trofimovich
2018-11-20 21:25 Sergei Trofimovich
2016-03-08 12:08 Anthony G. Basile

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox