aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2013-07-23 11:05:57 +0800
committerswills <swills@FreeBSD.org>2013-07-23 11:05:57 +0800
commit90872f053dcf58f7f996ae75b3a2b4524a684812 (patch)
tree1c23fadd5c2cde17209301e9c5f1664f8325f1a2 /net-p2p
parent9ae148ce3210e399676475433db66a670aa33083 (diff)
downloadfreebsd-ports-gnome-90872f053dcf58f7f996ae75b3a2b4524a684812.tar.gz
freebsd-ports-gnome-90872f053dcf58f7f996ae75b3a2b4524a684812.tar.zst
freebsd-ports-gnome-90872f053dcf58f7f996ae75b3a2b4524a684812.zip
- Fix patch mistake, prevent 100% CPU usage
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/litecoin/Makefile1
-rw-r--r--net-p2p/litecoin/files/patch-qtipserver_cpp4
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() { }