commit 88d409c1cf6c7f23cac180e00a896949181beb9d
Author: Jan RÄ™korajski <[email protected]>
Date:   Tue Jul 23 20:19:49 2013 +0200

    - 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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dovecot-antispam.git/commitdiff/88d409c1cf6c7f23cac180e00a896949181beb9d

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to