Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > f95abc261fe5a869769283ee06503057 > files > 1

dspam-3.10.2-15.mga9.src.rpm

Index: dspam-3.10.2/m4/mysql_drv.m4
===================================================================
--- dspam-3.10.2/m4/mysql_drv.m4
+++ dspam-3.10.2/m4/mysql_drv.m4	2022-07-24 00:30:06.874096026 -0700
@@ -180,7 +180,7 @@
             char *i = strdup(info);
             char *m = strtok(i, ".");
             if (m)
-              if (atoi(m) >= 5)
+              if (atoi(m) >= 5 || (MARIADB_BASE_VERSION && atoi(m) >= 3))
                 is_ok = 1;
             free (i);
             return is_ok ? 0 : 1;