From 129160ec854dca4c3fedb5bcfbcb56930371da0f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Jan 2021 21:06:00 +0000 Subject: gentoo new year resync : 01.01.2021 --- mail-filter/sigh/files/sigh-1607.1.6-fno-common.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 mail-filter/sigh/files/sigh-1607.1.6-fno-common.patch (limited to 'mail-filter/sigh/files') diff --git a/mail-filter/sigh/files/sigh-1607.1.6-fno-common.patch b/mail-filter/sigh/files/sigh-1607.1.6-fno-common.patch new file mode 100644 index 000000000000..a76b102be147 --- /dev/null +++ b/mail-filter/sigh/files/sigh-1607.1.6-fno-common.patch @@ -0,0 +1,19 @@ +--- a/src/common.h ++++ b/src/common.h +@@ -28,14 +28,14 @@ namespace util { + * @param x A string literal + * @return A pointer to char + */ +- auto ccp = [](const std::string &str) { ++ inline auto ccp = [](const std::string &str) { + return const_cast (str.c_str()); + }; + + /*! + * @brief Data structure for each client connection + */ +- auto mlfipriv = [](SMFICTX *ctx) { ++ inline auto mlfipriv = [](SMFICTX *ctx) { + return static_cast (smfi_getpriv(ctx)); + }; + } // namespace util -- cgit v1.2.3