diff --git a/databases/mariadb106-server/patch b/databases/mariadb106-server/patch deleted file mode 100644 index 78c70e302f6a..000000000000 --- a/databases/mariadb106-server/patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/databases/mariadb106-server/files/patch-mysys__ssl_openssl.c b/databases/mariadb106-server/files/patch-mysys__ssl_openssl.c -new file mode 100644 -index 000000000000..5f809d5ae662 ---- /dev/null -+++ b/databases/mariadb106-server/files/patch-mysys__ssl_openssl.c -@@ -0,0 +1,17 @@ -+--- mysys_ssl/openssl.c -++++ mysys_ssl/openssl.c -+@@ -36,8 +36,12 @@ -+ static uint testing; -+ static size_t alloc_size, alloc_count; -+ -+-static void *coc_malloc(size_t size, const char *f __attribute__((unused)), -+- int l __attribute__((unused))) -++static void *coc_malloc(size_t size -++#if !(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x30500000L) -++ , const char *f __attribute__((unused)), -++ int l __attribute__((unused)) -++#endif -++) -+ { -+ if (unlikely(testing)) -+ { diff --git a/databases/mariadb106-server/patch-mysys__ssl_openssl.c b/databases/mariadb106-server/patch-mysys__ssl_openssl.c deleted file mode 100644 index 5f809d5ae662..000000000000 --- a/databases/mariadb106-server/patch-mysys__ssl_openssl.c +++ /dev/null @@ -1,17 +0,0 @@ ---- mysys_ssl/openssl.c -+++ mysys_ssl/openssl.c -@@ -36,8 +36,12 @@ - static uint testing; - static size_t alloc_size, alloc_count; - --static void *coc_malloc(size_t size, const char *f __attribute__((unused)), -- int l __attribute__((unused))) -+static void *coc_malloc(size_t size -+#if !(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x30500000L) -+ , const char *f __attribute__((unused)), -+ int l __attribute__((unused)) -+#endif -+) - { - if (unlikely(testing)) - {