diff options
author | 2010-03-28 10:33:48 +0000 | |
---|---|---|
committer | 2010-03-28 10:33:48 +0000 | |
commit | 1268c9af5ba6f331e139e866094bc33320eca88d (patch) | |
tree | 27e62fb8f144febf6e09d5e6d28d1d970ebc92c2 /sys-devel/m4 | |
parent | Version BUmp, keyworded for ~*-linux, as-needed aware linking, removed unnede... (diff) | |
download | gentoo-2-1268c9af5ba6f331e139e866094bc33320eca88d.tar.gz gentoo-2-1268c9af5ba6f331e139e866094bc33320eca88d.tar.bz2 gentoo-2-1268c9af5ba6f331e139e866094bc33320eca88d.zip |
Add patch to fix gnulib's spawn, fixes bug 310335. Keyword again.
(Portage version: 2.2_rc67/cvs/FreeBSD i386)
Diffstat (limited to 'sys-devel/m4')
-rw-r--r-- | sys-devel/m4/ChangeLog | 34 | ||||
-rw-r--r-- | sys-devel/m4/files/m4-1.4.14-gnulib_spawn.patch | 36 | ||||
-rw-r--r-- | sys-devel/m4/m4-1.4.14.ebuild | 12 |
3 files changed, 65 insertions, 17 deletions
diff --git a/sys-devel/m4/ChangeLog b/sys-devel/m4/ChangeLog index 30651e46598b..533e5969cd99 100644 --- a/sys-devel/m4/ChangeLog +++ b/sys-devel/m4/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-devel/m4 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/ChangeLog,v 1.128 2010/03/20 09:33:26 the_paya Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/ChangeLog,v 1.129 2010/03/28 10:33:47 the_paya Exp $ + + 28 Mar 2010; Javier Villavicencio <the_paya@gentoo.org> m4-1.4.14.ebuild, + +files/m4-1.4.14-gnulib_spawn.patch: + Add patch to fix gnulib's spawn, fixes bug 310335. Keyword again. 20 Mar 2010; Javier Villavicencio <the_paya@gentoo.org> m4-1.4.14.ebuild: Drop *-fbsd keywords see bug 310335 @@ -15,13 +19,13 @@ 01 Apr 2009; Mike Frysinger <vapier@gentoo.org> +m4-1.4.13.ebuild: Version bump. - 17 Mar 2009; Raúl Porcel <armin76@gentoo.org> m4-1.4.12.ebuild: + 17 Mar 2009; Raúl Porcel <armin76@gentoo.org> m4-1.4.12.ebuild: m68k stable wrt #258525, thanks to kolla for testing 24 Feb 2009; Thomas Anderson <gentoofan23@gentoo.org> m4-1.4.12.ebuild: stable amd64, bug 258525 - 14 Feb 2009; Raúl Porcel <armin76@gentoo.org> m4-1.4.12.ebuild: + 14 Feb 2009; Raúl Porcel <armin76@gentoo.org> m4-1.4.12.ebuild: arm/ia64/s390/sh/x86 stable wrt #258525 12 Feb 2009; Brent Baude <ranger@gentoo.org> m4-1.4.12.ebuild: @@ -59,7 +63,7 @@ 11 Apr 2008; Santiago M. Mola <coldwind@gentoo.org> m4-1.4.11.ebuild: amd64 stable wrt security bug #217229 - 11 Apr 2008; Raúl Porcel <armin76@gentoo.org> m4-1.4.11.ebuild: + 11 Apr 2008; Raúl Porcel <armin76@gentoo.org> m4-1.4.11.ebuild: alpha/ia64/sparc/x86 stable wrt security #217229 *m4-1.4.10-r3 (07 Apr 2008) @@ -76,10 +80,10 @@ 30 Mar 2008; Santiago M. Mola <coldwind@gentoo.org> m4-1.4.10-r1.ebuild: amd64 stable wrt bug #215348 - 30 Mar 2008; Raúl Porcel <armin76@gentoo.org> m4-1.4.10-r1.ebuild: + 30 Mar 2008; Raúl Porcel <armin76@gentoo.org> m4-1.4.10-r1.ebuild: alpha/ia64/sparc stable wrt #215348 - 30 Mar 2008; Dawid Węgliński <cla@gentoo.org> m4-1.4.10-r1.ebuild: + 30 Mar 2008; Dawid WÄgliÅski <cla@gentoo.org> m4-1.4.10-r1.ebuild: Stable on x86 (bug #215348) 29 Mar 2008; Brent Baude <ranger@gentoo.org> m4-1.4.10-r1.ebuild: @@ -113,10 +117,10 @@ 11 Oct 2007; Tom Gall <tgall@gentoo.org> m4-1.4.10.ebuild: stable on ppc64, bug #195257 - 10 Oct 2007; Raúl Porcel <armin76@gentoo.org> m4-1.4.10.ebuild: + 10 Oct 2007; Raúl Porcel <armin76@gentoo.org> m4-1.4.10.ebuild: alpha/ia64 stable wrt #195257 - 09 Oct 2007; Dawid Węgliński <cla@gentoo.org> m4-1.4.10.ebuild: + 09 Oct 2007; Dawid WÄgliÅski <cla@gentoo.org> m4-1.4.10.ebuild: Stable on x86 for bug 195257 09 Oct 2007; Jeroen Roovers <jer@gentoo.org> m4-1.4.10.ebuild: @@ -125,7 +129,7 @@ 09 Oct 2007; Jeroen Roovers <jer@gentoo.org> m4-1.4.10.ebuild: Stable for HPPA (bug #195257). - 14 Jul 2007; Raúl Porcel <armin76@gentoo.org> m4-1.4.10.ebuild: + 14 Jul 2007; Raúl Porcel <armin76@gentoo.org> m4-1.4.10.ebuild: Back to ~arch *m4-1.4.10 (14 Jul 2007) @@ -148,7 +152,7 @@ 26 Jun 2007; Lars Weiler <pylon@gentoo.org> m4-1.4.9.ebuild: Stable on ppc; bug #183253. - 26 Jun 2007; Raúl Porcel <armin76@gentoo.org> m4-1.4.9.ebuild: + 26 Jun 2007; Raúl Porcel <armin76@gentoo.org> m4-1.4.9.ebuild: alpha stable wrt #183253 26 Jun 2007; Christoph Mende <angelos@gentoo.org> m4-1.4.9.ebuild: @@ -160,7 +164,7 @@ 11 May 2007; Joshua Kinard <kumba@gentoo.org> m4-1.4.9.ebuild: Stable on mips. - 24 Apr 2007; Raúl Porcel <armin76@gentoo.org> m4-1.4.9.ebuild: + 24 Apr 2007; Raúl Porcel <armin76@gentoo.org> m4-1.4.9.ebuild: ia64 + x86 stable 17 Apr 2007; Mike Frysinger <vapier@gentoo.org> m4-1.4.9.ebuild: @@ -193,13 +197,13 @@ 24 Mar 2007; Mike Frysinger <vapier@gentoo.org> m4-1.4.9.ebuild: Version bump. - 20 Feb 2007; Alexander H. Færøy <eroyf@gentoo.org> m4-1.4.7.ebuild: + 20 Feb 2007; Alexander H. Færøy <eroyf@gentoo.org> m4-1.4.7.ebuild: Stable on MIPS; bug #156293 20 Dec 2006; Steve Dibb <beandog@gentoo.org> m4-1.4.7.ebuild: amd64 stable, bug 156293 - 06 Dec 2006; Bryan Østergaard <kloeri@gentoo.org> m4-1.4.7.ebuild: + 06 Dec 2006; Bryan Ãstergaard <kloeri@gentoo.org> m4-1.4.7.ebuild: Stable on Alpha. 01 Dec 2006; Markus Rothe <corsair@gentoo.org> m4-1.4.7.ebuild: @@ -226,7 +230,7 @@ m4-1.4.6.ebuild, m4-1.4.7.ebuild: Dropped ppc-macos, see you in prefix. - 01 Nov 2006; Bryan Østergaard <kloeri@gentoo.org> m4-1.4.6.ebuild: + 01 Nov 2006; Bryan Ãstergaard <kloeri@gentoo.org> m4-1.4.6.ebuild: Stable on Alpha, bug 149046. 25 Oct 2006; Daniel Gryniewicz <dang@gentoo.org> m4-1.4.6.ebuild: @@ -263,7 +267,7 @@ 29 Apr 2006; Joshua Kinard <kumba@gentoo.org> m4-1.4.4.ebuild: Marked stable on mips. - 30 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> m4-1.4.4.ebuild: + 30 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> m4-1.4.4.ebuild: Add ~x86-fbsd keyword. 19 Mar 2006; Fernando J. Pereda <ferdy@gentoo.org> m4-1.4.4.ebuild: diff --git a/sys-devel/m4/files/m4-1.4.14-gnulib_spawn.patch b/sys-devel/m4/files/m4-1.4.14-gnulib_spawn.patch new file mode 100644 index 000000000000..ec233328584e --- /dev/null +++ b/sys-devel/m4/files/m4-1.4.14-gnulib_spawn.patch @@ -0,0 +1,36 @@ +Don't override the system defined values on FreeBSD 8. +See Gentoo bug #310335. +Patch from upstream gnulib: +http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=88baa1ed437db0f062e49b87cff59002ec8f7ab2 + +--- m4-1.4.14/lib/spawn.in.h.orig ++++ m4-1.4.14/lib/spawn.in.h +@@ -110,17 +110,19 @@ + + + /* Flags to be set in the `posix_spawnattr_t'. */ +-#if @REPLACE_POSIX_SPAWN@ ++#if !@HAVE_POSIX_SPAWN@ ++# if @REPLACE_POSIX_SPAWN@ + /* Use the values from the system, for better compatibility. */ + /* But this implementation does not support AIX extensions. */ +-# undef POSIX_SPAWN_FORK_HANDLERS +-#else +-# define POSIX_SPAWN_RESETIDS 0x01 +-# define POSIX_SPAWN_SETPGROUP 0x02 +-# define POSIX_SPAWN_SETSIGDEF 0x04 +-# define POSIX_SPAWN_SETSIGMASK 0x08 +-# define POSIX_SPAWN_SETSCHEDPARAM 0x10 +-# define POSIX_SPAWN_SETSCHEDULER 0x20 ++# undef POSIX_SPAWN_FORK_HANDLERS ++# else ++# define POSIX_SPAWN_RESETIDS 0x01 ++# define POSIX_SPAWN_SETPGROUP 0x02 ++# define POSIX_SPAWN_SETSIGDEF 0x04 ++# define POSIX_SPAWN_SETSIGMASK 0x08 ++# define POSIX_SPAWN_SETSCHEDPARAM 0x10 ++# define POSIX_SPAWN_SETSCHEDULER 0x20 ++# endif + #endif + /* A GNU extension. Use the next free bit position. */ + #define POSIX_SPAWN_USEVFORK \ diff --git a/sys-devel/m4/m4-1.4.14.ebuild b/sys-devel/m4/m4-1.4.14.ebuild index b129b4e44ca8..32e84292e4fc 100644 --- a/sys-devel/m4/m4-1.4.14.ebuild +++ b/sys-devel/m4/m4-1.4.14.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/m4-1.4.14.ebuild,v 1.2 2010/03/20 09:33:26 the_paya Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/m4-1.4.14.ebuild,v 1.3 2010/03/28 10:33:47 the_paya Exp $ + +inherit eutils DESCRIPTION="GNU macro processor" HOMEPAGE="http://www.gnu.org/software/m4/m4.html" @@ -8,13 +10,19 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" IUSE="examples" # remember: cannot dep on autoconf since it needs us DEPEND="|| ( app-arch/xz-utils app-arch/lzma-utils )" RDEPEND="" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-1.4.14-gnulib_spawn.patch # 310335 +} + src_compile() { local myconf="" [[ ${USERLAND} != "GNU" ]] && myconf="--program-prefix=g" |