1 |
commit: 164cf083dd8c3e7280258ace6178c77281b6ddf7 |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 26 01:55:13 2018 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 26 13:57:51 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=164cf083 |
7 |
|
8 |
mail-filter/mailfilter: drop unused patches |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
mail-filter/mailfilter/files/0.8.2-gcc44.patch | 26 ---------------------- |
13 |
mail-filter/mailfilter/files/0.8.2-gcc46.patch | 20 ----------------- |
14 |
mail-filter/mailfilter/files/0.8.2-openssl-1.patch | 16 ------------- |
15 |
3 files changed, 62 deletions(-) |
16 |
|
17 |
diff --git a/mail-filter/mailfilter/files/0.8.2-gcc44.patch b/mail-filter/mailfilter/files/0.8.2-gcc44.patch |
18 |
deleted file mode 100644 |
19 |
index f1545d5b911..00000000000 |
20 |
--- a/mail-filter/mailfilter/files/0.8.2-gcc44.patch |
21 |
+++ /dev/null |
22 |
@@ -1,26 +0,0 @@ |
23 |
-diff -ur mailfilter-0.8.2_orig/src/header.cc mailfilter-0.8.2/src/header.cc |
24 |
---- mailfilter-0.8.2_orig/src/header.cc 2009-06-07 03:49:57.000000000 +0200 |
25 |
-+++ mailfilter-0.8.2/src/header.cc 2009-08-15 13:05:05.968397778 +0200 |
26 |
-@@ -63,7 +63,6 @@ |
27 |
- * domain-literal = "[" *(dtext / quoted-pair) "]" |
28 |
- */ |
29 |
- |
30 |
-- char* dom; |
31 |
- unsigned int l, i; |
32 |
- |
33 |
- if (!msgid || !*msgid) |
34 |
-@@ -74,12 +73,12 @@ |
35 |
- return -1; |
36 |
- if (msgid[0] != '<' || msgid[l-1] != '>') |
37 |
- return -1; |
38 |
-- if (!(dom = strrchr (msgid, '@'))) |
39 |
-+ if (!(strrchr (msgid, '@'))) |
40 |
- return -1; |
41 |
- |
42 |
- /* TODO: complete parser */ |
43 |
- for (i = 0; i < l; i++) |
44 |
-- if (msgid[i] > 127) |
45 |
-+ if ((unsigned char)msgid[i] > 127) |
46 |
- return -1; |
47 |
- |
48 |
- return 0; |
49 |
|
50 |
diff --git a/mail-filter/mailfilter/files/0.8.2-gcc46.patch b/mail-filter/mailfilter/files/0.8.2-gcc46.patch |
51 |
deleted file mode 100644 |
52 |
index ef1ebe45eba..00000000000 |
53 |
--- a/mail-filter/mailfilter/files/0.8.2-gcc46.patch |
54 |
+++ /dev/null |
55 |
@@ -1,20 +0,0 @@ |
56 |
-Fix building with gcc-4.6 |
57 |
- |
58 |
-https://bugs.gentoo.org/show_bug.cgi?id=366191 |
59 |
- |
60 |
-Part of debian patch by Ricardo Mones <mones@××××××.org> |
61 |
-Fix invalid conversion and addded Ubuntu patch (thanks Ilya Barygin <barygin@×××××.com>) |
62 |
- |
63 |
---- a/src/preferences.cc |
64 |
-+++ b/src/preferences.cc |
65 |
-@@ -82,8 +82,8 @@ |
66 |
- |
67 |
- void Preferences :: init (void) |
68 |
- { |
69 |
-- ((Size_score)(Preferences :: size_score)).score = 0; |
70 |
-- ((Size_score)(Preferences :: size_score)).size = 0; |
71 |
-+ size_score.score = 0; |
72 |
-+ size_score.size = 0; |
73 |
- } |
74 |
- |
75 |
- void Preferences :: kill (void) |
76 |
|
77 |
diff --git a/mail-filter/mailfilter/files/0.8.2-openssl-1.patch b/mail-filter/mailfilter/files/0.8.2-openssl-1.patch |
78 |
deleted file mode 100644 |
79 |
index ad58bbb561f..00000000000 |
80 |
--- a/mail-filter/mailfilter/files/0.8.2-openssl-1.patch |
81 |
+++ /dev/null |
82 |
@@ -1,16 +0,0 @@ |
83 |
-http://bugs.gentoo.org/330717 |
84 |
- |
85 |
---- src/socket.cc |
86 |
-+++ src/socket.cc |
87 |
-@@ -64,7 +64,11 @@ |
88 |
- #ifdef USE_SSL |
89 |
- SSL* ssl; |
90 |
- BIO* sbio; |
91 |
-+ #if OPENSSL_VERSION_NUMBER >= 0x10000000L |
92 |
-+ const SSL_METHOD* ssl_meth; |
93 |
-+ #else |
94 |
- SSL_METHOD* ssl_meth; |
95 |
-+ #endif |
96 |
- SSL_CTX* ssl_ctx; |
97 |
- #endif |
98 |
- |