summaryrefslogtreecommitdiff
path: root/mail-mta/nullmailer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
commitd18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch)
tree4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /mail-mta/nullmailer
parente748ba9741f6540f4675c23e3e37b73e822c13a4 (diff)
gentoo resync : 15.06.2021
Diffstat (limited to 'mail-mta/nullmailer')
-rw-r--r--mail-mta/nullmailer/Manifest3
-rw-r--r--mail-mta/nullmailer/files/nullmailer-2.2-c++11.patch36
-rw-r--r--mail-mta/nullmailer/nullmailer-2.2-r1.ebuild1
3 files changed, 39 insertions, 1 deletions
diff --git a/mail-mta/nullmailer/Manifest b/mail-mta/nullmailer/Manifest
index db9aed50d792..f0acad28087d 100644
--- a/mail-mta/nullmailer/Manifest
+++ b/mail-mta/nullmailer/Manifest
@@ -1,8 +1,9 @@
AUX init.d-nullmailer-r6 1180 BLAKE2B fdfc17abfac24faa184d9cfe8fe3597f09bfe258ca44c41db05d91e0a086c8b52ed12f722f0ce5ecf1b9b5b11fc420cf13cc9127b849150be87fdd7bce94d859 SHA512 951313ba50dacfbfef440ad32bb4196e276bbe9fb636f05d8e311bd7bfea8e89f135a8e48c9df797031517125c848421dddb41215553144e384d98587c74be8d
+AUX nullmailer-2.2-c++11.patch 1056 BLAKE2B c950e4be607f431576eebf380c0b8c1642e8606c6bb9e5b47beebf912b08196c4cbae2e865a959eb0eb79a8fb53830fb0288c3b144b4bb997f4985625a1bce6a SHA512 7b76ad1585e05e9e0b9fc2a21d55b69c4ee2eafec63281fd2cd4a5164d17fd6b797c7967d32827f27a02f2a006676676ecea4fec90a7f15221952909f3ed5159
AUX nullmailer-2.2-disable-dns-using-test.patch 895 BLAKE2B 5b37129452e13c526a391580fb4816bf81c0db7adbed56d2e51f2948fe43e67bb7e1167ebf1ed1d589194204942efc985f18e14e5d2cd495a20f6df051519fa3 SHA512 d16592477612a716a8883ada1f18c34a4add81cfcfdda252705090e1f0b59f22a9bda9fe26bf950a78e21b9a69d20662825461669db72269280b7f82a1f8f8d9
AUX nullmailer-2.2-disable-smtp-auth-tests.patch 2383 BLAKE2B 07f2fc7517df280fac5db9dc1db1d8937f6773a26668444df71ffb3593d6da4d0a35f74b51d66c019a84e6ef146da12fe60bc5517f543adcc5984060feebe95b SHA512 fc3bbcd8accd5a37b8292c6fb3e935ab1cd35d4a67bb224eadf48ff54b3b00508d6496e3d40c4546a966ce5dd6c297822a4e76a6b9e69d0ce47dd4e0e3883e47
AUX nullmailer-2.2-fix-test-racecondition.patch 890 BLAKE2B 7d12af8a9b6071f11e70c6aedbe0471f042c2c2e611eedf768071715b7f42a94b2b41e814a87dd87777810cbb823d20138d40f6aa3aba93ebaec89ebb6d9e2f3 SHA512 10873e538dbc89e8899047e732515d30108b25fd0ff6bb2fc695f5790a94ac32629f41c470a2fec951357169fead36ee4512f543ad0e02c52f09799334b815c7
AUX remotes.sample-2.0 920 BLAKE2B 26e777624086267e543354f130d3abc9591d832afbd80b8efd1fd2ce2391ed16641877077d90cef7d491a844e94fec3cba0a45dd452aa7f29151dd5873871200 SHA512 21694c7cceb3bdd743e30e2241b5e3293a3ad0fcdc4345d200f2e81c26b72b8a53c6cc3912a4e5f1de6411658a2144803746b44b59d48024cb3de33d72238354
DIST nullmailer-2.2.tar.gz 257740 BLAKE2B 18821caa1a377a899e3fedc84530d7c672f345cafb627da05e6c7bcd7d2708d54fc4ff4b761a6a23b2ddbabe73514473a5ec2abf3182dce2f5d3d4fbe3618fed SHA512 21b29d59f3c386c13ce4541ae11dc5cd69f842085479d7fc9a69a540abc608ce5c1825f06bd3566536b392931f7eeb1b2d35addd816849e6f431877bb18c8268
-EBUILD nullmailer-2.2-r1.ebuild 4277 BLAKE2B 652af150e6d5cdca2eac94ee4e37f447e857879b7ff3ca165fbbc9784706eedd4ff8b1e55122692b864e5e0e19a0ab490265d8c39f645291bf4f2aa5ad93330f SHA512 fbebb5b430234dd4d6c3cfbe272dff0561f0087230adf240603145f0bfe27188960df267688bf612b36db44b383c022f1339351c9576e969e050d4ac5af264a0
+EBUILD nullmailer-2.2-r1.ebuild 4309 BLAKE2B faa371033303a70a5b9b4233babaf616277468e0c872dc1c50b04f9ecb91a0ae80b1a373b9e28f844a6eada0668fc498c84d2209e8f511348874aa150fa9ac5d SHA512 cc4496d69d121b01c30164228954b32df22d894d426f33c835b8dc7d98061393c82a2ad1372c59d0bb434dbac9e4c76594b6b57e2e24a945a61b04383d6ca345
MISC metadata.xml 342 BLAKE2B ac05adbff1c06a41efb8b6c01995d7061302e3e829fa07008538aef00de9ef00e8e665a2d45e51e0886d092a9f492ac1cb194f9ab614b944147f9a8235608c71 SHA512 bde55b4d0d452321cab14b1f38dcf2f27caa6586acc1748b9be1cb6981c0e4e90e909129d3700f49a7405f8baba80c3182d6ce84c75260a87019e8be593bc091
diff --git a/mail-mta/nullmailer/files/nullmailer-2.2-c++11.patch b/mail-mta/nullmailer/files/nullmailer-2.2-c++11.patch
new file mode 100644
index 000000000000..ac2eb23a338a
--- /dev/null
+++ b/mail-mta/nullmailer/files/nullmailer-2.2-c++11.patch
@@ -0,0 +1,36 @@
+From f63dcd3d7ec69a7150f305ba81380988e0a1e38d Mon Sep 17 00:00:00 2001
+From: Denis Pronin <dannftk@yandex.ru>
+Date: Tue, 25 Feb 2020 10:06:41 +0300
+Subject: [PATCH] fixed compilation with c++11 standard
+
+Signed-off-by: Denis Pronin <dannftk@yandex.ru>
+---
+ src/inject.cc | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/src/inject.cc b/src/inject.cc
+index 0a555b2..189a70a 100644
+--- a/src/inject.cc
++++ b/src/inject.cc
+@@ -148,9 +148,10 @@ static bool header_add_to = false;
+
+ struct header_field
+ {
++ typedef unsigned length_t;
+ // member information
+ const char* name;
+- unsigned length;
++ length_t length;
+ bool is_address;
+ bool is_recipient;
+ bool is_sender;
+@@ -204,7 +205,8 @@ struct header_field
+
+ #define F false
+ #define T true
+-#define X(N,IA,IR,IS,IRS,R) { #N ":",strlen(#N ":"),\
++#define X(N,IA,IR,IS,IRS,R) { #N ":", \
++ static_cast<header_field::length_t>(strlen(#N ":")),\
+ IA,IR,IS,IRS,R,false, false }
+ static header_field header_fields[] = {
+ // Sender address fields, in order of priority
diff --git a/mail-mta/nullmailer/nullmailer-2.2-r1.ebuild b/mail-mta/nullmailer/nullmailer-2.2-r1.ebuild
index 1835317ed6c2..53c1cabc06ff 100644
--- a/mail-mta/nullmailer/nullmailer-2.2-r1.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.2-r1.ebuild
@@ -40,6 +40,7 @@ PATCHES=(
"${FILESDIR}/${P}-fix-test-racecondition.patch"
"${FILESDIR}/${P}-disable-dns-using-test.patch"
"${FILESDIR}/${P}-disable-smtp-auth-tests.patch"
+ "${FILESDIR}/${P}-c++11.patch"
)
pkg_setup() {