aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/mldonkey/files
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2013-10-19 07:56:48 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2013-10-19 07:56:48 +0000
commitf80fc1ec06077377902e986ad15804a728586dea (patch)
treed39919b69e6eb51a7ced22acf28f6cd6a6d5eb6f /net-p2p/mldonkey/files
parent026a6cfc872a18d35a2c4be3e359b70c2fc328a4 (diff)
downloadports-f80fc1ec06077377902e986ad15804a728586dea.tar.gz
ports-f80fc1ec06077377902e986ad15804a728586dea.zip
Notes
Diffstat (limited to 'net-p2p/mldonkey/files')
-rw-r--r--net-p2p/mldonkey/files/patch-src-utils-lib-CryptoPP.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/mldonkey/files/patch-src-utils-lib-CryptoPP.h b/net-p2p/mldonkey/files/patch-src-utils-lib-CryptoPP.h
new file mode 100644
index 000000000000..bf8afe9faec9
--- /dev/null
+++ b/net-p2p/mldonkey/files/patch-src-utils-lib-CryptoPP.h
@@ -0,0 +1,11 @@
+--- src/utils/lib/CryptoPP.h.orig
++++ src/utils/lib/CryptoPP.h
+@@ -274,7 +274,7 @@
+ // CodeWarrior defines _MSC_VER
+ #if !defined(CRYPTOPP_DISABLE_X86ASM) && ((defined(_MSC_VER) && !defined(__MWERKS__) && defined(_M_IX86)) || (defined(__GNUC__) && defined(__i386__)))
+ // The x86 version of MacOSX fails when asm is enabled.
+- #if !defined(__i386__) || !defined(__APPLE__)
++ #if !defined(__APPLE__) && !defined(__clang__)
+ #define CRYPTOPP_X86ASM_AVAILABLE
+ #endif
+ #endif