Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 225067 Details for
Bug 310335
sys-devel/m4-1.4.14: bundled gnulib incorrectly redefines posix spawn values on FreeBSD.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to the ebuild.
m4_ebuild.patch (text/plain), 2.09 KB, created by
Javier Villavicencio (RETIRED)
on 2010-03-24 04:54:15 UTC
(
hide
)
Description:
Patch to the ebuild.
Filename:
MIME Type:
Creator:
Javier Villavicencio (RETIRED)
Created:
2010-03-24 04:54:15 UTC
Size:
2.09 KB
patch
obsolete
>--- m4/m4-1.4.14.ebuild >+++ m4/m4-1.4.14.ebuild >@@ -2,6 +2,8 @@ > # 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 $ > >+inherit eutils >+ > DESCRIPTION="GNU macro processor" > HOMEPAGE="http://www.gnu.org/software/m4/m4.html" > SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2" >@@ -15,6 +17,12 @@ > 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" >--- m4/files/m4-1.4.14-gnulib_spawn.patch >+++ 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 \ >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 310335
: 225067