From b5468d51911fdc8ef234c206f0a9a4d5a8baa484 Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Tue, 23 Jul 2013 03:05:57 +0000 Subject: [PATCH] - Fix patch mistake, prevent 100% CPU usage --- net-p2p/litecoin/Makefile | 1 + net-p2p/litecoin/files/patch-qtipserver_cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/net-p2p/litecoin/Makefile b/net-p2p/litecoin/Makefile index b0a462dfee8f..1a4f48c29116 100644 --- a/net-p2p/litecoin/Makefile +++ b/net-p2p/litecoin/Makefile @@ -3,6 +3,7 @@ PORTNAME= litecoin PORTVERSION= 0.6.9.2 +PORTREVISION= 1 CATEGORIES= net-p2p finance MASTER_SITES= ${MASTER_SITE_LOCAL} \ diff --git a/net-p2p/litecoin/files/patch-qtipserver_cpp b/net-p2p/litecoin/files/patch-qtipserver_cpp index 60b4b7cee71c..293df3d1d404 100644 --- a/net-p2p/litecoin/files/patch-qtipserver_cpp +++ b/net-p2p/litecoin/files/patch-qtipserver_cpp @@ -1,12 +1,12 @@ --- src/qt/qtipcserver.cpp.orig 2013-06-25 15:29:02.000000000 +0000 -+++ src/qt/qtipcserver.cpp 2013-07-21 18:28:00.542020938 +0000 ++++ src/qt/qtipcserver.cpp 2013-07-23 02:01:16.143191646 +0000 @@ -27,7 +27,8 @@ static void ipcThread2(void* pArg); -#ifdef MAC_OSX +// TODO: Fix it for FreeBSD too - ipcinit causes a spinlock -+#ifdef MAC_OSX || defined __FreeBSD__ ++#if defined MAC_OSX || defined __FreeBSD__ // URI handling not implemented on OSX yet void ipcInit() { }