Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2013 07:56:48 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330850 - head/net-p2p/mldonkey/files
Message-ID:  <201310190756.r9J7um6l072583@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sat Oct 19 07:56:48 2013
New Revision: 330850
URL: http://svnweb.freebsd.org/changeset/ports/330850

Log:
  Fix build with clang on i386 by disabling inline asm that uses
  intel syntax.
  
  PR:		ports/180595

Added:
  head/net-p2p/mldonkey/files/patch-src-utils-lib-CryptoPP.h   (contents, props changed)

Added: head/net-p2p/mldonkey/files/patch-src-utils-lib-CryptoPP.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/mldonkey/files/patch-src-utils-lib-CryptoPP.h	Sat Oct 19 07:56:48 2013	(r330850)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310190756.r9J7um6l072583>