From owner-svn-ports-all@FreeBSD.ORG Tue Sep 4 20:46:54 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B6EF31065673; Tue, 4 Sep 2012 20:46:54 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A22978FC08; Tue, 4 Sep 2012 20:46:54 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q84Kks12016463; Tue, 4 Sep 2012 20:46:54 GMT (envelope-from swills@svn.freebsd.org) Received: (from swills@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q84Kks5P016460; Tue, 4 Sep 2012 20:46:54 GMT (envelope-from swills@svn.freebsd.org) Message-Id: <201209042046.q84Kks5P016460@svn.freebsd.org> From: Steve Wills Date: Tue, 4 Sep 2012 20:46:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303670 - in head/net-p2p/bitcoin: . files X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 04 Sep 2012 20:46:54 -0000 Author: swills Date: Tue Sep 4 20:46:54 2012 New Revision: 303670 URL: http://svn.freebsd.org/changeset/ports/303670 Log: - Hopefully really fix the last high CPU usage case PR: ports/171252 Submitted by: Steven Lee Added: head/net-p2p/bitcoin/files/patch-util.h (contents, props changed) Modified: head/net-p2p/bitcoin/Makefile Modified: head/net-p2p/bitcoin/Makefile ============================================================================== --- head/net-p2p/bitcoin/Makefile Tue Sep 4 19:05:49 2012 (r303669) +++ head/net-p2p/bitcoin/Makefile Tue Sep 4 20:46:54 2012 (r303670) @@ -7,7 +7,7 @@ PORTNAME= bitcoin PORTVERSION= 0.6.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-p2p finance MAINTAINER= ports@FreeBSD.org Added: head/net-p2p/bitcoin/files/patch-util.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-p2p/bitcoin/files/patch-util.h Tue Sep 4 20:46:54 2012 (r303670) @@ -0,0 +1,21 @@ +--- src/util.h.orig 2012-09-02 08:13:29.000000000 -0500 ++++ src/util.h 2012-09-02 08:14:08.000000000 -0500 +@@ -290,8 +290,6 @@ + LeaveCritical(); \ + } + +-#ifdef MAC_OSX +-// boost::interprocess::interprocess_semaphore seems to spinlock on OSX; prefer polling instead + class CSemaphore + { + private: +@@ -328,9 +326,6 @@ + val++; + } + }; +-#else +-typedef boost::interprocess::interprocess_semaphore CSemaphore; +-#endif + + inline std::string i64tostr(int64 n) + {