office-gobmx/external/mariadb-connector-c/clang-cl.patch.0
Michael Stahl fe041bbc34 mariadb: upgrade to release 3.1.8
Fixes CVE-2018-3081 CVE-2020-2574 CVE-2020-2752 CVE-2020-2922 CVE-2020-13249

Remove obsolete patches:
* mariadb-msvc.patch.1
* mariadb-swap.patch
* mariadb-inline.patch.1
* mariadb-CONC-104.patch.1

Don't build anything from plugins/ in the hope that it's not needed.

Change-Id: I1c8633866b7108a8bb22dae0e0dd5f4a44bf5150
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96466
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-06-16 23:48:39 +02:00

11 lines
419 B
Text

--- unittest/libmariadb/getopt.c
+++ unittest/libmariadb/getopt.c
@@ -38,7 +38,7 @@
#include <config.h>
#endif
-#if (!defined (__STDC__) || !__STDC__) && !defined(MSDOS) && !defined(OS2)
+#if (!defined (__STDC__) || !__STDC__) && !defined(MSDOS) && !defined(OS2) && !(defined _MSC_VER && defined __clang__)
/* This is a separate conditional since some stdc systems
reject `defined (const)'. */
#ifndef const