From 381a1af2dd63ffb9390c9747d5843846929a2dbb Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 25 Jun 2022 06:34:09 +0200 Subject: [PATCH] package/xmrig: bump version to 6.18.0 Removed patch, not needed anymore due to upstream removal of astrobwt: https://github.com/xmrig/xmrig/commit/22d6a7525e0e5d117d2518906ae86adbc4e65be9 Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- ...0001-astrobwt-fix-build-with-gcc-4.8.patch | 40 ------------------- package/xmrig/xmrig.hash | 2 +- package/xmrig/xmrig.mk | 2 +- 3 files changed, 2 insertions(+), 42 deletions(-) delete mode 100644 package/xmrig/0001-astrobwt-fix-build-with-gcc-4.8.patch diff --git a/package/xmrig/0001-astrobwt-fix-build-with-gcc-4.8.patch b/package/xmrig/0001-astrobwt-fix-build-with-gcc-4.8.patch deleted file mode 100644 index 694d7b203c..0000000000 --- a/package/xmrig/0001-astrobwt-fix-build-with-gcc-4.8.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 72234ae73590fa93d837034a3fb48b71eb071a2a Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Sun, 22 May 2022 20:24:14 +0200 -Subject: [PATCH] astrobwt: fix build with gcc-4.8 - -Fixes build error: - -xmrig-6.17.0/src/crypto/astrobwt/sort_indices2.cpp:40:24: error: missing binary operator before token "(" - #if __has_cpp_attribute(unlikely) - -found with the buildroot toolchain -arm-none-linux-gnueabi-gcc (Sourcery CodeBench Lite 2014.05-29) 4.8.3 20140320 (prerelease) - -Inspired by -https://reviews.llvm.org/rG91c32fd8c8fa395971a028f7091273fa2c8f44e6 - -Patch sent upstream: https://github.com/xmrig/xmrig/pull/3057 - -Signed-off-by: Bernd Kuhls ---- - src/crypto/astrobwt/sort_indices2.cpp | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/src/crypto/astrobwt/sort_indices2.cpp b/src/crypto/astrobwt/sort_indices2.cpp -index 2d86d462..3a70f619 100644 ---- a/src/crypto/astrobwt/sort_indices2.cpp -+++ b/src/crypto/astrobwt/sort_indices2.cpp -@@ -36,6 +36,9 @@ - #define RESTRICT - #endif - -+#ifndef __has_cpp_attribute -+#define __has_cpp_attribute(x) 0 -+#endif - - #if __has_cpp_attribute(unlikely) - #define UNLIKELY(X) (X) [[unlikely]] --- -2.30.2 - diff --git a/package/xmrig/xmrig.hash b/package/xmrig/xmrig.hash index 7863c0319d..5b9d4402b5 100644 --- a/package/xmrig/xmrig.hash +++ b/package/xmrig/xmrig.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 748a989390202ba2d1ccbd9d9a6b8cbd6551149cbab63b347fd1ed6df0254faa xmrig-6.17.0.tar.gz +sha256 4531a31c0c095fcae18fdef0157f1e2a6694408abbcff6789c8f3cd6ab2c3ca0 xmrig-6.18.0.tar.gz sha256 589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2 LICENSE diff --git a/package/xmrig/xmrig.mk b/package/xmrig/xmrig.mk index 6e21e550a4..40db428b56 100644 --- a/package/xmrig/xmrig.mk +++ b/package/xmrig/xmrig.mk @@ -4,7 +4,7 @@ # ################################################################################ -XMRIG_VERSION = 6.17.0 +XMRIG_VERSION = 6.18.0 XMRIG_SITE = $(call github,xmrig,xmrig,v$(XMRIG_VERSION)) XMRIG_LICENSE = GPL-3.0+ XMRIG_LICENSE_FILES = LICENSE