From owner-svn-ports-all@FreeBSD.ORG Sat Oct 19 07:56:49 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0623F4CD; Sat, 19 Oct 2013 07:56:49 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E7EAB2C77; Sat, 19 Oct 2013 07:56:48 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9J7umPw072584; Sat, 19 Oct 2013 07:56:48 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9J7um6l072583; Sat, 19 Oct 2013 07:56:48 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201310190756.r9J7um6l072583@svn.freebsd.org> From: Tijl Coosemans Date: Sat, 19 Oct 2013 07:56:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330850 - head/net-p2p/mldonkey/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Oct 2013 07:56:49 -0000 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