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:
Kevin Thomas
2024-03-30 02:25:18 -04:00
parent d4fc8a683b
commit aa40135a3e
2 changed files with 18 additions and 0 deletions

View File

@@ -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)

View File

@@ -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}"