ports/databases/mariadb101-client/files/patch-include_mysql_service__encryption.h
Bernard Spil ba6c7d7ced databases/mariadb101-{client,server}: Add missing patches
- Patches that were non-existent in the source of the repocopy
    (mariadb100-*) were not part of the initial commit

Differential Revision: D3953
2016-02-13 22:33:53 +00:00

14 lines
459 B
C

--- include/mysql/service_encryption.h.orig 2015-12-23 15:33:29 UTC
+++ include/mysql/service_encryption.h
@@ -37,9 +37,11 @@ extern "C" {
#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
#include <stdlib.h>
#else
+#ifndef __FreeBSD__
#include <alloca.h>
#endif
#endif
+#endif
/* returned from encryption_key_get_latest_version() */
#define ENCRYPTION_KEY_VERSION_INVALID (~(unsigned int)0)