aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql56-server
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2013-10-08 21:25:00 +0800
committertijl <tijl@FreeBSD.org>2013-10-08 21:25:00 +0800
commitf25a21677a8db767d4459f61fcbf1cea2dd3a31e (patch)
tree8f16d412a44645ef225f12f5fa5e95e19f99d1ac /databases/mysql56-server
parent376a43bacf7c5dca5db5dd0c849778e45f160e73 (diff)
downloadfreebsd-ports-gnome-f25a21677a8db767d4459f61fcbf1cea2dd3a31e.tar.gz
freebsd-ports-gnome-f25a21677a8db767d4459f61fcbf1cea2dd3a31e.tar.zst
freebsd-ports-gnome-f25a21677a8db767d4459f61fcbf1cea2dd3a31e.zip
Fix mysql51/55/56 build with clang on i386.
The included yassl library contains inline asm (only for i386) using intel syntax which clang does not support. For now, just disable the inline asm when clang is used and use the standard C implementation like on every other architecture. Approved by: ale (maintainer)
Diffstat (limited to 'databases/mysql56-server')
-rw-r--r--databases/mysql56-server/files/patch-extra_yassl_taocrypt_include_misc.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mysql56-server/files/patch-extra_yassl_taocrypt_include_misc.hpp b/databases/mysql56-server/files/patch-extra_yassl_taocrypt_include_misc.hpp
new file mode 100644
index 000000000000..ef8bb0670f75
--- /dev/null
+++ b/databases/mysql56-server/files/patch-extra_yassl_taocrypt_include_misc.hpp
@@ -0,0 +1,11 @@
+--- extra/yassl/taocrypt/include/misc.hpp.orig
++++ extra/yassl/taocrypt/include/misc.hpp
+@@ -124,7 +124,7 @@
+
+
+ // no gas on these systems ?, disable for now
+-#if defined(__sun__) || defined (__APPLE__)
++#if defined(__sun__) || defined (__APPLE__) || defined(__clang__)
+ #define TAOCRYPT_DISABLE_X86ASM
+ #endif
+