diff options
author | Adam Feldman <NP-Hardass@gentoo.org> | 2020-07-07 11:05:53 -0400 |
---|---|---|
committer | Adam Feldman <NP-Hardass@gentoo.org> | 2020-08-06 23:17:24 -0400 |
commit | be405622188b0d2ae4c0bd877b8f9ff74c6e6281 (patch) | |
tree | 7fcfdeae1538b74fd34ff1d98d98b2fa3c82cb1b /mail-filter/dspam/files | |
parent | dev-lang/go: Stabilize 1.14.7 ppc64, #736156 (diff) | |
download | gentoo-be405622188b0d2ae4c0bd877b8f9ff74c6e6281.tar.gz gentoo-be405622188b0d2ae4c0bd877b8f9ff74c6e6281.tar.bz2 gentoo-be405622188b0d2ae4c0bd877b8f9ff74c6e6281.zip |
mail-filter/dspam: add mysql-8 compatibility
Bug: https://bugs.gentoo.org/692436
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>
Diffstat (limited to 'mail-filter/dspam/files')
-rw-r--r-- | mail-filter/dspam/files/dspam-3.10.2-mysql8-my_bool-typedef.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mail-filter/dspam/files/dspam-3.10.2-mysql8-my_bool-typedef.patch b/mail-filter/dspam/files/dspam-3.10.2-mysql8-my_bool-typedef.patch new file mode 100644 index 000000000000..8edafbdf0dab --- /dev/null +++ b/mail-filter/dspam/files/dspam-3.10.2-mysql8-my_bool-typedef.patch @@ -0,0 +1,13 @@ +--- a/src/mysql_drv.c 2020-07-07 10:40:33.871152228 -0400 ++++ b/src/mysql_drv.c 2020-07-07 10:43:16.187818893 -0400 +@@ -35,6 +35,10 @@ + #include <fcntl.h> + #include <signal.h> + #include <mysql.h> ++#if defined(LIBMYSQL_VERSION_ID) && (LIBMYSQL_VERSION_ID >= 80000) ++ typedef bool my_bool; ++#endif ++ + #include <limits.h> + + /* Work around broken limits.h on debian etch (and possibly others?) */ |