1 |
commit: 6b588913738657cad6d656ad085ce248263c0d59 |
2 |
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> |
3 |
AuthorDate: Wed Aug 25 14:38:42 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 26 22:32:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b588913 |
7 |
|
8 |
dev-perl/Devel-NYTProf: remove unused patch(es) |
9 |
|
10 |
Package-Manager: Portage-3.0.22, Repoman-3.0.3 |
11 |
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
.../files/Devel-NYTProf-6.06-cpprun.patch | 36 ---------------------- |
15 |
1 file changed, 36 deletions(-) |
16 |
|
17 |
diff --git a/dev-perl/Devel-NYTProf/files/Devel-NYTProf-6.06-cpprun.patch b/dev-perl/Devel-NYTProf/files/Devel-NYTProf-6.06-cpprun.patch |
18 |
deleted file mode 100644 |
19 |
index 786a525a7dc..00000000000 |
20 |
--- a/dev-perl/Devel-NYTProf/files/Devel-NYTProf-6.06-cpprun.patch |
21 |
+++ /dev/null |
22 |
@@ -1,36 +0,0 @@ |
23 |
-From aaa04b28c99e0d2bf244dbcb274b4df6fe6fa50d Mon Sep 17 00:00:00 2001 |
24 |
-From: Kent Fredric <kentnl@g.o> |
25 |
-Date: Tue, 7 Jul 2020 23:08:00 +1200 |
26 |
-Subject: Allow CPP override in ENV |
27 |
- |
28 |
-When Perl is built with -Dcpp="$(gc-getCPP)", the end result is: |
29 |
- |
30 |
-- $Config{cpp} = "${CHOST}-gcc" |
31 |
-- $Config{cpprun} = "${CHOST}-gcc -E" |
32 |
- |
33 |
-And of course, Devel-NYTProf uses the former, and so it tries to compile |
34 |
-the damn header instead of just preprocessing it. |
35 |
- |
36 |
-This provides a correction, and an override. |
37 |
- |
38 |
-Bug: https://github.com/timbunce/devel-nytprof/issues/139 |
39 |
---- |
40 |
- Makefile.PL | 2 +- |
41 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
42 |
- |
43 |
-diff --git a/Makefile.PL b/Makefile.PL |
44 |
-index 60025de..6786e29 100644 |
45 |
---- a/Makefile.PL |
46 |
-+++ b/Makefile.PL |
47 |
-@@ -59,7 +59,7 @@ utime time(), time(), "t/test40pmc.pmc" |
48 |
- |
49 |
- # --- Discover how much of stdio is implemented |
50 |
- |
51 |
--my $cpp = $Config{cpp} || do { |
52 |
-+my $cpp = $ENV{CPP} || $Config{cpprun} || do { |
53 |
- warn "Warning: cpp not found in your perl config. Falling back to 'cat'\n"; |
54 |
- 'cat'; |
55 |
- }; |
56 |
--- |
57 |
-2.27.0 |
58 |
- |