Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/blueness:master commit in: dev-util/valgrind/, dev-util/valgrind/files/
Date: Sun, 08 Jan 2012 19:43:50
Message-Id: 0748e9e370a8540a27f849571256851e962c19e0.blueness@gentoo
1 commit: 0748e9e370a8540a27f849571256851e962c19e0
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 8 19:43:32 2012 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 8 19:43:32 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=0748e9e3
7
8 dev-util/valgrind: moved to tree, bug #397429
9
10 ---
11 dev-util/valgrind/ChangeLog | 8 -
12 dev-util/valgrind/Manifest | 20 ---
13 .../files/valgrind-3.6.0-local-labels.patch | 24 ----
14 .../files/valgrind-3.7.0-automake-1.11.2.patch | 37 -----
15 .../files/valgrind-3.7.0-fix-gcc-regex.patch | 35 -----
16 .../files/valgrind-3.7.0-fno-stack-protector.patch | 12 --
17 .../files/valgrind-3.7.0-non-exec-stack.patch | 138 --------------------
18 .../files/valgrind-3.7.0-respect-flags.patch | 13 --
19 dev-util/valgrind/metadata.xml | 23 ----
20 dev-util/valgrind/valgrind-3.7.0-r2.ebuild | 88 -------------
21 10 files changed, 0 insertions(+), 398 deletions(-)
22
23 diff --git a/dev-util/valgrind/ChangeLog b/dev-util/valgrind/ChangeLog
24 deleted file mode 100644
25 index c555d56..0000000
26 --- a/dev-util/valgrind/ChangeLog
27 +++ /dev/null
28 @@ -1,8 +0,0 @@
29 -# ChangeLog for dev-util/valgrind
30 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: $
32 -
33 - 07 Jan 2012; Anthony G. Basile <blueness@g.o>
34 - files/valgrind-3.7.0-automake-1.11.2.patch:
35 - Testing patch from https://bugs.kde.org/show_bug.cgi?id=290719
36 -
37
38 diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
39 deleted file mode 100644
40 index 9b544fd..0000000
41 --- a/dev-util/valgrind/Manifest
42 +++ /dev/null
43 @@ -1,20 +0,0 @@
44 ------BEGIN PGP SIGNED MESSAGE-----
45 -Hash: SHA256
46 -
47 -AUX valgrind-3.6.0-local-labels.patch 1388 RMD160 e9c0064d1e857f1e616c5d9ca7a03e78eae3d5ab SHA1 173820d5671f56c864850c2d8df9d6d301dfda38 SHA256 34ae13eda378677f1e662e0813f138de9b897d6592d20872c58ed8ac1bcf7def
48 -AUX valgrind-3.7.0-automake-1.11.2.patch 1436 RMD160 f0c1275c3eaebf8765232dde57557903ba1e07bc SHA1 1604c3060d51dd7ebbe554901ec19632924d4520 SHA256 c5cf935bcb74c1e890183602d34a3d86eae65844cfe034e517dc3667e48b278d
49 -AUX valgrind-3.7.0-fix-gcc-regex.patch 1723 RMD160 f4fdc113f58d7151315f6a65a262471d4f8a75db SHA1 7ed537bcc935a40001a3d11fbff353e9cee342d5 SHA256 3a587d7dcc1ed447cc006cfef0cfb3597f17c96ac8adc7adbdc14d313a1d6852
50 -AUX valgrind-3.7.0-fno-stack-protector.patch 554 RMD160 df9a699ff35cf867e17b04a200c5e68015955167 SHA1 ed6368061d47448a597f6a2a9635f66e244b5a13 SHA256 83ed90a0e8a8b06dca8aad4e7f1a12e3c84621d502427c0913b72740b310f479
51 -AUX valgrind-3.7.0-non-exec-stack.patch 5644 RMD160 86178ee97653b2b4074e98e2342c5104583fa759 SHA1 8074a41b2e8915fa3a63ce827a14088949057bed SHA256 4de10480b6e27379083203df3cfedccdace68d0aad611440478ca2f1b2f89751
52 -AUX valgrind-3.7.0-respect-flags.patch 360 RMD160 b3ca9a393a68d312fa12cd272720e67c8661cfc4 SHA1 2ca0d9474bd4a81d45981bc8433359832d1ce8b9 SHA256 6b1e5938ecafc29428a698296423c71924848b1e746d6ee8a0f1dd91141f1019
53 -DIST valgrind-3.7.0.tar.bz2 6624216 RMD160 6ffbf04a8ff4eb2555d1a6bd87c0656828830761 SHA1 b412f49895bb8a78fc314047119760b5d36e5b5e SHA256 5d62c0330f1481fe2c593249192fa68ff454c19c34343978cc9ce91aa324cbf6
54 -EBUILD valgrind-3.7.0-r2.ebuild 2827 RMD160 2bd96b971686e20678b49de02f9a705db9c7ca2f SHA1 c24fc712b76261be8161a3939f9ae443b983ef45 SHA256 abae11fa86b3c4d8f445d7337e1078b563952b7b09bf70c216c260065bbe850e
55 -MISC ChangeLog 285 RMD160 8c9003156bddb7e8ea454ad564e3047112450385 SHA1 175ba4f2588f532bcab97e199c4c663569c7bf91 SHA256 559c7ad8bcf2de8fdb4bc9271ac63c3c53bf0460918ac0ea65570339f133b942
56 -MISC metadata.xml 980 RMD160 7441340fd2659400fb15d857446dac8f7b3f1176 SHA1 07af40cb309fcd80ca639dea5110b1109ce72427 SHA256 513a0d653dfae858a7f426745bd0abe5dcbc8748d468310fdce156e0e21e2cd0
57 ------BEGIN PGP SIGNATURE-----
58 -Version: GnuPG v2.0.17 (GNU/Linux)
59 -
60 -iEYEAREIAAYFAk8HnBMACgkQl5yvQNBFVTWhkACeLaA7lEqlDnWpKGAX3HuWHGVP
61 -hdoAoJ9TyjVRonsLFbejG8Qjhw7P0Z4u
62 -=wU7A
63 ------END PGP SIGNATURE-----
64
65 diff --git a/dev-util/valgrind/files/valgrind-3.6.0-local-labels.patch b/dev-util/valgrind/files/valgrind-3.6.0-local-labels.patch
66 deleted file mode 100644
67 index 68e6822..0000000
68 --- a/dev-util/valgrind/files/valgrind-3.6.0-local-labels.patch
69 +++ /dev/null
70 @@ -1,24 +0,0 @@
71 ---- coregrind/m_libcassert.c 2010-10-21 04:19:45.000000000 +0800
72 -+++ coregrind/m_libcassert.c 2010-10-24 20:23:17.800001876 +0800
73 -@@ -81,8 +81,8 @@
74 - { UInt cia, r1, lr; \
75 - __asm__ __volatile__( \
76 - "mflr 0;" /* r0 = lr */ \
77 -- "bl m_libcassert_get_ip;" /* lr = pc */ \
78 -- "m_libcassert_get_ip:\n" \
79 -+ "bl 0f;" /* lr = pc */ \
80 -+ "0:\n" \
81 - "mflr %0;" /* %0 = pc */ \
82 - "mtlr 0;" /* restore lr */ \
83 - "mr %1,1;" /* %1 = r1 */ \
84 -@@ -100,8 +100,8 @@
85 - { ULong cia, r1, lr; \
86 - __asm__ __volatile__( \
87 - "mflr 0;" /* r0 = lr */ \
88 -- "bl .m_libcassert_get_ip;" /* lr = pc */ \
89 -- ".m_libcassert_get_ip:\n" \
90 -+ "bl 0f;" /* lr = pc */ \
91 -+ "0:\n" \
92 - "mflr %0;" /* %0 = pc */ \
93 - "mtlr 0;" /* restore lr */ \
94 - "mr %1,1;" /* %1 = r1 */ \
95
96 diff --git a/dev-util/valgrind/files/valgrind-3.7.0-automake-1.11.2.patch b/dev-util/valgrind/files/valgrind-3.7.0-automake-1.11.2.patch
97 deleted file mode 100644
98 index b0b57bf..0000000
99 --- a/dev-util/valgrind/files/valgrind-3.7.0-automake-1.11.2.patch
100 +++ /dev/null
101 @@ -1,37 +0,0 @@
102 -From: Gregorio Guidi <gregorio.guidi@×××××.com>
103 -
104 -Retain the old behavior of the build system even with automake 1.11.2.
105 -
106 -Reported-by: Oleg Bulatov <dmage@××.ru>
107 -X-Gentoo-Bug: 397429
108 -X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=397429
109 -X-KDE-Bug: 290719
110 -X-KDE-Bug-URL: https://bugs.kde.org/show_bug.cgi?id=290719
111 -Signed-off-by: Anthony G. Basile <blueness@g.o>
112 -
113 -diff -Nur valgrind-3.7.0.orig/coregrind/Makefile.am valgrind-3.7.0/coregrind/Makefile.am
114 ---- valgrind-3.7.0.orig/coregrind/Makefile.am 2011-10-27 12:55:06.000000000 +0200
115 -+++ valgrind-3.7.0/coregrind/Makefile.am 2012-01-06 17:23:48.717115986 +0100
116 -@@ -495,7 +495,8 @@
117 - m_gdbserver/powerpc-altivec64l.xml
118 -
119 - # so as to make sure these get copied into the install tree
120 --pkglib_DATA = $(GDBSERVER_XML_FILES)
121 -+vgdatadir = $(pkglibdir)
122 -+vgdata_DATA = $(GDBSERVER_XML_FILES)
123 -
124 - # so as to make sure these get copied into the tarball
125 - EXTRA_DIST += $(GDBSERVER_XML_FILES)
126 -diff -Nur valgrind-3.7.0.orig/Makefile.am valgrind-3.7.0/Makefile.am
127 ---- valgrind-3.7.0.orig/Makefile.am 2011-10-26 23:24:45.000000000 +0200
128 -+++ valgrind-3.7.0/Makefile.am 2012-01-06 17:23:17.445114847 +0100
129 -@@ -61,7 +61,8 @@
130 - # default.supp, as it is built from the base .supp files at compile-time.
131 - dist_noinst_DATA = $(SUPP_FILES)
132 -
133 --pkglib_DATA = default.supp
134 -+vgdatadir = $(pkglibdir)
135 -+vgdata_DATA = default.supp
136 -
137 - pkgconfigdir = $(libdir)/pkgconfig
138 - pkgconfig_DATA = valgrind.pc
139
140 diff --git a/dev-util/valgrind/files/valgrind-3.7.0-fix-gcc-regex.patch b/dev-util/valgrind/files/valgrind-3.7.0-fix-gcc-regex.patch
141 deleted file mode 100644
142 index feabf06..0000000
143 --- a/dev-util/valgrind/files/valgrind-3.7.0-fix-gcc-regex.patch
144 +++ /dev/null
145 @@ -1,35 +0,0 @@
146 -Index: configure.in
147 -===================================================================
148 ---- configure.in (revision 12273)
149 -+++ configure.in (revision 12274)
150 -@@ -98,18 +98,21 @@
151 - # We don't want gcc < 3.0
152 - AC_MSG_CHECKING([for a supported version of gcc])
153 -
154 --# Try to get the gcc version, sed-ing out some unexpected stuff
155 --# that appears with the default gcc on OSX 10.6 and 10.7 respectively.
156 --# Without this, the version number comes out as 686, 10 or 11 :-(
157 -+# Obtain the compiler version.
158 - #
159 --# i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
160 --# i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
161 -+# A few examples of how the ${CC} --version output looks like:
162 - #
163 -+# Arch Linux: i686-pc-linux-gnu-gcc (GCC) 4.6.2
164 -+# Debian Linux: gcc (Debian 4.3.2-1.1) 4.3.2
165 -+# openSUSE: gcc (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]
166 -+# Exherbo Linux: x86_64-pc-linux-gnu-gcc (Exherbo gcc-4.6.2) 4.6.2
167 -+# OS/X 10.6: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
168 -+# OS/X 10.7: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
169 -+# Clang: clang version 2.9 (tags/RELEASE_29/final)
170 -+#
171 - [gcc_version=`${CC} --version \
172 -- | head -n 1 \
173 -- | $SED 's/i686-apple-darwin10//' \
174 -- | $SED 's/i686-apple-darwin11//' \
175 -- | $SED 's/^[^0-9]*\([0-9.]*\).*$/\1/'`]
176 -+ | $SED -n -e 's/[^ ]*gcc[^ ]* ([^)]*) \([0-9.]*\).*$/\1/p' \
177 -+ -e 's/[^ ]*clang version \([0-9.]*\).*$/\1/p'`]
178 -
179 - is_clang="notclang"
180 - if test "x`${CC} --version | head -n 1 | $SED 's/\(clang\) version.*/\1/'`" = "xclang" ; then
181
182 diff --git a/dev-util/valgrind/files/valgrind-3.7.0-fno-stack-protector.patch b/dev-util/valgrind/files/valgrind-3.7.0-fno-stack-protector.patch
183 deleted file mode 100644
184 index 6af4553..0000000
185 --- a/dev-util/valgrind/files/valgrind-3.7.0-fno-stack-protector.patch
186 +++ /dev/null
187 @@ -1,12 +0,0 @@
188 -diff -Naur valgrind-3.7.0.orig//Makefile.all.am valgrind-3.7.0/Makefile.all.am
189 ---- valgrind-3.7.0.orig//Makefile.all.am 2011-10-26 17:24:45.000000000 -0400
190 -+++ valgrind-3.7.0/Makefile.all.am 2011-11-10 16:18:18.000000000 -0500
191 -@@ -82,7 +82,7 @@
192 - # performance and get whatever useful warnings we can out of gcc.
193 - # -fno-builtin is important for defeating LLVM's idiom recognition
194 - # that somehow causes VG_(memset) to get into infinite recursion.
195 --AM_CFLAGS_BASE = \
196 -+AM_CFLAGS_BASE = -fno-stack-protector \
197 - -O2 -g \
198 - -Wall \
199 - -Wmissing-prototypes \
200
201 diff --git a/dev-util/valgrind/files/valgrind-3.7.0-non-exec-stack.patch b/dev-util/valgrind/files/valgrind-3.7.0-non-exec-stack.patch
202 deleted file mode 100644
203 index d6cc26d..0000000
204 --- a/dev-util/valgrind/files/valgrind-3.7.0-non-exec-stack.patch
205 +++ /dev/null
206 @@ -1,138 +0,0 @@
207 -diff -Naur valgrind-3.7.0.orig//coregrind/Makefile.am valgrind-3.7.0/coregrind/Makefile.am
208 ---- valgrind-3.7.0.orig//coregrind/Makefile.am 2011-11-10 20:02:47.000000000 -0500
209 -+++ valgrind-3.7.0/coregrind/Makefile.am 2011-11-10 20:03:00.000000000 -0500
210 -@@ -292,14 +292,6 @@
211 - m_demangle/demangle.c \
212 - m_demangle/dyn-string.c \
213 - m_demangle/safe-ctype.c \
214 -- m_dispatch/dispatch-x86-linux.S \
215 -- m_dispatch/dispatch-amd64-linux.S \
216 -- m_dispatch/dispatch-ppc32-linux.S \
217 -- m_dispatch/dispatch-ppc64-linux.S \
218 -- m_dispatch/dispatch-arm-linux.S \
219 -- m_dispatch/dispatch-s390x-linux.S \
220 -- m_dispatch/dispatch-x86-darwin.S \
221 -- m_dispatch/dispatch-amd64-darwin.S \
222 - m_gdbserver/m_gdbserver.c \
223 - m_gdbserver/inferiors.c \
224 - m_gdbserver/m_gdbserver.c \
225 -@@ -322,8 +314,6 @@
226 - m_initimg/initimg-pathscan.c \
227 - m_mach/mach_basics.c \
228 - m_mach/mach_msg.c \
229 -- m_mach/mach_traps-x86-darwin.S \
230 -- m_mach/mach_traps-amd64-darwin.S \
231 - m_replacemalloc/replacemalloc_core.c \
232 - m_scheduler/scheduler.c \
233 - m_scheduler/sema.c \
234 -@@ -335,14 +325,6 @@
235 - m_sigframe/sigframe-s390x-linux.c \
236 - m_sigframe/sigframe-x86-darwin.c \
237 - m_sigframe/sigframe-amd64-darwin.c \
238 -- m_syswrap/syscall-x86-linux.S \
239 -- m_syswrap/syscall-amd64-linux.S \
240 -- m_syswrap/syscall-ppc32-linux.S \
241 -- m_syswrap/syscall-ppc64-linux.S \
242 -- m_syswrap/syscall-arm-linux.S \
243 -- m_syswrap/syscall-s390x-linux.S \
244 -- m_syswrap/syscall-x86-darwin.S \
245 -- m_syswrap/syscall-amd64-darwin.S \
246 - m_syswrap/syswrap-main.c \
247 - m_syswrap/syswrap-generic.c \
248 - m_syswrap/syswrap-linux.c \
249 -@@ -361,6 +343,24 @@
250 - m_ume/main.c \
251 - m_ume/script.c
252 -
253 -+COREGRIND_SOURCES_COMMON += \
254 -+ m_dispatch/dispatch-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S \
255 -+ m_syswrap/syscall-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S
256 -+
257 -+if VGCONF_HAVE_PLATFORM_SEC
258 -+COREGRIND_SOURCES_COMMON += \
259 -+ m_dispatch/dispatch-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S \
260 -+ m_syswrap/syscall-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S
261 -+endif
262 -+
263 -+if VGCONF_OS_IS_DARWIN
264 -+COREGRIND_SOURCES_COMMON += \
265 -+ m_start-@VGCONF_ARCH_PRI@-darwin.S \
266 -+ m_start-@VGCONF_ARCH_SEC@-darwin.S \
267 -+ m_mach/mach_traps-@VGCONF_ARCH_PRI@-darwin.S \
268 -+ m_mach/mach_traps-@VGCONF_ARCH_SEC@-darwin.S
269 -+endif
270 -+
271 - libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
272 - $(COREGRIND_SOURCES_COMMON)
273 - nodist_libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
274 -diff -Naur valgrind-3.7.0.orig//coregrind/m_dispatch/dispatch-amd64-linux.S valgrind-3.7.0/coregrind/m_dispatch/dispatch-amd64-linux.S
275 ---- valgrind-3.7.0.orig//coregrind/m_dispatch/dispatch-amd64-linux.S 2011-10-26 17:24:42.000000000 -0400
276 -+++ valgrind-3.7.0/coregrind/m_dispatch/dispatch-amd64-linux.S 2011-11-10 20:07:40.000000000 -0500
277 -@@ -349,11 +349,11 @@
278 - ret
279 - .size VG_(run_a_noredir_translation), .-VG_(run_a_noredir_translation)
280 -
281 -+#endif // defined(VGP_amd64_linux)
282 -+
283 - /* Let the linker know we don't need an executable stack */
284 - .section .note.GNU-stack,"",@progbits
285 -
286 --#endif // defined(VGP_amd64_linux)
287 --
288 - /*--------------------------------------------------------------------*/
289 - /*--- end ---*/
290 - /*--------------------------------------------------------------------*/
291 -diff -Naur valgrind-3.7.0.orig//coregrind/m_dispatch/dispatch-x86-linux.S valgrind-3.7.0/coregrind/m_dispatch/dispatch-x86-linux.S
292 ---- valgrind-3.7.0.orig//coregrind/m_dispatch/dispatch-x86-linux.S 2011-10-26 17:24:42.000000000 -0400
293 -+++ valgrind-3.7.0/coregrind/m_dispatch/dispatch-x86-linux.S 2011-11-10 20:04:07.000000000 -0500
294 -@@ -320,12 +320,11 @@
295 - ret
296 - .size VG_(run_a_noredir_translation), .-VG_(run_a_noredir_translation)
297 -
298 --
299 -+#endif // defined(VGP_x86_linux)
300 -+
301 - /* Let the linker know we don't need an executable stack */
302 - .section .note.GNU-stack,"",@progbits
303 -
304 --#endif // defined(VGP_x86_linux)
305 --
306 - /*--------------------------------------------------------------------*/
307 - /*--- end ---*/
308 - /*--------------------------------------------------------------------*/
309 -diff -Naur valgrind-3.7.0.orig//coregrind/m_syswrap/syscall-amd64-linux.S valgrind-3.7.0/coregrind/m_syswrap/syscall-amd64-linux.S
310 ---- valgrind-3.7.0.orig//coregrind/m_syswrap/syscall-amd64-linux.S 2011-11-10 20:02:47.000000000 -0500
311 -+++ valgrind-3.7.0/coregrind/m_syswrap/syscall-amd64-linux.S 2011-11-10 20:03:00.000000000 -0500
312 -@@ -205,11 +205,11 @@
313 - ML_(blksys_finished): .quad 5b
314 - .previous
315 -
316 -+#endif // defined(VGP_amd64_linux)
317 -+
318 - /* Let the linker know we don't need an executable stack */
319 - .section .note.GNU-stack,"",@progbits
320 -
321 --#endif // defined(VGP_amd64_linux)
322 --
323 - /*--------------------------------------------------------------------*/
324 - /*--- end ---*/
325 - /*--------------------------------------------------------------------*/
326 -diff -Naur valgrind-3.7.0.orig//coregrind/m_syswrap/syscall-x86-linux.S valgrind-3.7.0/coregrind/m_syswrap/syscall-x86-linux.S
327 ---- valgrind-3.7.0.orig//coregrind/m_syswrap/syscall-x86-linux.S 2011-11-10 20:02:47.000000000 -0500
328 -+++ valgrind-3.7.0/coregrind/m_syswrap/syscall-x86-linux.S 2011-11-10 20:03:00.000000000 -0500
329 -@@ -164,12 +164,12 @@
330 - ML_(blksys_committed): .long 4b
331 - ML_(blksys_finished): .long 5b
332 - .previous
333 --
334 --/* Let the linker know we don't need an executable stack */
335 --.section .note.GNU-stack,"",@progbits
336 -
337 - #endif // defined(VGP_x86_linux)
338 -
339 -+/* Let the linker know we don't need an executable stack */
340 -+.section .note.GNU-stack,"",@progbits
341 -+
342 - /*--------------------------------------------------------------------*/
343 - /*--- end ---*/
344 - /*--------------------------------------------------------------------*/
345
346 diff --git a/dev-util/valgrind/files/valgrind-3.7.0-respect-flags.patch b/dev-util/valgrind/files/valgrind-3.7.0-respect-flags.patch
347 deleted file mode 100644
348 index 860e09c..0000000
349 --- a/dev-util/valgrind/files/valgrind-3.7.0-respect-flags.patch
350 +++ /dev/null
351 @@ -1,13 +0,0 @@
352 -diff -Naur valgrind-3.7.0.orig//mpi/Makefile.am valgrind-3.7.0/mpi/Makefile.am
353 ---- valgrind-3.7.0.orig//mpi/Makefile.am 2011-10-26 17:24:23.000000000 -0400
354 -+++ valgrind-3.7.0/mpi/Makefile.am 2011-11-10 16:03:14.000000000 -0500
355 -@@ -7,9 +7,6 @@
356 - CC = $(MPI_CC)
357 - DEFS =
358 - DEFAULT_INCLUDES =
359 --CPPFLAGS =
360 --CFLAGS =
361 --LDFLAGS =
362 -
363 - EXTRA_DIST = \
364 - mpiwrap_type_test.c
365
366 diff --git a/dev-util/valgrind/metadata.xml b/dev-util/valgrind/metadata.xml
367 deleted file mode 100644
368 index 92870ed..0000000
369 --- a/dev-util/valgrind/metadata.xml
370 +++ /dev/null
371 @@ -1,23 +0,0 @@
372 -<?xml version="1.0" encoding="UTF-8"?>
373 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
374 -<pkgmetadata>
375 - <maintainer>
376 - <email>blueness@g.o</email>
377 - </maintainer>
378 - <longdescription>
379 - Valgrind is a GPL'd tool to help you find memory-management problems
380 - in your programs. When a program is run under Valgrind's supervision,
381 - all reads and writes of memory are checked, and calls to
382 - malloc/new/free/delete are intercepted. As a result, Valgrind can
383 - detect problems such as
384 -
385 - - Use of uninitialised memory
386 - - Reading/writing memory after it has been free'd
387 - - Reading/writing off the end of malloc'd blocks
388 - - Reading/writing inappropriate areas on the stack
389 - - Memory leaks -- where pointers to malloc'd blocks are lost forever
390 - - Passing of uninitialised and/or unaddressible memory to system calls
391 - - Mismatched use of malloc/new/new [] vs free/delete/delete []
392 - - Some abuses of the POSIX Pthreads API
393 - </longdescription>
394 -</pkgmetadata>
395
396 diff --git a/dev-util/valgrind/valgrind-3.7.0-r2.ebuild b/dev-util/valgrind/valgrind-3.7.0-r2.ebuild
397 deleted file mode 100644
398 index 729a48a..0000000
399 --- a/dev-util/valgrind/valgrind-3.7.0-r2.ebuild
400 +++ /dev/null
401 @@ -1,88 +0,0 @@
402 -# Copyright 1999-2011 Gentoo Foundation
403 -# Distributed under the terms of the GNU General Public License v2
404 -# $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 $
405 -
406 -EAPI=4
407 -inherit autotools eutils flag-o-matic toolchain-funcs multilib pax-utils
408 -
409 -DESCRIPTION="An open-source memory debugger for GNU/Linux"
410 -HOMEPAGE="http://www.valgrind.org"
411 -SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2"
412 -
413 -LICENSE="GPL-2"
414 -SLOT="0"
415 -KEYWORDS="-* ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
416 -IUSE="mpi"
417 -
418 -DEPEND="mpi? ( virtual/mpi )"
419 -RDEPEND="${DEPEND}"
420 -
421 -src_prepare() {
422 - # Correct hard coded doc location
423 - sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
424 -
425 - # Respect CFLAGS, LDFLAGS
426 - epatch "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
427 -
428 - # Changing Makefile.all.am to disable SSP
429 - epatch "${FILESDIR}"/${PN}-3.7.0-fno-stack-protector.patch
430 -
431 - # Yet more local labels, this time for ppc32 & ppc64
432 - epatch "${FILESDIR}"/${PN}-3.6.0-local-labels.patch
433 -
434 - # Don't build in empty assembly files for other platforms or we'll get a QA
435 - # warning about executable stacks.
436 - epatch "${FILESDIR}"/${PN}-3.7.0-non-exec-stack.patch
437 -
438 - # Fix the regex to get gcc's version
439 - epatch "${FILESDIR}"/${PN}-3.7.0-fix-gcc-regex.patch
440 -
441 - # Fix stricter use of dir variables, bug #397429
442 - epatch "${FILESDIR}"/${PN}-3.7.0-automake-1.11.2.patch
443 -
444 - # Regenerate autotools files
445 - eautoreconf
446 -}
447 -
448 -src_configure() {
449 - local myconf
450 -
451 - # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression"
452 - # while compiling insn_sse.c in none/tests/x86
453 - # -fpie valgrind seemingly hangs when built with pie on
454 - # amd64 (bug #102157)
455 - # -fstack-protector more undefined references to __guard and __stack_smash_handler
456 - # because valgrind doesn't link to glibc (bug #114347)
457 - # -ggdb3 segmentation fault on startup
458 - filter-flags -fomit-frame-pointer
459 - filter-flags -fpie
460 - filter-flags -fstack-protector
461 - replace-flags -ggdb3 -ggdb2
462 -
463 - if use amd64 || use ppc64; then
464 - ! has_multilib_profile && myconf="${myconf} --enable-only64bit"
465 - fi
466 -
467 - # Don't use mpicc unless the user asked for it (bug #258832)
468 - if ! use mpi; then
469 - myconf="${myconf} --without-mpicc"
470 - fi
471 -
472 - econf ${myconf}
473 -}
474 -
475 -src_install() {
476 - emake DESTDIR="${D}" install
477 - dodoc AUTHORS FAQ.txt NEWS README*
478 -
479 - pax-mark m "${D}"/usr/$(get_libdir)/valgrind/*-*-linux
480 -}
481 -
482 -pkg_postinst() {
483 - ewarn "Valgrind will not work if glibc does not have debug symbols."
484 - ewarn "To fix this you can add splitdebug to FEATURES in make.conf"
485 - ewarn "and remerge glibc. See:"
486 - ewarn "https://bugs.gentoo.org/show_bug.cgi?id=214065"
487 - ewarn "https://bugs.gentoo.org/show_bug.cgi?id=274771"
488 - ewarn "https://bugs.gentoo.org/show_bug.cgi?id=388703"
489 -}