summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2010-02-04 08:12:05 +0000
committerRyan Hill <dirtyepic@gentoo.org>2010-02-04 08:12:05 +0000
commit0d03b5ea24cb687c53fb7d1c77969569d4ad88bd (patch)
treebccf656b5c9e7adcbfe67bbef07e19020b09d6c5 /dev-libs/elfutils
parentnet-p2p/transmission: bump to 1.77 (diff)
downloadgentoo-2-0d03b5ea24cb687c53fb7d1c77969569d4ad88bd.tar.gz
gentoo-2-0d03b5ea24cb687c53fb7d1c77969569d4ad88bd.tar.bz2
gentoo-2-0d03b5ea24cb687c53fb7d1c77969569d4ad88bd.zip
Version bump.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/elfutils')
-rw-r--r--dev-libs/elfutils/ChangeLog11
-rw-r--r--dev-libs/elfutils/elfutils-0.140.ebuild57
-rw-r--r--dev-libs/elfutils/elfutils-0.144.ebuild (renamed from dev-libs/elfutils/elfutils-0.143.ebuild)8
-rw-r--r--dev-libs/elfutils/files/elfutils-0.144-sloppy-include.patch114
4 files changed, 128 insertions, 62 deletions
diff --git a/dev-libs/elfutils/ChangeLog b/dev-libs/elfutils/ChangeLog
index 12bef3384951..990f37c1b5a6 100644
--- a/dev-libs/elfutils/ChangeLog
+++ b/dev-libs/elfutils/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/elfutils
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.127 2009/11/26 19:09:40 truedfx Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/ChangeLog,v 1.128 2010/02/04 08:12:04 dirtyepic Exp $
+
+*elfutils-0.144 (04 Feb 2010)
+
+ 04 Feb 2010; Ryan Hill <dirtyepic@gentoo.org> -elfutils-0.140.ebuild,
+ -elfutils-0.143.ebuild, +elfutils-0.144.ebuild,
+ +files/elfutils-0.144-sloppy-include.patch:
+ Version bump.
26 Nov 2009; Harald van Dijk <truedfx@gentoo.org>
elfutils-0.143-r1.ebuild, +files/elfutils-0.143-configure.patch:
diff --git a/dev-libs/elfutils/elfutils-0.140.ebuild b/dev-libs/elfutils/elfutils-0.140.ebuild
deleted file mode 100644
index 12bf1aadefd2..000000000000
--- a/dev-libs/elfutils/elfutils-0.140.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.140.ebuild,v 1.1 2009/03/15 11:29:33 pva Exp $
-
-inherit eutils
-
-DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
-HOMEPAGE="http://people.redhat.com/drepper/"
-#SRC_URI="ftp://sources.redhat.com/pub/systemtap/${PN}/${P}.tar.gz"
-#SRC_URI="mirror://debian/pool/main/e/elfutils/elfutils_${PV}.orig.tar.gz"
-SRC_URI="https://fedorahosted.org/releases/e/l/elfutils/${P}.tar.bz2"
-
-LICENSE="OpenSoftware"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="bzip2 nls zlib test"
-
-# 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
-RDEPEND="zlib? ( >=sys-libs/zlib-1.2.2.3 )
- bzip2? ( app-arch/bzip2 )"
-DEPEND="${RDEPEND}
- elibc_glibc? ( >=sys-libs/glibc-2.7 )
- nls? ( sys-devel/gettext )
- >=sys-devel/flex-2.5.4a
- sys-devel/m4
- >=sys-devel/binutils-2.15.90.0.1
- >=sys-devel/gcc-4.1.2
- !dev-libs/libelf"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch
- find . -name Makefile.in -print0 | xargs -0 sed -i -e 's:-W\(error\|extra\)::g'
- use test || sed -i -e 's: tests::' Makefile.in #226349
-}
-
-src_compile() {
- econf \
- $(use_enable nls) \
- --program-prefix="eu-" \
- $(use_with zlib) \
- $(use_with bzip2 bzlib)
- emake || die
-}
-
-src_test() {
- env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \
- make check || die "test failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS NOTES README THANKS TODO
-}
diff --git a/dev-libs/elfutils/elfutils-0.143.ebuild b/dev-libs/elfutils/elfutils-0.144.ebuild
index c7ac74d29b52..fcbdf3894a12 100644
--- a/dev-libs/elfutils/elfutils-0.143.ebuild
+++ b/dev-libs/elfutils/elfutils-0.144.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.143.ebuild,v 1.1 2009/09/26 21:53:40 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/elfutils/elfutils-0.144.ebuild,v 1.1 2010/02/04 08:12:04 dirtyepic Exp $
inherit eutils
@@ -34,6 +34,8 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-0.118-PaX-support.patch
+ epatch "${FILESDIR}"/${PN}-0.143-configure.patch #287130
+ epatch "${FILESDIR}"/${P}-sloppy-include.patch
find . -name Makefile.in -print0 | xargs -0 sed -i -e 's:-W\(error\|extra\)::g'
use test || sed -i -e 's: tests::' Makefile.in #226349
}
@@ -51,7 +53,7 @@ src_compile() {
src_test() {
env LD_LIBRARY_PATH="${S}/libelf:${S}/libebl:${S}/libdw:${S}/libasm" \
- make check || die "test failed"
+ emake -j1 check || die "test failed"
}
src_install() {
diff --git a/dev-libs/elfutils/files/elfutils-0.144-sloppy-include.patch b/dev-libs/elfutils/files/elfutils-0.144-sloppy-include.patch
new file mode 100644
index 000000000000..361af835290a
--- /dev/null
+++ b/dev-libs/elfutils/files/elfutils-0.144-sloppy-include.patch
@@ -0,0 +1,114 @@
+From b337b1fd5f3b3410fe522a690ccee70bce8519ee Mon Sep 17 00:00:00 2001
+From: Roland McGrath <roland@redhat.com>
+Date: Fri, 15 Jan 2010 01:02:27 -0800
+Subject: [PATCH] Fix sloppy #include use, breaks with latest glibc.
+
+---
+ src/ChangeLog | 8 ++++++++
+ src/ar.c | 3 ++-
+ src/elflint.c | 1 +
+ src/readelf.c | 1 +
+ src/strip.c | 3 ++-
+ src/unstrip.c | 3 ++-
+ 6 files changed, 16 insertions(+), 3 deletions(-)
+
+diff --git a/src/ChangeLog b/src/ChangeLog
+index c4b5b05..ee1b733 100644
+--- a/src/ChangeLog
++++ b/src/ChangeLog
+@@ -1,3 +1,11 @@
++2010-01-15 Roland McGrath <roland@redhat.com>
++
++ * ar.c: Include <sys/stat.h>.
++ * elflint.c: Likewise.
++ * readelf.c: Likewise.
++ * strip.c: Likewise.
++ * unstrip.c: Likewise
++
+ 2010-01-07 Roland McGrath <roland@redhat.com>
+
+ * readelf.c (print_ehdr): Handle PN_XNUM.
+diff --git a/src/ar.c b/src/ar.c
+index 5d7a6e7..149d116 100644
+--- a/src/ar.c
++++ b/src/ar.c
+@@ -1,5 +1,5 @@
+ /* Create, modify, and extract from archives.
+- Copyright (C) 2005, 2007, 2009 Red Hat, Inc.
++ Copyright (C) 2005-2010 Red Hat, Inc.
+ Written by Ulrich Drepper <drepper@redhat.com>, 2005.
+
+ Red Hat elfutils is free software; you can redistribute it and/or modify
+@@ -45,6 +45,7 @@
+ #include <time.h>
+ #include <unistd.h>
+ #include <sys/mman.h>
++#include <sys/stat.h>
+ #include <sys/time.h>
+
+ #include <system.h>
+diff --git a/src/elflint.c b/src/elflint.c
+index 63d8389..531122b 100644
+--- a/src/elflint.c
++++ b/src/elflint.c
+@@ -42,6 +42,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
++#include <sys/stat.h>
+ #include <sys/param.h>
+
+ #include <elf-knowledge.h>
+diff --git a/src/readelf.c b/src/readelf.c
+index 4464866..6ba259c 100644
+--- a/src/readelf.c
++++ b/src/readelf.c
+@@ -49,6 +49,7 @@
+ #include <time.h>
+ #include <unistd.h>
+ #include <sys/param.h>
++#include <sys/stat.h>
+
+ #include <system.h>
+ #include "../libelf/libelfP.h"
+diff --git a/src/strip.c b/src/strip.c
+index 32cf0d7..7b2b889 100644
+--- a/src/strip.c
++++ b/src/strip.c
+@@ -1,5 +1,5 @@
+ /* Discard section not used at runtime from object files.
+- Copyright (C) 2000-2008, 2009 Red Hat, Inc.
++ Copyright (C) 2000-2010 Red Hat, Inc.
+ This file is part of Red Hat elfutils.
+ Written by Ulrich Drepper <drepper@redhat.com>, 2000.
+
+@@ -46,6 +46,7 @@
+ #include <string.h>
+ #include <unistd.h>
+ #include <sys/param.h>
++#include <sys/stat.h>
+ #include <sys/time.h>
+
+ #include <elf-knowledge.h>
+diff --git a/src/unstrip.c b/src/unstrip.c
+index 284607b..0984e6b 100644
+--- a/src/unstrip.c
++++ b/src/unstrip.c
+@@ -1,5 +1,5 @@
+ /* Combine stripped files with separate symbols and debug information.
+- Copyright (C) 2007, 2009 Red Hat, Inc.
++ Copyright (C) 2007-2010 Red Hat, Inc.
+ This file is part of Red Hat elfutils.
+ Written by Roland McGrath <roland@redhat.com>, 2007.
+
+@@ -52,6 +52,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
++#include <sys/stat.h>
+
+ #include <gelf.h>
+ #include <libebl.h>
+--
+1.6.2.5
+