1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- Fix patch mistake, prevent 100% CPU usage

This commit is contained in:
Steve Wills 2013-07-23 03:05:57 +00:00
parent 4728fa997d
commit b5468d5191
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323507
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= litecoin
PORTVERSION= 0.6.9.2
PORTREVISION= 1
CATEGORIES= net-p2p finance
MASTER_SITES= ${MASTER_SITE_LOCAL} \

View File

@ -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() { }