1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Fix another high CPU usage condition

This commit is contained in:
Steve Wills 2012-09-03 17:40:21 +00:00
parent 5f7a2eef1d
commit 24b332e8ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303607
2 changed files with 21 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= bitcoin
PORTVERSION= 0.6.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net-p2p finance
MAINTAINER= ports@FreeBSD.org

View File

@ -0,0 +1,20 @@
--- src/qt/bitcoin.cpp.orig 2012-06-19 16:44:55.000000000 -0400
+++ src/qt/bitcoin.cpp 2012-09-03 13:30:43.641710746 -0400
@@ -134,7 +134,7 @@
#ifndef BITCOIN_QT_TEST
int main(int argc, char *argv[])
{
-#if !defined(MAC_OSX) && !defined(WIN32)
+#if !defined(MAC_OSX) && !defined(WIN32) && !defined(__FreeBSD__)
// TODO: implement qtipcserver.cpp for Mac and Windows
// Do this early as we don't want to bother initializing if we are just calling IPC
@@ -261,7 +261,7 @@
// Place this here as guiref has to be defined if we dont want to lose URIs
ipcInit();
-#if !defined(MAC_OSX) && !defined(WIN32)
+#if !defined(MAC_OSX) && !defined(WIN32) && !defined(__FreeBSD__)
// TODO: implement qtipcserver.cpp for Mac and Windows
// Check for URI in argv