diff options
author | Ned Ludd <solar@gentoo.org> | 2005-06-01 12:42:10 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2005-06-01 12:42:10 +0000 |
commit | 49c4171f73cc7b6685c860ce8b416447fd3ba828 (patch) | |
tree | da067bf2828c243a6470360e262b2646b492c941 | |
parent | modified to die on failed patches and on make errors (diff) | |
download | gentoo-2-49c4171f73cc7b6685c860ce8b416447fd3ba828.tar.gz gentoo-2-49c4171f73cc7b6685c860ce8b416447fd3ba828.tar.bz2 gentoo-2-49c4171f73cc7b6685c860ce8b416447fd3ba828.zip |
- Remove old ebuilds.
- Added a metadata.xml (assigned to toolchain@) for now.
- Ready for GLSA.
18 files changed, 18 insertions, 615 deletions
diff --git a/dev-libs/elfutils/ChangeLog b/dev-libs/elfutils/ChangeLog index c2028e41241a..757b338f204b 100644 --- a/dev-libs/elfutils/ChangeLog +++ b/dev-libs/elfutils/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for dev-libs/elfutils # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.63 2005/05/30 02:33:52 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.64 2005/06/01 12:42:10 solar Exp $ + + 01 Jun 2005; <solar@gentoo.org> +metadata.xml, + -files/elfutils-0.101-portability.patch, + -files/elfutils-0.94-alpha-mips-atime.diff, + -files/elfutils-sections-heap-overflow.diff, -elfutils-0.101-r1.ebuild, + -elfutils-0.101.ebuild, -elfutils-0.94-r1.ebuild, -elfutils-0.94-r2.ebuild, + -elfutils-0.97-r1.ebuild, -elfutils-0.97.ebuild: + - Remove old ebuilds. + - Added a metadata.xml (assigned to toolchain@) for now. + - Ready for GLSA. 29 May 2005; <solar@gentoo.org> elfutils-0.101-r1.ebuild, elfutils-0.101.ebuild, elfutils-0.108.ebuild, elfutils-0.94-r1.ebuild, diff --git a/dev-libs/elfutils/Manifest b/dev-libs/elfutils/Manifest index 8d845789b135..87f9959183eb 100644 --- a/dev-libs/elfutils/Manifest +++ b/dev-libs/elfutils/Manifest @@ -1,33 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 aaf03f25389788478179212c671260bf elfutils-0.94-r1.ebuild 1840 -MD5 800486f96d469126bfdf6353f6e9a4df elfutils-0.101-r1.ebuild 1586 -MD5 ec826a959ab321bced360a3bba8b91f3 elfutils-0.97-r1.ebuild 1474 -MD5 1420983491efc4af34532df42fd94eb6 elfutils-0.101.ebuild 1529 -MD5 6715520538959dc97fd6a8110f22f33e elfutils-0.97.ebuild 1416 MD5 d2a84c8e03ae9899b291a057355e117a elfutils-0.108.ebuild 1744 -MD5 69a300766e86938d082801d9445b8872 elfutils-0.94-r2.ebuild 1904 -MD5 87b984bed836e0aa3a212bb07a1211fe ChangeLog 8080 -MD5 25da57fec6a38ed0c69ec6682b595398 files/elfutils-0.94-alpha-mips-atime.diff 699 +MD5 0815d799ff897324cf61a5bc24ff4bd6 ChangeLog 8525 +MD5 567094e03359ffc1c95af7356395228d metadata.xml 162 MD5 1e6460efdb609828aa57b5874813972a files/elfutils-0.101-bswap.patch 849 -MD5 40321e776b95020f2e51e5f481b3486e files/elfutils-0.101-portability.patch 6052 -MD5 98e005817217428fef7c200faec78382 files/digest-elfutils-0.94-r1 65 -MD5 98e005817217428fef7c200faec78382 files/digest-elfutils-0.94-r2 65 -MD5 696196044decee0b8d782d08b3e907aa files/digest-elfutils-0.97-r1 65 -MD5 696196044decee0b8d782d08b3e907aa files/digest-elfutils-0.97 65 MD5 a5bda0a1599fd2232fb0d2cf5f3269a7 files/elfutils-0.108-robustify2.patch 12832 MD5 41c5834ecf3d28e43b7fbe3b927e582a files/elfutils-0.108-portability.patch 18453 -MD5 68f794575cd890d5131853a4ca7ee9f3 files/digest-elfutils-0.101-r1 66 -MD5 68f794575cd890d5131853a4ca7ee9f3 files/digest-elfutils-0.101 66 MD5 12294cbe7395c8366308d2a424d1d7ae files/digest-elfutils-0.108 143 -MD5 51c01230a938c5b39a545e0611170b0f files/elfutils-sections-heap-overflow.diff 574 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) - -iQCVAwUBQpp7lZ4WFLgrx1GWAQLblQP6ArJBuJpOZD6EncjDDQ5Vw0Qkx6VCHYM2 -3QAe2XxlyiVme8xabwayAS/CreWBXg1pyioaqG3R0qDrB5yfb3ueph4cUz6Qql1k -JaAIWEIU6eSPq9YdaulJ4P3m02emR/YOrFr4VtUriZWWp+pduxwPsWYfN4dAmhZp -4APWek2iV24= -=edpo ------END PGP SIGNATURE----- diff --git a/dev-libs/elfutils/elfutils-0.101-r1.ebuild b/dev-libs/elfutils/elfutils-0.101-r1.ebuild deleted file mode 100644 index 20269d591830..000000000000 --- a/dev-libs/elfutils/elfutils-0.101-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.101-r1.ebuild,v 1.2 2005/05/30 02:33:52 solar Exp $ - -inherit eutils - -DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" -HOMEPAGE="http://people.redhat.com/drepper/" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -LICENSE="OpenSoftware" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="nls" - -# This pkg does not actually seem to compile currently in a uClibc -# environment (xrealloc errs), but we need to ensure that glibc never -# gets pulled in as a dep since this package does not respect virtual/libc -DEPEND="!elibc_uclibc? ( >=sys-libs/glibc-2.3.2 ) - sys-devel/gettext - >=sys-devel/binutils-2.14.90.0.6 - >=sys-devel/gcc-3.2.1-r6 - !dev-libs/libelf" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-bswap.patch - epatch "${FILESDIR}"/${P}-portability.patch - epatch ${FILESDIR}/${PN}-sections-heap-overflow.diff - - # Needed by ${P}-portability.patch - autoreconf || die - - find . -name Makefile.in -print0 | xargs -0 sed -i -e 's:-W\(error\|extra\)::g' -} - -src_compile() { - econf \ - --program-prefix="eu-" \ - --enable-shared \ - $(use_enable nls) \ - || die "./configure failed" - emake || die -} - -src_test() { - env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \ - make check || die "test failed" -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO -} diff --git a/dev-libs/elfutils/elfutils-0.101.ebuild b/dev-libs/elfutils/elfutils-0.101.ebuild deleted file mode 100644 index 7387719c0496..000000000000 --- a/dev-libs/elfutils/elfutils-0.101.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.101.ebuild,v 1.3 2005/05/30 02:33:52 solar Exp $ - -inherit eutils - -DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" -HOMEPAGE="http://people.redhat.com/drepper/" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -LICENSE="OpenSoftware" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="nls" - -# This pkg does not actually seem to compile currently in a uClibc -# environment (xrealloc errs), but we need to ensure that glibc never -# gets pulled in as a dep since this package does not respect virtual/libc -DEPEND="!elibc_uclibc? ( >=sys-libs/glibc-2.3.2 ) - sys-devel/gettext - >=sys-devel/binutils-2.14.90.0.6 - >=sys-devel/gcc-3.2.1-r6 - !dev-libs/libelf" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-bswap.patch - epatch "${FILESDIR}"/${P}-portability.patch - - # Needed by ${P}-portability.patch - autoreconf || die - - find . -name Makefile.in -print0 | xargs -0 sed -i -e 's:-W\(error\|extra\)::g' -} - -src_compile() { - econf \ - --program-prefix="eu-" \ - --enable-shared \ - $(use_enable nls) \ - || die "./configure failed" - emake || die -} - -src_test() { - env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \ - make check || die "test failed" -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO -} diff --git a/dev-libs/elfutils/elfutils-0.94-r1.ebuild b/dev-libs/elfutils/elfutils-0.94-r1.ebuild deleted file mode 100644 index 0e9515e66e9f..000000000000 --- a/dev-libs/elfutils/elfutils-0.94-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.94-r1.ebuild,v 1.15 2005/05/30 02:33:52 solar Exp $ - -inherit eutils gnuconfig - -DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" -HOMEPAGE="http://www.redhat.com/" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -LICENSE="OpenSoftware" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc s390 sparc x86" -IUSE="nls" - -# This pkg does not actually seem to compile currently in a uClibc -# environment (xrealloc errs), but we need to ensure that glibc never -# gets pulled in as a dep since this package does not respect virtual/libc - -DEPEND="!elibc_uclibc? ( >=sys-libs/glibc-2.3.2 ) - sys-devel/gettext - >=sys-devel/binutils-2.14.90.0.6 - >=sys-devel/gcc-3.2.1-r6 - !dev-libs/libelf" - -src_unpack() { - unpack ${A} - - for x in $(find ${S}/ -name Makefile.in) ; do - cp ${x} ${x}.orig - sed -e 's:-Werror::g' \ - ${x}.orig > ${x} - done - - use mips || use alpha && epatch ${FILESDIR}/${P}-alpha-mips-atime.diff - - gnuconfig_update ${S} -} - -src_compile() { - econf \ - --program-prefix="eu-" \ - --enable-shared \ - `use_enable nls` \ - || die "./configure failed" - emake || die -} - -src_test() { - cd ${S} - env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \ - make check || die "test failed" -} - -src_install() { - make DESTDIR=${D} install || die - - # Remove stuff we do not use ... - rm -f ${D}/usr/bin/eu-ld - rm -f ${D}/usr/include/elfutils/lib{asm,dw,dwarf}.h - # Utils need libdw ... - #rm -f ${D}/usr/lib/lib{asm,dw}-${PV}.so - #rm -f ${D}/usr/lib/lib{asm,dw}.so* - rm -f ${D}/usr/lib/{libasm.so*,libasm-${PV}.so} - rm -f ${D}/usr/lib/lib{asm,dw,dwarf}.a - rm -rf ${D}/usr/usr - - dodoc AUTHORS COPYING ChangeLog NEWS NOTES README THANKS TODO -} diff --git a/dev-libs/elfutils/elfutils-0.94-r2.ebuild b/dev-libs/elfutils/elfutils-0.94-r2.ebuild deleted file mode 100644 index fad93c675e04..000000000000 --- a/dev-libs/elfutils/elfutils-0.94-r2.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.94-r2.ebuild,v 1.8 2005/05/30 02:33:52 solar Exp $ - -inherit eutils gnuconfig - -DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" -HOMEPAGE="http://www.redhat.com/" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -LICENSE="OpenSoftware" -SLOT="0" -KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ~s390 sparc x86" -IUSE="nls" - -# This pkg does not actually seem to compile currently in a uClibc -# environment (xrealloc errs), but we need to ensure that glibc never -# gets pulled in as a dep since this package does not respect virtual/libc - -DEPEND="!elibc_uclibc? ( >=sys-libs/glibc-2.3.2 ) - sys-devel/gettext - >=sys-devel/binutils-2.14.90.0.6 - >=sys-devel/gcc-3.2.1-r6 - !dev-libs/libelf" - -src_unpack() { - unpack ${A} - - for x in $(find ${S}/ -name Makefile.in) ; do - cp ${x} ${x}.orig - sed -e 's:-Werror::g' \ - ${x}.orig > ${x} - done - - use mips || use alpha && epatch ${FILESDIR}/${P}-alpha-mips-atime.diff - - epatch ${FILESDIR}/${PN}-sections-heap-overflow.diff || die - - gnuconfig_update ${S} -} - -src_compile() { - econf \ - --program-prefix="eu-" \ - --enable-shared \ - `use_enable nls` \ - || die "./configure failed" - emake || die -} - -src_test() { - cd ${S} - env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \ - make check || die "test failed" -} - -src_install() { - make DESTDIR=${D} install || die - - # Remove stuff we do not use ... - rm -f ${D}/usr/bin/eu-ld - rm -f ${D}/usr/include/elfutils/lib{asm,dw,dwarf}.h - # Utils need libdw ... - #rm -f ${D}/usr/lib/lib{asm,dw}-${PV}.so - #rm -f ${D}/usr/lib/lib{asm,dw}.so* - rm -f ${D}/usr/lib/{libasm.so*,libasm-${PV}.so} - rm -f ${D}/usr/lib/lib{asm,dw,dwarf}.a - rm -rf ${D}/usr/usr - - dodoc AUTHORS COPYING ChangeLog NEWS NOTES README THANKS TODO -} diff --git a/dev-libs/elfutils/elfutils-0.97-r1.ebuild b/dev-libs/elfutils/elfutils-0.97-r1.ebuild deleted file mode 100644 index ba21f533f771..000000000000 --- a/dev-libs/elfutils/elfutils-0.97-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.97-r1.ebuild,v 1.3 2005/05/30 02:33:52 solar Exp $ - -inherit eutils - -DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" -HOMEPAGE="http://people.redhat.com/drepper/" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -LICENSE="OpenSoftware" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sparc ~x86" -IUSE="nls" - -# This pkg does not actually seem to compile currently in a uClibc -# environment (xrealloc errs), but we need to ensure that glibc never -# gets pulled in as a dep since this package does not respect virtual/libc -DEPEND="!elibc_uclibc? ( >=sys-libs/glibc-2.3.2 ) - sys-devel/gettext - >=sys-devel/binutils-2.14.90.0.6 - >=sys-devel/gcc-3.2.1-r6 - !dev-libs/libelf" - -src_unpack() { - unpack ${A} - cd "${S}" - find . -name Makefile.in | xargs sed -i -e 's:-Werror::g' - epatch ${FILESDIR}/${PN}-0.94-alpha-mips-atime.diff - epatch ${FILESDIR}/${PN}-sections-heap-overflow.diff -} - -src_compile() { - econf \ - --program-prefix="eu-" \ - --enable-shared \ - $(use_enable nls) \ - || die "./configure failed" - emake || die -} - -src_test() { - env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \ - make check || die "test failed" -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO -} diff --git a/dev-libs/elfutils/elfutils-0.97.ebuild b/dev-libs/elfutils/elfutils-0.97.ebuild deleted file mode 100644 index fbcfba2101e5..000000000000 --- a/dev-libs/elfutils/elfutils-0.97.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.97.ebuild,v 1.6 2005/05/30 02:33:52 solar Exp $ - -inherit eutils - -DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" -HOMEPAGE="http://people.redhat.com/drepper/" -SRC_URI="mirror://gentoo/${P}.tar.gz" - -LICENSE="OpenSoftware" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ia64 ~mips ~ppc ppc64 ~s390 ~sparc ~x86" -IUSE="nls" - -# This pkg does not actually seem to compile currently in a uClibc -# environment (xrealloc errs), but we need to ensure that glibc never -# gets pulled in as a dep since this package does not respect virtual/libc -DEPEND="!elibc_uclibc? ( >=sys-libs/glibc-2.3.2 ) - sys-devel/gettext - >=sys-devel/binutils-2.14.90.0.6 - >=sys-devel/gcc-3.2.1-r6 - !dev-libs/libelf" - -src_unpack() { - unpack ${A} - cd "${S}" - find . -name Makefile.in | xargs sed -i -e 's:-Werror::g' - epatch ${FILESDIR}/${PN}-0.94-alpha-mips-atime.diff -} - -src_compile() { - econf \ - --program-prefix="eu-" \ - --enable-shared \ - $(use_enable nls) \ - || die "./configure failed" - emake || die -} - -src_test() { - env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \ - make check || die "test failed" -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO -} diff --git a/dev-libs/elfutils/files/digest-elfutils-0.101 b/dev-libs/elfutils/files/digest-elfutils-0.101 deleted file mode 100644 index b2f7c234eeaa..000000000000 --- a/dev-libs/elfutils/files/digest-elfutils-0.101 +++ /dev/null @@ -1 +0,0 @@ -MD5 36e8e5532b8ba5004abd32c46256e876 elfutils-0.101.tar.gz 813599 diff --git a/dev-libs/elfutils/files/digest-elfutils-0.101-r1 b/dev-libs/elfutils/files/digest-elfutils-0.101-r1 deleted file mode 100644 index b2f7c234eeaa..000000000000 --- a/dev-libs/elfutils/files/digest-elfutils-0.101-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 36e8e5532b8ba5004abd32c46256e876 elfutils-0.101.tar.gz 813599 diff --git a/dev-libs/elfutils/files/digest-elfutils-0.94-r1 b/dev-libs/elfutils/files/digest-elfutils-0.94-r1 deleted file mode 100644 index fc665ad9f118..000000000000 --- a/dev-libs/elfutils/files/digest-elfutils-0.94-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 de39e0af6b82b30d48e5d69b75aa2e0b elfutils-0.94.tar.gz 812616 diff --git a/dev-libs/elfutils/files/digest-elfutils-0.94-r2 b/dev-libs/elfutils/files/digest-elfutils-0.94-r2 deleted file mode 100644 index fc665ad9f118..000000000000 --- a/dev-libs/elfutils/files/digest-elfutils-0.94-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 de39e0af6b82b30d48e5d69b75aa2e0b elfutils-0.94.tar.gz 812616 diff --git a/dev-libs/elfutils/files/digest-elfutils-0.97 b/dev-libs/elfutils/files/digest-elfutils-0.97 deleted file mode 100644 index 763881b15b51..000000000000 --- a/dev-libs/elfutils/files/digest-elfutils-0.97 +++ /dev/null @@ -1 +0,0 @@ -MD5 41c3e3c918acef6cbf77519c6f10793e elfutils-0.97.tar.gz 825659 diff --git a/dev-libs/elfutils/files/digest-elfutils-0.97-r1 b/dev-libs/elfutils/files/digest-elfutils-0.97-r1 deleted file mode 100644 index 763881b15b51..000000000000 --- a/dev-libs/elfutils/files/digest-elfutils-0.97-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 41c3e3c918acef6cbf77519c6f10793e elfutils-0.97.tar.gz 825659 diff --git a/dev-libs/elfutils/files/elfutils-0.101-portability.patch b/dev-libs/elfutils/files/elfutils-0.101-portability.patch deleted file mode 100644 index fc6a8413d728..000000000000 --- a/dev-libs/elfutils/files/elfutils-0.101-portability.patch +++ /dev/null @@ -1,198 +0,0 @@ -2005-02-07 Roland McGrath <roland@frob.com> - - * configure.ac (WEXTRA): Check for -Wextra and set this substitution. - -2003-08-12 Roland McGrath <roland@redhat.com> - - * configure.ac: Check for struct stat st_?tim members. - * src/strip.c (process_file): Use st_?time if st_?tim are not there. - - * configure.ac: Check for futimes function. - * src/strip.c (handle_elf) [! HAVE_FUTIMES]: Use utimes instead. - (handle_ar) [! HAVE_FUTIMES]: Likewise. - ---- elfutils/configure.ac -+++ elfutils/configure.ac -@@ -66,6 +66,15 @@ CFLAGS="$old_CFLAGS"]) - AS_IF([test "x$ac_cv_c99" != xyes], - AC_MSG_ERROR([gcc with C99 support required])) - -+AC_CACHE_CHECK([for -Wextra option to $CC], ac_cv_cc_wextra, [dnl -+old_CFLAGS="$CFLAGS" -+CFLAGS="$CFLAGS -Wextra" -+AC_COMPILE_IFELSE([void foo (void) { }], -+ ac_cv_cc_wextra, ac_cv_cc_wextra=no) -+CFLAGS="$old_CFLAGS"]) -+AC_SUBST(WEXTRA) -+AS_IF([test "x$ac_cv_cc_wextra" = yes], [WEXTRA=-Wextra]) -+ - LOCALEDIR=$datadir - AC_SUBST(LOCALEDIR) - AC_DEFINE_UNQUOTED(LOCALEDIR, "$LOCALEDIR") ---- elfutils/lib/ChangeLog -+++ elfutils/lib/ChangeLog -@@ -1,3 +1,8 @@ -+2005-02-07 Roland McGrath <roland@redhat.com> -+ -+ * Makefile.am (WEXTRA): New variable, substituted by configure. -+ (AM_CFLAGS): Use it in place of -Wextra. -+ - 2005-02-15 Ulrich Drepper <drepper@redhat.com> - - * dynamicsizehash.c (lookup): Mark val parameter as possibly unused. ---- elfutils/lib/Makefile.am -+++ elfutils/lib/Makefile.am -@@ -17,12 +17,13 @@ - ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - ## - DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -+WEXTRA = @WEXTRA@ - if MUDFLAP - AM_CFLAGS = -fmudflap - else - AM_CFLAGS = - endif --AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra $($(*F)_CFLAGS) -+AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused $(WEXTRA) $($(*F)_CFLAGS) - INCLUDES = -I$(srcdir)/../libelf -I.. - - noinst_LIBRARIES = libeu.a ---- elfutils/libasm/Makefile.am -+++ elfutils/libasm/Makefile.am -@@ -14,12 +14,13 @@ - ## 3001 King Ranch Road, Ukiah, CA 95482. - ## - DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -+WEXTRA = @WEXTRA@ - if MUDFLAP - AM_CFLAGS = -fmudflap - else - AM_CFLAGS = - endif --AM_CFLAGS += -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -+AM_CFLAGS += -Wall -Wshadow -Werror -Wunused $(WEXTRA) -Wformat=2 - INCLUDES = -I. -I$(srcdir) -I.. -I$(top_srcdir)/libelf -I$(top_srcdir)/libebl \ - -I$(top_srcdir)/lib - GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include) ---- elfutils/libdw/Makefile.am -+++ elfutils/libdw/Makefile.am -@@ -14,12 +14,13 @@ - ## 3001 King Ranch Road, Ukiah, CA 95482. - ## - DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -+WEXTRA = @WEXTRA@ - if MUDFLAP - AM_CFLAGS = -fmudflap - else - AM_CFLAGS = - endif --AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99 -+AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 $(WEXTRA) -std=gnu99 - INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib - VERSION = 1 - ---- elfutils/libebl/Makefile.am -+++ elfutils/libebl/Makefile.am -@@ -14,12 +14,13 @@ - ## 3001 King Ranch Road, Ukiah, CA 95482. - ## - DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -DOBJDIR=\"$(shell pwd)\" -+WEXTRA = @WEXTRA@ - if MUDFLAP - AM_CFLAGS = -fmudflap - else - AM_CFLAGS = - endif --AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 \ -+AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused $(WEXTRA) -Wformat=2 \ - -std=gnu99 - - INCLUDES = -I$(srcdir) -I$(top_srcdir)/libelf -I$(top_srcdir)/lib -I.. ---- elfutils/libelf/Makefile.am -+++ elfutils/libelf/Makefile.am -@@ -17,12 +17,13 @@ - ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - ## - DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -+WEXTRA = @WEXTRA@ - if MUDFLAP - AM_CFLAGS = -fpic -fmudflap - else - AM_CFLAGS = - endif --AM_CFLAGS += -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -std=gnu99 \ -+AM_CFLAGS += -Wall -Wshadow -Werror -Wunused $(WEXTRA) -Wformat=2 -std=gnu99 \ - $($(*F)_CFLAGS) - INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I.. - GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include) ---- elfutils/src/Makefile.am -+++ elfutils/src/Makefile.am -@@ -15,14 +15,15 @@ - ## - DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H $(YYDEBUG) \ - -DSRCDIR=\"$(shell cd $(srcdir);pwd)\" -DOBJDIR=\"$(shell pwd)\" -+WEXTRA = @WEXTRA@ - if MUDFLAP --AM_CFLAGS = -Wall -Wshadow -Wunused -Wextra -std=gnu99 -fmudflap \ -+AM_CFLAGS = -Wall -Wshadow -Wunused $(WEXTRA) -std=gnu99 -fmudflap \ - $(native_ld_cflags) $(if $($(*F)_no_Wunused),,-Wunused) \ - $(if $($(*F)_no_Wformat),,-Wformat=2) - else - AM_CFLAGS = -Wall -Wshadow -std=gnu99 $(native_ld_cflags) \ - $(if $($(*F)_no_Werror),,-Werror) \ -- $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \ -+ $(if $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) \ - $(if $($(*F)_no_Wformat),,-Wformat=2) - endif - if MUDFLAP ---- elfutils/src/strip.c -+++ elfutils/src/strip.c -@@ -245,8 +245,18 @@ process_file (const char *fname) - - /* If we have to preserve the timestamp, we need it in the - format utimes() understands. */ -+#ifdef HAVE_STRUCT_STAT_ST_ATIM - TIMESPEC_TO_TIMEVAL (&tv[0], &pre_st.st_atim); -+#else -+ tv[0].tv_sec = pre_st.st_atime; -+ tv[0].tv_usec = 0; -+#endif -+#ifdef HAVE_STRUCT_STAT_ST_MTIM - TIMESPEC_TO_TIMEVAL (&tv[1], &pre_st.st_mtim); -+#else -+ tv[1].tv_sec = pre_st.st_atime; -+ tv[1].tv_usec = 0; -+#endif - } - - /* Open the file. */ -@@ -1677,7 +1687,13 @@ handle_elf (int fd, Elf *elf, const char - /* If requested, preserve the timestamp. */ - if (tvp != NULL) - { -- if (futimes (fd, tvp) != 0) -+ if ( -+#ifdef HAVE_FUTIMES -+ futimes (fd, tvp) != 0 -+#else -+ utimes (output_fname, tvp) != 0 -+#endif -+ ) - { - error (0, errno, gettext ("\ - cannot set access and modification date of \"%s\""), -@@ -1734,7 +1750,13 @@ handle_ar (int fd, Elf *elf, const char - - if (tvp != NULL) - { -- if (unlikely (futimes (fd, tvp) != 0)) -+ if (unlikely ( -+#ifdef HAVE_FUTIMES -+ futimes (fd, tvp) -+#else -+ utimes (fname, tvp) -+#endif -+ != 0)) - { - error (0, errno, gettext ("\ - cannot set access and modification date of \"%s\""), fname); diff --git a/dev-libs/elfutils/files/elfutils-0.94-alpha-mips-atime.diff b/dev-libs/elfutils/files/elfutils-0.94-alpha-mips-atime.diff deleted file mode 100644 index d91bb76b3af8..000000000000 --- a/dev-libs/elfutils/files/elfutils-0.94-alpha-mips-atime.diff +++ /dev/null @@ -1,21 +0,0 @@ ---- elfutils-0.94/src/strip.c.old 2003-09-26 08:01:49.000000000 +0200 -+++ elfutils-0.94/src/strip.c 2004-02-22 22:20:42.000000000 +0100 -@@ -265,8 +265,16 @@ - - /* If we have to preserve the timestamp, we need it in the - format utimes() understands. */ -- TIMESPEC_TO_TIMEVAL (&tv[0], &pre_st.st_atim); -- TIMESPEC_TO_TIMEVAL (&tv[1], &pre_st.st_mtim); -+ -+#if defined ( __alpha ) || defined ( __mips) -+ tv[0].tv_sec = pre_st.st_atime; -+ tv[0].tv_usec = 0; -+ tv[1].tv_sec = pre_st.st_mtime; -+ tv[1].tv_usec = 0; -+#else -+ TIMESPEC_TO_TIMEVAL (&tv[0], &pre_st.st_atim); -+ TIMESPEC_TO_TIMEVAL (&tv[1], &pre_st.st_mtim); -+#endif - } - - /* Open the file. */ diff --git a/dev-libs/elfutils/files/elfutils-sections-heap-overflow.diff b/dev-libs/elfutils/files/elfutils-sections-heap-overflow.diff deleted file mode 100644 index c5ef5f086823..000000000000 --- a/dev-libs/elfutils/files/elfutils-sections-heap-overflow.diff +++ /dev/null @@ -1,13 +0,0 @@ -diff -ruN elfutils-0.94.orig/libelf/elf_begin.c elfutils-0.94/libelf/elf_begin.c ---- elfutils-0.94.orig/libelf/elf_begin.c 2003-12-25 18:34:27.000000000 +0000 -+++ elfutils-0.94/libelf/elf_begin.c 2005-05-07 18:43:41.000000000 +0100 -@@ -220,7 +220,8 @@ - - /* Determine the number of sections. */ - scncnt = get_shnum (map_address, e_ident, fildes, offset, maxsize); -- if (scncnt == (size_t) -1l) -+ if ((scncnt == (size_t) -1l) || -+ (sizeof (Elf_Scn) * scncnt / sizeof (Elf_Scn) != scncnt)) - /* Could not determine the number of sections. */ - return NULL; - diff --git a/dev-libs/elfutils/metadata.xml b/dev-libs/elfutils/metadata.xml new file mode 100644 index 000000000000..fb4199eb7afe --- /dev/null +++ b/dev-libs/elfutils/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>toolchain</herd> +</pkgmetadata> |