mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
net-misc/xmrig-mo: add patch for xmrig-mo-6.21.2
Signed-off-by: Kevin Thomas <me@kevinthomas.dev>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
From: Kay Thomas <kaythomas@pm.me>
|
||||
Date: Sat Mar 30 02:14:43 2024 -0400
|
||||
|
||||
Fix length_error
|
||||
|
||||
diff --git a/src/backend/opencl/runners/OclRyoRunner.cpp b/src/backend/opencl/runners/OclRyoRunner.cpp
|
||||
index eff7f392..56edf1a4 100644
|
||||
--- a/src/backend/opencl/runners/OclRyoRunner.cpp
|
||||
+++ b/src/backend/opencl/runners/OclRyoRunner.cpp
|
||||
@@ -34,6 +34,7 @@
|
||||
#include "base/io/log/Log.h"
|
||||
#include "base/net/stratum/Job.h"
|
||||
#include "crypto/cn/CnAlgo.h"
|
||||
+#include <stdexcept>
|
||||
|
||||
|
||||
xmrig::OclRyoRunner::OclRyoRunner(size_t index, const OclLaunchData &data) : OclBaseRunner(index, data)
|
||||
@@ -29,6 +29,7 @@ RDEPEND="
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.12.2-nonotls.patch
|
||||
"${FILESDIR}"/${PN}-6.21.2-fix-length-error.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}/xmrig-${PV}-${MO_PV}"
|
||||
|
||||
Reference in New Issue
Block a user