diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2014-01-07 09:26:55 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2014-01-07 09:26:55 +0000 |
commit | e99557d20d7b295e93e39705b0aede981aff6025 (patch) | |
tree | 0eb8eef7cc1b3069799a0b837f54056642eb233c /sys-devel/bison | |
parent | Removed old versions and files (diff) | |
download | gentoo-2-e99557d20d7b295e93e39705b0aede981aff6025.tar.gz gentoo-2-e99557d20d7b295e93e39705b0aede981aff6025.tar.bz2 gentoo-2-e99557d20d7b295e93e39705b0aede981aff6025.zip |
Removed old versions and files
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'sys-devel/bison')
-rw-r--r-- | sys-devel/bison/ChangeLog | 11 | ||||
-rw-r--r-- | sys-devel/bison/bison-2.4.2.ebuild | 51 | ||||
-rw-r--r-- | sys-devel/bison/bison-2.5.1.ebuild | 60 | ||||
-rw-r--r-- | sys-devel/bison/bison-2.6.5.ebuild | 59 | ||||
-rw-r--r-- | sys-devel/bison/bison-2.7.ebuild | 59 | ||||
-rw-r--r-- | sys-devel/bison/bison-3.0.1.ebuild | 59 | ||||
-rw-r--r-- | sys-devel/bison/bison-3.0.ebuild | 59 | ||||
-rw-r--r-- | sys-devel/bison/files/bison-2.4.2-gcc45_testsuite.patch | 81 | ||||
-rw-r--r-- | sys-devel/bison/files/bison-2.4.2-gnulib_spawn.patch | 61 |
9 files changed, 9 insertions, 491 deletions
diff --git a/sys-devel/bison/ChangeLog b/sys-devel/bison/ChangeLog index ccc047cb6345..d746920b0e34 100644 --- a/sys-devel/bison/ChangeLog +++ b/sys-devel/bison/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-devel/bison -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/ChangeLog,v 1.127 2013/12/16 03:34:01 radhermit Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/ChangeLog,v 1.128 2014/01/07 09:26:55 polynomial-c Exp $ + + 07 Jan 2014; Lars Wendler <polynomial-c@gentoo.org> -bison-2.4.2.ebuild, + -bison-2.5.1.ebuild, -bison-2.6.5.ebuild, -bison-2.7.ebuild, + -bison-3.0.ebuild, -bison-3.0.1.ebuild, + -files/bison-2.4.2-gcc45_testsuite.patch, + -files/bison-2.4.2-gnulib_spawn.patch: + Removed old versions and files. *bison-3.0.2 (16 Dec 2013) diff --git a/sys-devel/bison/bison-2.4.2.ebuild b/sys-devel/bison/bison-2.4.2.ebuild deleted file mode 100644 index 6d70bc3c5d43..000000000000 --- a/sys-devel/bison/bison-2.4.2.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/bison-2.4.2.ebuild,v 1.12 2012/05/24 02:40:38 vapier Exp $ - -inherit toolchain-funcs flag-o-matic eutils - -DESCRIPTION="A yacc-compatible parser generator" -HOMEPAGE="http://www.gnu.org/software/bison/bison.html" -SRC_URI="mirror://gnu/bison/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" -IUSE="nls static" - -RDEPEND="sys-devel/m4" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext )" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-2.4.2-gnulib_spawn.patch # 312697 - epatch "${FILESDIR}"/${PN}-2.4.2-gcc45_testsuite.patch - epatch "${FILESDIR}"/${PN}-2.4.3-uclibc-sched_param-def.patch -} - -src_compile() { - use static && append-ldflags -static - econf $(use_enable nls) - emake || die -} - -src_install() { - emake DESTDIR="${D}" install || die - - # This one is installed by dev-util/yacc - mv "${D}"/usr/bin/yacc{,.bison} || die - mv "${D}"/usr/share/man/man1/yacc{,.bison}.1 || die - - # We do not need this. - rm -r "${D}"/usr/lib* || die - - dodoc AUTHORS NEWS ChangeLog README OChangeLog THANKS TODO -} - -pkg_postinst() { - if [[ ! -e ${ROOT}/usr/bin/yacc ]] ; then - ln -s yacc.bison "${ROOT}"/usr/bin/yacc - fi -} diff --git a/sys-devel/bison/bison-2.5.1.ebuild b/sys-devel/bison/bison-2.5.1.ebuild deleted file mode 100644 index c4235c1589a5..000000000000 --- a/sys-devel/bison/bison-2.5.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/bison-2.5.1.ebuild,v 1.4 2012/08/24 15:57:21 vapier Exp $ - -EAPI=4 - -inherit flag-o-matic - -DESCRIPTION="A general-purpose (yacc-compatible) parser generator" -HOMEPAGE="http://www.gnu.org/software/bison/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="nls static" - -RDEPEND=">=sys-devel/m4-1.4.16" -DEPEND="${RDEPEND} - sys-devel/flex - nls? ( sys-devel/gettext )" - -DOCS="AUTHORS ChangeLog-2012 NEWS README THANKS TODO" # ChangeLog-1998 PACKAGING README-alpha README-release - -src_configure() { - use static && append-ldflags -static - - econf \ - --disable-silent-rules \ - $(use_enable nls) -} - -src_install() { - default - - # This one is installed by dev-util/yacc - mv "${ED}"/usr/bin/yacc{,.bison} || die - mv "${ED}"/usr/share/man/man1/yacc{,.bison}.1 || die - - # We do not need liby.a - rm -r "${ED}"/usr/lib* || die - - # Move to documentation directory and leave compressing for EAPI>=4 - mv "${ED}"/usr/share/${PN}/README "${ED}"/usr/share/doc/${PF}/README.data -} - -pkg_postinst() { - local f="${EROOT}/usr/bin/yacc" - if [[ ! -e ${f} ]] ; then - ln -s yacc.bison "${f}" - fi -} - -pkg_postrm() { - # clean up the dead symlink when we get unmerged #377469 - local f="${EROOT}/usr/bin/yacc" - if [[ -L ${f} && ! -e ${f} ]] ; then - rm -f "${f}" - fi -} diff --git a/sys-devel/bison/bison-2.6.5.ebuild b/sys-devel/bison/bison-2.6.5.ebuild deleted file mode 100644 index f23fb6f1a727..000000000000 --- a/sys-devel/bison/bison-2.6.5.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/bison-2.6.5.ebuild,v 1.2 2012/12/13 20:32:46 radhermit Exp $ - -EAPI=4 - -inherit flag-o-matic - -DESCRIPTION="A general-purpose (yacc-compatible) parser generator" -HOMEPAGE="http://www.gnu.org/software/bison/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="nls static" - -RDEPEND=">=sys-devel/m4-1.4.16" -DEPEND="${RDEPEND} - sys-devel/flex - nls? ( sys-devel/gettext )" - -DOCS="AUTHORS ChangeLog-2012 NEWS README THANKS TODO" # ChangeLog-1998 PACKAGING README-alpha README-release - -src_configure() { - use static && append-ldflags -static - - econf \ - $(use_enable nls) -} - -src_install() { - default - - # This one is installed by dev-util/yacc - mv "${ED}"/usr/bin/yacc{,.bison} || die - mv "${ED}"/usr/share/man/man1/yacc{,.bison}.1 || die - - # We do not need liby.a - rm -r "${ED}"/usr/lib* || die - - # Move to documentation directory and leave compressing for EAPI>=4 - mv "${ED}"/usr/share/${PN}/README "${ED}"/usr/share/doc/${PF}/README.data -} - -pkg_postinst() { - local f="${EROOT}/usr/bin/yacc" - if [[ ! -e ${f} ]] ; then - ln -s yacc.bison "${f}" - fi -} - -pkg_postrm() { - # clean up the dead symlink when we get unmerged #377469 - local f="${EROOT}/usr/bin/yacc" - if [[ -L ${f} && ! -e ${f} ]] ; then - rm -f "${f}" - fi -} diff --git a/sys-devel/bison/bison-2.7.ebuild b/sys-devel/bison/bison-2.7.ebuild deleted file mode 100644 index 93d042e33678..000000000000 --- a/sys-devel/bison/bison-2.7.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/bison-2.7.ebuild,v 1.2 2013/02/19 04:49:00 zmedico Exp $ - -EAPI=4 - -inherit flag-o-matic - -DESCRIPTION="A general-purpose (yacc-compatible) parser generator" -HOMEPAGE="http://www.gnu.org/software/bison/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="nls static" - -RDEPEND=">=sys-devel/m4-1.4.16" -DEPEND="${RDEPEND} - sys-devel/flex - nls? ( sys-devel/gettext )" - -DOCS="AUTHORS ChangeLog-2012 NEWS README THANKS TODO" # ChangeLog-1998 PACKAGING README-alpha README-release - -src_configure() { - use static && append-ldflags -static - - econf \ - $(use_enable nls) -} - -src_install() { - default - - # This one is installed by dev-util/yacc - mv "${ED}"/usr/bin/yacc{,.bison} || die - mv "${ED}"/usr/share/man/man1/yacc{,.bison}.1 || die - - # We do not need liby.a - rm -r "${ED}"/usr/lib* || die - - # Move to documentation directory and leave compressing for EAPI>=4 - mv "${ED}"/usr/share/${PN}/README "${ED}"/usr/share/doc/${PF}/README.data -} - -pkg_postinst() { - local f="${EROOT}/usr/bin/yacc" - if [[ ! -e ${f} ]] ; then - ln -s yacc.bison "${f}" - fi -} - -pkg_postrm() { - # clean up the dead symlink when we get unmerged #377469 - local f="${EROOT}/usr/bin/yacc" - if [[ -L ${f} && ! -e ${f} ]] ; then - rm -f "${f}" - fi -} diff --git a/sys-devel/bison/bison-3.0.1.ebuild b/sys-devel/bison/bison-3.0.1.ebuild deleted file mode 100644 index 8b39eb83df21..000000000000 --- a/sys-devel/bison/bison-3.0.1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/bison-3.0.1.ebuild,v 1.1 2013/11/13 08:14:45 radhermit Exp $ - -EAPI=5 - -inherit flag-o-matic - -DESCRIPTION="A general-purpose (yacc-compatible) parser generator" -HOMEPAGE="http://www.gnu.org/software/bison/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="nls static" - -RDEPEND=">=sys-devel/m4-1.4.16" -DEPEND="${RDEPEND} - sys-devel/flex - nls? ( sys-devel/gettext )" - -DOCS=( AUTHORS ChangeLog-2012 NEWS README THANKS TODO ) # ChangeLog-1998 PACKAGING README-alpha README-release - -src_configure() { - use static && append-ldflags -static - - econf \ - $(use_enable nls) -} - -src_install() { - default - - # This one is installed by dev-util/yacc - mv "${ED}"/usr/bin/yacc{,.bison} || die - mv "${ED}"/usr/share/man/man1/yacc{,.bison}.1 || die - - # We do not need liby.a - rm -r "${ED}"/usr/lib* || die - - # Move to documentation directory and leave compressing for EAPI>=4 - mv "${ED}"/usr/share/${PN}/README "${ED}"/usr/share/doc/${PF}/README.data -} - -pkg_postinst() { - local f="${EROOT}/usr/bin/yacc" - if [[ ! -e ${f} ]] ; then - ln -s yacc.bison "${f}" - fi -} - -pkg_postrm() { - # clean up the dead symlink when we get unmerged #377469 - local f="${EROOT}/usr/bin/yacc" - if [[ -L ${f} && ! -e ${f} ]] ; then - rm -f "${f}" - fi -} diff --git a/sys-devel/bison/bison-3.0.ebuild b/sys-devel/bison/bison-3.0.ebuild deleted file mode 100644 index 4cd9fa52ebfb..000000000000 --- a/sys-devel/bison/bison-3.0.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/bison-3.0.ebuild,v 1.1 2013/07/26 23:49:19 radhermit Exp $ - -EAPI=5 - -inherit flag-o-matic - -DESCRIPTION="A general-purpose (yacc-compatible) parser generator" -HOMEPAGE="http://www.gnu.org/software/bison/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="nls static" - -RDEPEND=">=sys-devel/m4-1.4.16" -DEPEND="${RDEPEND} - sys-devel/flex - nls? ( sys-devel/gettext )" - -DOCS=( AUTHORS ChangeLog-2012 NEWS README THANKS TODO ) # ChangeLog-1998 PACKAGING README-alpha README-release - -src_configure() { - use static && append-ldflags -static - - econf \ - $(use_enable nls) -} - -src_install() { - default - - # This one is installed by dev-util/yacc - mv "${ED}"/usr/bin/yacc{,.bison} || die - mv "${ED}"/usr/share/man/man1/yacc{,.bison}.1 || die - - # We do not need liby.a - rm -r "${ED}"/usr/lib* || die - - # Move to documentation directory and leave compressing for EAPI>=4 - mv "${ED}"/usr/share/${PN}/README "${ED}"/usr/share/doc/${PF}/README.data -} - -pkg_postinst() { - local f="${EROOT}/usr/bin/yacc" - if [[ ! -e ${f} ]] ; then - ln -s yacc.bison "${f}" - fi -} - -pkg_postrm() { - # clean up the dead symlink when we get unmerged #377469 - local f="${EROOT}/usr/bin/yacc" - if [[ -L ${f} && ! -e ${f} ]] ; then - rm -f "${f}" - fi -} diff --git a/sys-devel/bison/files/bison-2.4.2-gcc45_testsuite.patch b/sys-devel/bison/files/bison-2.4.2-gcc45_testsuite.patch deleted file mode 100644 index 1d877fe362bf..000000000000 --- a/sys-devel/bison/files/bison-2.4.2-gcc45_testsuite.patch +++ /dev/null @@ -1,81 +0,0 @@ -http://git.savannah.gnu.org/cgit/bison.git/commit/?id=4ad3921d3be296de6a2b3c5fe0e18136d53ba06d - ---- a/tests/synclines.at -+++ b/tests/synclines.at -@@ -71,7 +71,9 @@ AT_CHECK([[test "`cat stdout`" = 'syncline.c:1: @%:@error "1"' || exit 77]]) - AT_DATA([[input.y]], [$2]) - AT_BISON_CHECK([-o input.c input.y]) - AT_SYNCLINES_COMPILE([input.c]) --AT_CHECK([cat stdout], 0, [$3]) -+# GCC 4.5 tells you the function within which #error appears, but -+# previous versions of gcc do not. -+AT_CHECK([grep -v ': In function ' stdout], 0, [$3]) - AT_CLEANUP - ]) - - -patch the testsuite to avoid autotools at emerge time -http://bugs.gentoo.org/331577 - ---- a/tests/testsuite -+++ b/tests/testsuite -@@ -15299,9 +15299,9 @@ - - - { set +x --$as_echo "$at_srcdir/synclines.at:84: cat stdout" -+$as_echo "$at_srcdir/synclines.at:84: grep -v ': In function ' stdout" - at_fn_check_prepare_trace "synclines.at:84" --( $at_check_trace; cat stdout -+( $at_check_trace; grep -v ': In function ' stdout - ) >>"$at_stdout" 2>>"$at_stderr" - at_status=$? at_failed=false - $at_check_filter -@@ -15535,9 +15535,9 @@ - - - { set +x --$as_echo "$at_srcdir/synclines.at:101: cat stdout" -+$as_echo "$at_srcdir/synclines.at:101: grep -v ': In function ' stdout" - at_fn_check_prepare_trace "synclines.at:101" --( $at_check_trace; cat stdout -+( $at_check_trace; grep -v ': In function ' stdout - ) >>"$at_stdout" 2>>"$at_stderr" - at_status=$? at_failed=false - $at_check_filter -@@ -15774,9 +15774,9 @@ - - - { set +x --$as_echo "$at_srcdir/synclines.at:121: cat stdout" -+$as_echo "$at_srcdir/synclines.at:121: grep -v ': In function ' stdout" - at_fn_check_prepare_trace "synclines.at:121" --( $at_check_trace; cat stdout -+( $at_check_trace; grep -v ': In function ' stdout - ) >>"$at_stdout" 2>>"$at_stderr" - at_status=$? at_failed=false - $at_check_filter -@@ -16009,9 +16009,9 @@ - - - { set +x --$as_echo "$at_srcdir/synclines.at:144: cat stdout" -+$as_echo "$at_srcdir/synclines.at:144: grep -v ': In function ' stdout" - at_fn_check_prepare_trace "synclines.at:144" --( $at_check_trace; cat stdout -+( $at_check_trace; grep -v ': In function ' stdout - ) >>"$at_stdout" 2>>"$at_stderr" - at_status=$? at_failed=false - $at_check_filter -@@ -16243,9 +16243,9 @@ - - - { set +x --$as_echo "$at_srcdir/synclines.at:163: cat stdout" -+$as_echo "$at_srcdir/synclines.at:163: grep -v ': In function ' stdout" - at_fn_check_prepare_trace "synclines.at:163" --( $at_check_trace; cat stdout -+( $at_check_trace; grep -v ': In function ' stdout - ) >>"$at_stdout" 2>>"$at_stderr" - at_status=$? at_failed=false - $at_check_filter diff --git a/sys-devel/bison/files/bison-2.4.2-gnulib_spawn.patch b/sys-devel/bison/files/bison-2.4.2-gnulib_spawn.patch deleted file mode 100644 index b72409f2bc3e..000000000000 --- a/sys-devel/bison/files/bison-2.4.2-gnulib_spawn.patch +++ /dev/null @@ -1,61 +0,0 @@ -Don't override the system defined values on FreeBSD >=8. -See Gentoo bugs #310335 and #312697. -(Shortened) patch from upstream gnulib. - ---- bison-2.4.2/lib/spawn.in.h -+++ bison/lib/spawn.in.h -@@ -110,26 +112,38 @@ - - - /* Flags to be set in the `posix_spawnattr_t'. */ --#if @REPLACE_POSIX_SPAWN@ -+#if @HAVE_POSIX_SPAWN@ -+/* Use the values from the system, but provide the missing ones. */ -+# ifndef POSIX_SPAWN_SETSCHEDPARAM -+# define POSIX_SPAWN_SETSCHEDPARAM 0 -+# endif -+# ifndef POSIX_SPAWN_SETSCHEDULER -+# define POSIX_SPAWN_SETSCHEDULER 0 -+# endif -+#else -+# 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 \ -- ((POSIX_SPAWN_RESETIDS | (POSIX_SPAWN_RESETIDS - 1) \ -- | POSIX_SPAWN_SETPGROUP | (POSIX_SPAWN_SETPGROUP - 1) \ -- | POSIX_SPAWN_SETSIGDEF | (POSIX_SPAWN_SETSIGDEF - 1) \ -- | POSIX_SPAWN_SETSIGMASK | (POSIX_SPAWN_SETSIGMASK - 1) \ -- | POSIX_SPAWN_SETSCHEDPARAM | (POSIX_SPAWN_SETSCHEDPARAM - 1) \ -- | POSIX_SPAWN_SETSCHEDULER | (POSIX_SPAWN_SETSCHEDULER - 1)) \ -+ ((POSIX_SPAWN_RESETIDS | (POSIX_SPAWN_RESETIDS - 1) \ -+ | POSIX_SPAWN_SETPGROUP | (POSIX_SPAWN_SETPGROUP - 1) \ -+ | POSIX_SPAWN_SETSIGDEF | (POSIX_SPAWN_SETSIGDEF - 1) \ -+ | POSIX_SPAWN_SETSIGMASK | (POSIX_SPAWN_SETSIGMASK - 1) \ -+ | POSIX_SPAWN_SETSCHEDPARAM \ -+ | (POSIX_SPAWN_SETSCHEDPARAM > 0 ? POSIX_SPAWN_SETSCHEDPARAM - 1 : 0) \ -+ | POSIX_SPAWN_SETSCHEDULER \ -+ | (POSIX_SPAWN_SETSCHEDULER > 0 ? POSIX_SPAWN_SETSCHEDULER - 1 : 0)) \ - + 1) - typedef int verify_POSIX_SPAWN_USEVFORK_no_overlap - [2 * (((POSIX_SPAWN_RESETIDS | POSIX_SPAWN_SETPGROUP - |