summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2006-06-07 09:24:49 +0000
committerLuca Barbato <lu_zero@gentoo.org>2006-06-07 09:24:49 +0000
commitf5b93d8c4aaddf2bd650b1a9023ba9258b1efaf7 (patch)
tree4e8b8869f67791019acff9e496fc4f035a82b5f1 /dev-util/valgrind
parentAllow nice font rendering even with gs-8, thanks to xalan <xalanxerces@yahoo.... (diff)
downloadgentoo-2-f5b93d8c4aaddf2bd650b1a9023ba9258b1efaf7.tar.gz
gentoo-2-f5b93d8c4aaddf2bd650b1a9023ba9258b1efaf7.tar.bz2
gentoo-2-f5b93d8c4aaddf2bd650b1a9023ba9258b1efaf7.zip
New version
(Portage version: 2.1_rc4)
Diffstat (limited to 'dev-util/valgrind')
-rw-r--r--dev-util/valgrind/ChangeLog7
-rw-r--r--dev-util/valgrind/files/digest-valgrind-3.1.02
-rw-r--r--dev-util/valgrind/files/digest-valgrind-3.1.12
-rw-r--r--dev-util/valgrind/files/digest-valgrind-3.2.03
-rw-r--r--dev-util/valgrind/valgrind-3.2.0.ebuild69
5 files changed, 82 insertions, 1 deletions
diff --git a/dev-util/valgrind/ChangeLog b/dev-util/valgrind/ChangeLog
index 71f3eeb865be..2b55b9254168 100644
--- a/dev-util/valgrind/ChangeLog
+++ b/dev-util/valgrind/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/valgrind
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.59 2006/04/11 04:56:06 tsunam Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.60 2006/06/07 09:24:49 lu_zero Exp $
+
+*valgrind-3.2.0 (07 Jun 2006)
+
+ 07 Jun 2006; Luca Barbato <lu_zero@gentoo.org> +valgrind-3.2.0.ebuild:
+ New version
11 Apr 2006; Joshua Jackson <tsunam@gentoo.org> valgrind-3.1.1.ebuild:
stable on x86; bug #129127
diff --git a/dev-util/valgrind/files/digest-valgrind-3.1.0 b/dev-util/valgrind/files/digest-valgrind-3.1.0
index de31ba128be6..f1de712581cc 100644
--- a/dev-util/valgrind/files/digest-valgrind-3.1.0
+++ b/dev-util/valgrind/files/digest-valgrind-3.1.0
@@ -1 +1,3 @@
MD5 d92156e9172dc6097e56c69ea9c88013 valgrind-3.1.0.tar.bz2 3054546
+RMD160 265f6fc41378207b0608d17360bd5fd1916e6ac0 valgrind-3.1.0.tar.bz2 3054546
+SHA256 63fda6d9fa241f389780264b5b6b0c7397bdc2a20b883106c4bbaf829cacc90c valgrind-3.1.0.tar.bz2 3054546
diff --git a/dev-util/valgrind/files/digest-valgrind-3.1.1 b/dev-util/valgrind/files/digest-valgrind-3.1.1
index c46672d777a2..f648ca70db5b 100644
--- a/dev-util/valgrind/files/digest-valgrind-3.1.1
+++ b/dev-util/valgrind/files/digest-valgrind-3.1.1
@@ -1 +1,3 @@
MD5 3bbfafedb59c19bf75977381ce2eb6d7 valgrind-3.1.1.tar.bz2 3074066
+RMD160 023df2a78fc24662605cd28fbbaa0d6cf86552c6 valgrind-3.1.1.tar.bz2 3074066
+SHA256 6df142297a093bb970a018eaa26d2a6fde32ff3e1171cdf2ffad25ec06f371b9 valgrind-3.1.1.tar.bz2 3074066
diff --git a/dev-util/valgrind/files/digest-valgrind-3.2.0 b/dev-util/valgrind/files/digest-valgrind-3.2.0
new file mode 100644
index 000000000000..968ccfcf3511
--- /dev/null
+++ b/dev-util/valgrind/files/digest-valgrind-3.2.0
@@ -0,0 +1,3 @@
+MD5 c418026ce7c38a740ef17efe59509fcf valgrind-3.2.0.tar.bz2 4059114
+RMD160 06cebcfacece9f6bac8fd72c13022d3440d243e9 valgrind-3.2.0.tar.bz2 4059114
+SHA256 e13b81b733697736b5d220c04fb853c1113d11867c7fb96028bee9d2584b638e valgrind-3.2.0.tar.bz2 4059114
diff --git a/dev-util/valgrind/valgrind-3.2.0.ebuild b/dev-util/valgrind/valgrind-3.2.0.ebuild
new file mode 100644
index 000000000000..ef35ee4a951b
--- /dev/null
+++ b/dev-util/valgrind/valgrind-3.2.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.2.0.ebuild,v 1.1 2006/06/07 09:24:49 lu_zero Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="An open-source memory debugger for GNU/Linux"
+HOMEPAGE="http://www.valgrind.org"
+SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~ppc ~x86"
+IUSE="X"
+
+# bug #49147 (bogus stacktrace in gdb with --db-attach=yes) does not seem to be applicable anymore
+#RESTRICT="strip"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # make sure our CFLAGS are respected
+ einfo "Changing configure.in to respect CFLAGS"
+ sed -i -e 's:^CFLAGS="-Wno-long-long":CFLAGS="$CFLAGS -Wno-long-long":' configure.in
+
+ # undefined references to __guard and __stack_smash_handler in VEX (bug #114347)
+ einfo "Changing Makefile.flags.am to disable SSP"
+ sed -i -e 's:^AM_CFLAGS_BASE = :AM_CFLAGS_BASE = -fno-stack-protector :' Makefile.flags.am
+
+ # Correct hard coded doc location
+ sed -i -e "s:doc/valgrind/:doc/${P}/:" docs/Makefile.am
+
+ einfo "Regenerating autotools files..."
+ autoconf || die "autoconf failed"
+ automake || die "automake failed"
+
+ # fix for amd64 no-multilib profile till valgrind 3.2.0 is out (bug #114407)
+ use amd64 && (has_multilib_profile || epatch "${FILESDIR}/valgrind-3.1.0-amd64-nomultilib-fix.patch")
+}
+
+src_compile() {
+ local myconf
+
+ # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression"
+ # while compiling insn_sse.c in none/tests/x86
+ # -fpie valgrind seemingly hangs when built with pie on
+ # amd64 (bug #102157)
+ # -fstack-protector more undefined references to __guard and __stack_smash_handler
+ # because valgrind doesn't link to glibc (bug #114347)
+ # -ggdb3 segmentation fault on startup
+ filter-flags -fomit-frame-pointer
+ filter-flags -fpie
+ filter-flags -fstack-protector
+ replace-flags -ggdb3 -ggdb2
+
+ # Optionally build in X suppression files
+ use X && myconf="--with-x" || myconf="--with-x=no"
+
+ econf ${myconf} || die "Configure failed!"
+ emake || die "Make failed!"
+}
+
+src_install() {
+ dodir /usr/share/doc/valgrind-3.2.0
+ make DESTDIR="${D}" install || die "Install failed!"
+ dodoc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS README*
+}
+