1 |
commit: 4861cd8975675c4732dfa4c30d877edac36bf5e6 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Oct 17 15:57:21 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 24 02:44:34 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4861cd89 |
7 |
|
8 |
dev-perl/Proc-ProcessTable: remove unused patches |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/5969 |
11 |
|
12 |
.../files/0.45-fix-format-errors.patch | 30 ---------------------- |
13 |
.../Proc-ProcessTable/files/0.45-pthread.patch | 15 ----------- |
14 |
2 files changed, 45 deletions(-) |
15 |
|
16 |
diff --git a/dev-perl/Proc-ProcessTable/files/0.45-fix-format-errors.patch b/dev-perl/Proc-ProcessTable/files/0.45-fix-format-errors.patch |
17 |
deleted file mode 100644 |
18 |
index c7bbec99344..00000000000 |
19 |
--- a/dev-perl/Proc-ProcessTable/files/0.45-fix-format-errors.patch |
20 |
+++ /dev/null |
21 |
@@ -1,30 +0,0 @@ |
22 |
-https://rt.cpan.org/Public/Bug/Display.html?id=48445 |
23 |
---- Proc-ProcessTable-0.45/os/Linux.c |
24 |
-+++ Proc-ProcessTable-0.45/os/Linux.c |
25 |
-@@ -397,7 +397,7 @@ |
26 |
- |
27 |
- /* copy the path onto our obstack, set the value (somewhere in pts) |
28 |
- * and free the results of canonicalize_file_name */ |
29 |
-- obstack_printf(mem_pool, link); |
30 |
-+ obstack_printf(mem_pool, "%s", link); |
31 |
- obstack_1grow(mem_pool, '\0'); |
32 |
- |
33 |
- *ptr = (char *) obstack_finish(mem_pool); |
34 |
-@@ -618,7 +618,7 @@ |
35 |
- bzero(prs, sizeof(struct procstat)); |
36 |
- |
37 |
- /* intilize the format string */ |
38 |
-- obstack_printf(&mem_pool, get_string(STR_DEFAULT_FORMAT)); |
39 |
-+ obstack_printf(&mem_pool, "%s", get_string(STR_DEFAULT_FORMAT)); |
40 |
- obstack_1grow(&mem_pool, '\0'); |
41 |
- format_str = (char *) obstack_finish(&mem_pool); |
42 |
- |
43 |
---- Proc-ProcessTable-0.45/ProcessTable.xs |
44 |
-+++ Proc-ProcessTable-0.45/ProcessTable.xs |
45 |
-@@ -388,5 +388,5 @@ |
46 |
- char* error; |
47 |
- |
48 |
- if( (error = OS_initialize()) != NULL ){ |
49 |
-- croak(error); |
50 |
-+ croak("%s", error); |
51 |
- } |
52 |
|
53 |
diff --git a/dev-perl/Proc-ProcessTable/files/0.45-pthread.patch b/dev-perl/Proc-ProcessTable/files/0.45-pthread.patch |
54 |
deleted file mode 100644 |
55 |
index 537e2926c4d..00000000000 |
56 |
--- a/dev-perl/Proc-ProcessTable/files/0.45-pthread.patch |
57 |
+++ /dev/null |
58 |
@@ -1,15 +0,0 @@ |
59 |
-https://rt.cpan.org/Public/Bug/Display.html?id=46861 |
60 |
---- Proc-ProcessTable-0.45/hints/linux.pl |
61 |
-+++ Proc-ProcessTable-0.45/hints/linux.pl |
62 |
-@@ -1 +1,11 @@ |
63 |
-+# We might have a non-threading perl, which doesn't add this |
64 |
-+# necessary link option. |
65 |
-+use Config; |
66 |
-+my $thread_lib = "-lpthread"; |
67 |
-+ |
68 |
-+if( $Config{libs} !~ /$thread_lib/ ) { |
69 |
-+ $self->{LIBS} ||= []; |
70 |
-+ push @{ $self->{LIBS} }, $thread_lib; |
71 |
-+} |
72 |
-+ |
73 |
- symlink "os/Linux.c", "OS.c" || die "Could not link os/Linux.c to os/OS.c\n"; |