Skip to content

Commit

Permalink
fix size_t error
Browse files Browse the repository at this point in the history
This has been submitted upstream, see
xmrig/xmrig-cuda#120.
  • Loading branch information
hv15 committed Sep 5, 2021
1 parent 81ea6ba commit 386915f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .SRCINFO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgbase = xmrig-cuda
pkgdesc = NVIDIA CUDA plugin for XMRig miner.
pkgver = 6.15.0
pkgrel = 3
pkgrel = 4
url = https://github.com/xmrig/xmrig-cuda
arch = x86_64
license = GPL
Expand All @@ -14,6 +14,6 @@ pkgbase = xmrig-cuda
source = https://github.com/xmrig/xmrig-cuda/archive/v6.15.0.tar.gz
source = fix-compile.patch
sha256sums = 64c440a4cb439f3cc8120f1883274158f95df988ab91eccb1d2d2abf0bedbbfe
sha256sums = f1463f7d456f8f367b8063fdf600653f773ce33b2e3714af58c1c51a102c7d17
sha256sums = 3d545c3947e270a127caa0c33ffa84025b1ef2d51251a4d0b028a47a775b78e2

pkgname = xmrig-cuda
4 changes: 2 additions & 2 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=xmrig-cuda
pkgver=6.15.0
pkgrel=3
pkgrel=4
pkgdesc='NVIDIA CUDA plugin for XMRig miner.'
arch=('x86_64')
url='https://github.com/xmrig/xmrig-cuda'
Expand All @@ -13,7 +13,7 @@ license=('GPL')
source=("${url}/archive/v${pkgver}.tar.gz"
'fix-compile.patch')
sha256sums=('64c440a4cb439f3cc8120f1883274158f95df988ab91eccb1d2d2abf0bedbbfe'
'f1463f7d456f8f367b8063fdf600653f773ce33b2e3714af58c1c51a102c7d17')
'3d545c3947e270a127caa0c33ffa84025b1ef2d51251a4d0b028a47a775b78e2')

prepare () {
cd "${pkgname}-${pkgver}"
Expand Down
3 changes: 2 additions & 1 deletion fix-compile.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
--- xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h 2021-08-31 08:57:51.000000000 +0200
+++ xmrig-cuda-6.15.0/src/crypto/common/Algorithm.h 2021-09-03 09:20:00.997701452 +0200
@@ -20,7 +20,7 @@
@@ -20,7 +20,8 @@
#ifndef XMRIG_ALGORITHM_H
#define XMRIG_ALGORITHM_H

-
+#include <cstdint>
+#include <cstddef>
#include <vector>


0 comments on commit 386915f

Please sign in to comment.