]> git.pld-linux.org Git - packages/dovecot-antispam.git/commitdiff
- use new DOVECOT_ABI_VERSION macro
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 23 Jul 2013 18:19:49 +0000 (20:19 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 23 Jul 2013 18:19:49 +0000 (20:19 +0200)
dovecot-2.2.patch

index 7fef91ee49c8de8d8f4a2c9051deb36ce12666f9..8e7e881c116d997f68f775bee142c171ae440038 100644 (file)
@@ -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
This page took 0.313814 seconds and 4 git commands to generate.