aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql55-client
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2013-10-08 13:25:00 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2013-10-08 13:25:00 +0000
commit879931c62f26562343a1c21a8af662f9c11f4687 (patch)
tree8f16d412a44645ef225f12f5fa5e95e19f99d1ac /databases/mysql55-client
parent06df37e34f4fd7cbf6c7ecd9591728a839482ce1 (diff)
downloadports-879931c62f26562343a1c21a8af662f9c11f4687.tar.gz
ports-879931c62f26562343a1c21a8af662f9c11f4687.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)
Notes
Notes: svn path=/head/; revision=329781
Diffstat (limited to 'databases/mysql55-client')
-rw-r--r--databases/mysql55-client/files/patch-extra_yassl_taocrypt_include_misc.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mysql55-client/files/patch-extra_yassl_taocrypt_include_misc.hpp b/databases/mysql55-client/files/patch-extra_yassl_taocrypt_include_misc.hpp
new file mode 100644
index 000000000000..ef8bb0670f75
--- /dev/null
+++ b/databases/mysql55-client/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
+