diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-09-21 11:53:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-09-21 11:53:20 +0000 |
commit | 6dbacce590c3579ae3207cd62f05a707323669cf (patch) | |
tree | 6ea9c55a648d210220a0e608788ed41fd4ed3ed5 /sys-devel/m4 | |
parent | arm/s390/sh stable (diff) | |
download | historical-6dbacce590c3579ae3207cd62f05a707323669cf.tar.gz historical-6dbacce590c3579ae3207cd62f05a707323669cf.tar.bz2 historical-6dbacce590c3579ae3207cd62f05a707323669cf.zip |
old
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26.2 x86_64
Diffstat (limited to 'sys-devel/m4')
-rw-r--r-- | sys-devel/m4/files/m4-1.4.10-gnulib-vasnprintf.patch | 34 | ||||
-rw-r--r-- | sys-devel/m4/files/m4-1.4.10-seek.patch | 15 | ||||
-rw-r--r-- | sys-devel/m4/m4-1.4.10-r1.ebuild | 49 | ||||
-rw-r--r-- | sys-devel/m4/m4-1.4.10-r2.ebuild | 48 | ||||
-rw-r--r-- | sys-devel/m4/m4-1.4.10-r3.ebuild | 47 | ||||
-rw-r--r-- | sys-devel/m4/m4-1.4.10.ebuild | 39 |
6 files changed, 0 insertions, 232 deletions
diff --git a/sys-devel/m4/files/m4-1.4.10-gnulib-vasnprintf.patch b/sys-devel/m4/files/m4-1.4.10-gnulib-vasnprintf.patch deleted file mode 100644 index 7a205c7dcd0a..000000000000 --- a/sys-devel/m4/files/m4-1.4.10-gnulib-vasnprintf.patch +++ /dev/null @@ -1,34 +0,0 @@ -http://bugs.gentoo.org/213833 - -commit 913c09becd9df89dbd9b9f386e7f35c240d5efe8 -Author: Bruno Haible <bruno@clisp.org> -Date: Fri Oct 19 01:50:42 2007 +0200 - - Don't use %n on glibc >= 2.3 systems. - -diff --git a/lib/vasnprintf.c b/lib/vasnprintf.c -index f563823..5d818aa 100644 ---- a/lib/vasnprintf.c -+++ b/lib/vasnprintf.c -@@ -3385,9 +3385,21 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, - #endif - *fbp = dp->conversion; - #if USE_SNPRINTF -+# if !(__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) - fbp[1] = '%'; - fbp[2] = 'n'; - fbp[3] = '\0'; -+# else -+ /* On glibc2 systems from glibc >= 2.3 - probably also older -+ ones - we know that snprintf's returns value conforms to -+ ISO C 99: the gl_SNPRINTF_DIRECTIVE_N test passes. -+ Therefore we can avoid using %n in this situation. -+ On glibc2 systems from 2004-10-18 or newer, the use of %n -+ in format strings in writable memory may crash the program -+ (if compiled with _FORTIFY_SOURCE=2), so we should avoid it -+ in this situation. */ -+ fbp[1] = '\0'; -+# endif - #else - fbp[1] = '\0'; - #endif diff --git a/sys-devel/m4/files/m4-1.4.10-seek.patch b/sys-devel/m4/files/m4-1.4.10-seek.patch deleted file mode 100644 index 9e3d51d0470a..000000000000 --- a/sys-devel/m4/files/m4-1.4.10-seek.patch +++ /dev/null @@ -1,15 +0,0 @@ -Fix for BSD systems pulled from upstream. - -diff -ur a/src/output.c b/src/output.c ---- a/src/output.c 2007-07-05 04:56:06 +0100 -+++ b/src/output.c 2007-10-15 09:56:23 +0100 -@@ -252,6 +252,9 @@ - else if (set_cloexec_flag (fileno (file), true) != 0) - M4ERROR ((warning_status, errno, - "Warning: cannot protect diversion across forks")); -+ else if (fseeko (file, 0, SEEK_SET) != 0) -+ M4ERROR ((EXIT_FAILURE, errno, -+ "cannot seek to beginning of diversion")); - return file; - } - diff --git a/sys-devel/m4/m4-1.4.10-r1.ebuild b/sys-devel/m4/m4-1.4.10-r1.ebuild deleted file mode 100644 index 19c711e7e2f0..000000000000 --- a/sys-devel/m4/m4-1.4.10-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/m4-1.4.10-r1.ebuild,v 1.8 2008/04/02 14:27:34 vapier Exp $ - -inherit eutils - -DESCRIPTION="GNU macro processor" -HOMEPAGE="http://www.gnu.org/software/m4/m4.html" -SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2 - ftp://ftp.seindal.dk/gnu/${P}.tar.bz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" -IUSE="examples nls" - -# remember: cannot dep on autoconf since it needs us -DEPEND="nls? ( sys-devel/gettext )" -RDEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" - - # Fix for BSD systems pulled from upstream. - epatch "${FILESDIR}/${P}"-seek.patch -} - -src_compile() { - local myconf="" - [ "${USERLAND}" != "GNU" ] && myconf="--program-prefix=g" - econf \ - $(use_enable nls) \ - --enable-changeword \ - ${myconf} \ - || die - emake || die -} - -src_install() { - emake install DESTDIR="${D}" || die - dodoc BACKLOG ChangeLog NEWS README* THANKS TODO - if use examples ; then - docinto examples - dodoc examples/* - rm -f "${D}"/usr/share/doc/${PF}/examples/Makefile* - fi - rm -f "${D}"/usr/lib/charset.alias #172864 -} diff --git a/sys-devel/m4/m4-1.4.10-r2.ebuild b/sys-devel/m4/m4-1.4.10-r2.ebuild deleted file mode 100644 index 4efd5ea141dd..000000000000 --- a/sys-devel/m4/m4-1.4.10-r2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/m4-1.4.10-r2.ebuild,v 1.1 2008/03/29 17:44:25 vapier Exp $ - -inherit eutils - -DESCRIPTION="GNU macro processor" -HOMEPAGE="http://www.gnu.org/software/m4/m4.html" -SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2 - ftp://ftp.seindal.dk/gnu/${P}.tar.bz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" -IUSE="examples nls" - -# remember: cannot dep on autoconf since it needs us -DEPEND="nls? ( sys-devel/gettext )" -RDEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-seek.patch - epatch "${FILESDIR}"/${P}-gnulib-vasnprintf.patch #213833 -} - -src_compile() { - local myconf="" - [[ ${USERLAND} != "GNU" ]] && myconf="--program-prefix=g" - econf \ - $(use_enable nls) \ - --enable-changeword \ - ${myconf} \ - || die - emake || die -} - -src_install() { - emake install DESTDIR="${D}" || die - dodoc BACKLOG ChangeLog NEWS README* THANKS TODO - if use examples ; then - docinto examples - dodoc examples/* - rm -f "${D}"/usr/share/doc/${PF}/examples/Makefile* - fi - rm -f "${D}"/usr/lib/charset.alias #172864 -} diff --git a/sys-devel/m4/m4-1.4.10-r3.ebuild b/sys-devel/m4/m4-1.4.10-r3.ebuild deleted file mode 100644 index 0f59ad959317..000000000000 --- a/sys-devel/m4/m4-1.4.10-r3.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/m4-1.4.10-r3.ebuild,v 1.1 2008/04/07 03:22:44 vapier Exp $ - -inherit eutils - -DESCRIPTION="GNU macro processor" -HOMEPAGE="http://www.gnu.org/software/m4/m4.html" -SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2 - ftp://ftp.seindal.dk/gnu/${P}.tar.bz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" -IUSE="examples nls" - -# remember: cannot dep on autoconf since it needs us -DEPEND="nls? ( sys-devel/gettext )" -RDEPEND="" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-gnulib-vasnprintf.patch #213833 -} - -src_compile() { - local myconf="" - [[ ${USERLAND} != "GNU" ]] && myconf="--program-prefix=g" - econf \ - $(use_enable nls) \ - --enable-changeword \ - ${myconf} \ - || die - emake || die -} - -src_install() { - emake install DESTDIR="${D}" || die - dodoc BACKLOG ChangeLog NEWS README* THANKS TODO - if use examples ; then - docinto examples - dodoc examples/* - rm -f "${D}"/usr/share/doc/${PF}/examples/Makefile* - fi - rm -f "${D}"/usr/lib/charset.alias #172864 -} diff --git a/sys-devel/m4/m4-1.4.10.ebuild b/sys-devel/m4/m4-1.4.10.ebuild deleted file mode 100644 index 458772fa4071..000000000000 --- a/sys-devel/m4/m4-1.4.10.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/m4/m4-1.4.10.ebuild,v 1.11 2008/01/10 08:51:15 vapier Exp $ - -DESCRIPTION="GNU macro processor" -HOMEPAGE="http://www.gnu.org/software/m4/m4.html" -SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2 - ftp://ftp.seindal.dk/gnu/${P}.tar.bz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" -IUSE="examples nls" - -# remember: cannot dep on autoconf since it needs us -DEPEND="nls? ( sys-devel/gettext )" -RDEPEND="" - -src_compile() { - local myconf="" - [[ ${USERLAND} != "GNU" ]] && myconf="--program-prefix=g" - econf \ - $(use_enable nls) \ - --enable-changeword \ - ${myconf} \ - || die - emake || die -} - -src_install() { - emake install DESTDIR="${D}" || die - dodoc BACKLOG ChangeLog NEWS README* THANKS TODO - if use examples ; then - docinto examples - dodoc examples/* - rm -f "${D}"/usr/share/doc/${PF}/examples/Makefile* - fi - rm -f "${D}"/usr/lib/charset.alias #172864 -} |