diff options
author | Matt Turner <mattst88@gentoo.org> | 2011-08-30 01:43:33 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2011-08-30 01:43:33 +0000 |
commit | c49002eb44a0d29c65205a07ca4a644150129e7c (patch) | |
tree | c169e67c99c03c029844a4182f73f83b659e5771 /sys-devel | |
parent | Version bump. (diff) | |
download | gentoo-2-c49002eb44a0d29c65205a07ca4a644150129e7c.tar.gz gentoo-2-c49002eb44a0d29c65205a07ca4a644150129e7c.tar.bz2 gentoo-2-c49002eb44a0d29c65205a07ca4a644150129e7c.zip |
Fix test-readlink. Thanks to Michael, bug 376639.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/m4/ChangeLog | 6 | ||||
-rw-r--r-- | sys-devel/m4/files/m4-1.4.16-fix-test-readlink.patch | 11 | ||||
-rw-r--r-- | sys-devel/m4/m4-1.4.16.ebuild | 6 |
3 files changed, 21 insertions, 2 deletions
diff --git a/sys-devel/m4/ChangeLog b/sys-devel/m4/ChangeLog index 7c842e2e9de8..5a81ea7472c7 100644 --- a/sys-devel/m4/ChangeLog +++ b/sys-devel/m4/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-devel/m4 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/ChangeLog,v 1.152 2011/05/31 15:37:21 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/ChangeLog,v 1.153 2011/08/30 01:43:33 mattst88 Exp $ + + 30 Aug 2011; Matt Turner <mattst88@gentoo.org> m4-1.4.16.ebuild, + +files/m4-1.4.16-fix-test-readlink.patch: + Fix test-readlink. Thanks to Michael, bug 376639. 31 May 2011; Jeremy Olexa <darkside@gentoo.org> m4-1.4.16.ebuild: Add Gentoo Prefix modifications since the ebuild was already EAPI3. Keywords, diff --git a/sys-devel/m4/files/m4-1.4.16-fix-test-readlink.patch b/sys-devel/m4/files/m4-1.4.16-fix-test-readlink.patch new file mode 100644 index 000000000000..bb887c4b2305 --- /dev/null +++ b/sys-devel/m4/files/m4-1.4.16-fix-test-readlink.patch @@ -0,0 +1,11 @@ +--- tests/test-readlink.h ++++ tests/test-readlink.h +@@ -38,7 +38,7 @@ + ASSERT (errno == ENOENT); + errno = 0; + ASSERT (func ("", buf, sizeof buf) == -1); +- ASSERT (errno == ENOENT); ++ ASSERT (errno == ENOENT || errno == EINVAL); + errno = 0; + ASSERT (func (".", buf, sizeof buf) == -1); + ASSERT (errno == EINVAL); diff --git a/sys-devel/m4/m4-1.4.16.ebuild b/sys-devel/m4/m4-1.4.16.ebuild index 826df369df55..2f41e9141369 100644 --- a/sys-devel/m4/m4-1.4.16.ebuild +++ b/sys-devel/m4/m4-1.4.16.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/m4-1.4.16.ebuild,v 1.2 2011/05/31 15:37:21 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/m4-1.4.16.ebuild,v 1.3 2011/08/30 01:43:33 mattst88 Exp $ EAPI="3" @@ -19,6 +19,10 @@ IUSE="examples" DEPEND="app-arch/xz-utils" RDEPEND="" +src_prepare() { + epatch "${FILESDIR}"/${P}-fix-test-readlink.patch #376639 +} + src_configure() { # Disable automagic dependency over libsigsegv; see bug #278026 export ac_cv_libsigsegv=no |