svn commit: r463028 - in head/net-p2p/xmrig: . files
Emanuel Haupt
ehaupt at FreeBSD.org
Mon Feb 26 16:11:07 UTC 2018
Author: ehaupt
Date: Mon Feb 26 16:11:04 2018
New Revision: 463028
URL: https://svnweb.freebsd.org/changeset/ports/463028
Log:
Provide a patch that removes the hard coded 5% cpu cycle donation minimum but
keep the configurable default value at 5%.
This gives the users the choice to go lower than 5% if desired.
Added:
head/net-p2p/xmrig/files/patch-src_donate.h (contents, props changed)
Modified:
head/net-p2p/xmrig/Makefile
Modified: head/net-p2p/xmrig/Makefile
==============================================================================
--- head/net-p2p/xmrig/Makefile Mon Feb 26 15:48:42 2018 (r463027)
+++ head/net-p2p/xmrig/Makefile Mon Feb 26 16:11:04 2018 (r463028)
@@ -4,6 +4,7 @@
PORTNAME= xmrig
PORTVERSION= 2.4.5
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= net-p2p
MAINTAINER= ehaupt at FreeBSD.org
Added: head/net-p2p/xmrig/files/patch-src_donate.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-p2p/xmrig/files/patch-src_donate.h Mon Feb 26 16:11:04 2018 (r463028)
@@ -0,0 +1,11 @@
+--- src/donate.h.orig 2018-02-18 21:31:50 UTC
++++ src/donate.h
+@@ -37,7 +37,7 @@
+ * XMR: 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD
+ * BTC: 1P7ujsXeX7GxQwHNnJsRMgAdNkFZmNVqJT
+ */
+-constexpr const int kDonateLevel = 5;
++constexpr const int kDonateLevel = 0;
+
+
+ #endif /* __DONATE_H__ */
More information about the svn-ports-all
mailing list