1 |
blueness 11/11/23 19:19:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: valgrind-3.7.0-r1.ebuild |
5 |
Removed: valgrind-3.7.0.ebuild |
6 |
Log: |
7 |
Replace original patch with the version accepted upstream |
8 |
|
9 |
(Portage version: 2.1.10.11/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.131 dev-util/valgrind/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/ChangeLog?rev=1.131&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/ChangeLog?rev=1.131&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/ChangeLog?r1=1.130&r2=1.131 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v |
21 |
retrieving revision 1.130 |
22 |
retrieving revision 1.131 |
23 |
diff -u -r1.130 -r1.131 |
24 |
--- ChangeLog 11 Nov 2011 01:40:06 -0000 1.130 |
25 |
+++ ChangeLog 23 Nov 2011 19:19:48 -0000 1.131 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for dev-util/valgrind |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.130 2011/11/11 01:40:06 blueness Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.131 2011/11/23 19:19:48 blueness Exp $ |
31 |
+ |
32 |
+*valgrind-3.7.0-r1 (23 Nov 2011) |
33 |
+ |
34 |
+ 23 Nov 2011; Anthony G. Basile <blueness@g.o> -valgrind-3.7.0.ebuild, |
35 |
+ +valgrind-3.7.0-r1.ebuild, files/valgrind-3.7.0-fix-gcc-regex.patch: |
36 |
+ Replace original patch with the version accepted upstream |
37 |
+ https://bugs.kde.org/show_bug.cgi?id=286384 |
38 |
|
39 |
*valgrind-3.7.0 (11 Nov 2011) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-util/valgrind/valgrind-3.7.0-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/valgrind-3.7.0-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/valgrind/valgrind-3.7.0-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: valgrind-3.7.0-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2011 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.7.0-r1.ebuild,v 1.1 2011/11/23 19:19:48 blueness Exp $ |
54 |
|
55 |
EAPI=4 |
56 |
inherit autotools eutils flag-o-matic toolchain-funcs multilib pax-utils |
57 |
|
58 |
DESCRIPTION="An open-source memory debugger for GNU/Linux" |
59 |
HOMEPAGE="http://www.valgrind.org" |
60 |
SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="-* ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
65 |
IUSE="mpi" |
66 |
|
67 |
DEPEND="mpi? ( virtual/mpi )" |
68 |
RDEPEND="${DEPEND}" |
69 |
|
70 |
src_prepare() { |
71 |
# Correct hard coded doc location |
72 |
sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die |
73 |
|
74 |
# Respect CFLAGS, LDFLAGS |
75 |
epatch "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch |
76 |
|
77 |
# Changing Makefile.all.am to disable SSP |
78 |
epatch "${FILESDIR}"/${PN}-3.7.0-fno-stack-protector.patch |
79 |
|
80 |
# Yet more local labels, this time for ppc32 & ppc64 |
81 |
epatch "${FILESDIR}"/${PN}-3.6.0-local-labels.patch |
82 |
|
83 |
# Don't build in empty assembly files for other platforms or we'll get a QA |
84 |
# warning about executable stacks. |
85 |
epatch "${FILESDIR}"/${PN}-3.7.0-non-exec-stack.patch |
86 |
|
87 |
# Fix the regex to get gcc's version |
88 |
epatch "${FILESDIR}"/${PN}-3.7.0-fix-gcc-regex.patch |
89 |
|
90 |
# Regenerate autotools files |
91 |
eautoreconf |
92 |
} |
93 |
|
94 |
src_configure() { |
95 |
local myconf |
96 |
|
97 |
# -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression" |
98 |
# while compiling insn_sse.c in none/tests/x86 |
99 |
# -fpie valgrind seemingly hangs when built with pie on |
100 |
# amd64 (bug #102157) |
101 |
# -fstack-protector more undefined references to __guard and __stack_smash_handler |
102 |
# because valgrind doesn't link to glibc (bug #114347) |
103 |
# -ggdb3 segmentation fault on startup |
104 |
filter-flags -fomit-frame-pointer |
105 |
filter-flags -fpie |
106 |
filter-flags -fstack-protector |
107 |
replace-flags -ggdb3 -ggdb2 |
108 |
|
109 |
if use amd64 || use ppc64; then |
110 |
! has_multilib_profile && myconf="${myconf} --enable-only64bit" |
111 |
fi |
112 |
|
113 |
# Don't use mpicc unless the user asked for it (bug #258832) |
114 |
if ! use mpi; then |
115 |
myconf="${myconf} --without-mpicc" |
116 |
fi |
117 |
|
118 |
econf ${myconf} |
119 |
} |
120 |
|
121 |
src_install() { |
122 |
emake DESTDIR="${D}" install |
123 |
dodoc AUTHORS FAQ.txt NEWS README* |
124 |
|
125 |
pax-mark m "${D}"/usr/$(get_libdir)/valgrind/*-*-linux |
126 |
} |
127 |
|
128 |
pkg_postinst() { |
129 |
ewarn "Valgrind will not work if glibc does not have debug symbols." |
130 |
ewarn "To fix this you can add splitdebug to FEATURES in make.conf" |
131 |
ewarn "and remerge glibc. See:" |
132 |
ewarn "https://bugs.gentoo.org/show_bug.cgi?id=214065" |
133 |
ewarn "https://bugs.gentoo.org/show_bug.cgi?id=274771" |
134 |
ewarn "https://bugs.gentoo.org/show_bug.cgi?id=388703" |
135 |
} |