From 93183f600c804bf5f3321254a7e096be6181efd0 Mon Sep 17 00:00:00 2001 From: duckology Date: Thu, 22 Sep 2022 22:27:54 +0200 Subject: [PATCH] monero: update to 0.18.1.1. --- srcpkgs/monero/patches/system-miniupnpc.patch | 9 +++++---- srcpkgs/monero/template | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/srcpkgs/monero/patches/system-miniupnpc.patch b/srcpkgs/monero/patches/system-miniupnpc.patch index 3d9c8bb08bbc46..b87045caab89b7 100644 --- a/srcpkgs/monero/patches/system-miniupnpc.patch +++ b/srcpkgs/monero/patches/system-miniupnpc.patch @@ -41,9 +41,9 @@ index 9b21705e..76340a22 100644 -- 2.17.0 ---- a/external/CMakeLists.txt 2018-10-10 13:13:55.759414180 +0200 -+++ b/external/CMakeLists.txt 2018-10-10 13:19:33.363411827 +0200 -@@ -34,22 +34,46 @@ +--- a/external/CMakeLists.txt 2022-08-17 17:56:16.277171566 +0100 ++++ b/external/CMakeLists.txt 2022-08-17 18:12:39.342914327 +0100 +@@ -34,24 +34,46 @@ # We always compile if we are building statically to reduce static dependency issues... # ...except for FreeBSD, because FreeBSD is a special case that doesn't play well with # others. @@ -54,8 +54,10 @@ index 9b21705e..76340a22 100644 -find_package(Miniupnpc REQUIRED) - -message(STATUS "Using in-tree miniupnpc") +-set(UPNPC_NO_INSTALL TRUE CACHE BOOL "Disable miniupnp installation" FORCE) -add_subdirectory(miniupnp/miniupnpc) -set_property(TARGET libminiupnpc-static PROPERTY FOLDER "external") +-set_property(TARGET libminiupnpc-static PROPERTY POSITION_INDEPENDENT_CODE ON) -if(MSVC) - set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -wd4244 -wd4267") -elseif(NOT MSVC) @@ -99,4 +101,3 @@ index 9b21705e..76340a22 100644 +endif() find_package(Unbound) - diff --git a/srcpkgs/monero/template b/srcpkgs/monero/template index eebce3d0a5510c..67a82ce5e7419a 100644 --- a/srcpkgs/monero/template +++ b/srcpkgs/monero/template @@ -1,7 +1,7 @@ # Template file for 'monero' pkgname=monero -version=0.17.2.3 -revision=3 +version=0.18.1.1 +revision=1 _randomx_version="1.1.9" # the revision monero uses as a submodule for the specific version _rapidjson_gitrev="129d19ba7f496df5e33658527a7158c79b99c21c" @@ -23,7 +23,7 @@ distfiles="https://github.com/monero-project/monero/archive/v${version}.tar.gz https://github.com/tevador/RandomX/archive/v${_randomx_version}.tar.gz https://github.com/Tencent/rapidjson/archive/${_rapidjson_gitrev}.tar.gz https://github.com/monero-project/supercop/archive/${_supercop_gitrev}.tar.gz" -checksum="e4462f8909bdc5e66d76f4023374ff759159c15fe7d407f0c21619769e87c35d +checksum="6caa8fb6106fce3934f44d08d4fa13cf34ebc00cef994c306089cdf18dfb853f b878fd6ea6d4e1dcdfa085427ce4666c1085e8c5a9e049c04ca2036b4aead0f5 44b007d419ac21b6affec58991e865ee572346ead19b73cf1c3e4e11c7a81273 b973b9d8269ec4d97c3c3443f0dad96d09f72b1b30e616e0947557adbdbb03f7"