From 88d409c1cf6c7f23cac180e00a896949181beb9d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 23 Jul 2013 20:19:49 +0200 Subject: [PATCH] - use new DOVECOT_ABI_VERSION macro --- dovecot-2.2.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dovecot-2.2.patch b/dovecot-2.2.patch index 7fef91e..8e7e881 100644 --- a/dovecot-2.2.patch +++ b/dovecot-2.2.patch @@ -39,3 +39,14 @@ diff -ur dovecot-antispam-2.0/dovecot-version.c dovecot-antispam-2.0-2.2/dovecot min = 0; printf("#define ANTISPAM_STORAGE " +--- dovecot-antispam-2.0/antispam-plugin.c~ 2011-11-07 10:49:47.000000000 +0100 ++++ dovecot-antispam-2.0/antispam-plugin.c 2013-07-23 20:19:25.951626755 +0200 +@@ -392,4 +392,8 @@ + } + + /* put dovecot version we built against into plugin for checking */ ++#ifdef DOVECOT_ABI_VERSION ++const char *PLUGIN_FUNCTION(version) = DOVECOT_ABI_VERSION; ++#else + const char *PLUGIN_FUNCTION(version) = PACKAGE_VERSION; ++#endif -- 2.43.0