diff --git a/srcpkgs/Mustache/patches/0001-Fix-compiling-of-tests-on-gcc8.2.patch b/srcpkgs/Mustache/patches/0001-Fix-compiling-of-tests-on-gcc8.2.patch deleted file mode 100644 index f446978682e..00000000000 --- a/srcpkgs/Mustache/patches/0001-Fix-compiling-of-tests-on-gcc8.2.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 33c8f46a28fb80144cf6d5a01352de0ef8474880 Mon Sep 17 00:00:00 2001 -From: John Zimmermann -Date: Tue, 29 Jan 2019 13:59:16 +0100 -Subject: [PATCH] Fix compiling of tests on gcc8.2 - -``` -In file included from tests.cpp:32: -tests.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____114()': -tests.cpp:1094:48: error: catching polymorphic type 'class std::bad_function_call' by value [-Werror=catch-value=] - CHECK_THROWS_AS(tmpl.render(dat), std::bad_function_call); - ^~~~~~~~~~~~~~~~~ -cc1plus: all warnings being treated as error -``` ---- - tests.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git tests.cpp tests.cpp -index a9176b7..276f0b3 100644 ---- tests.cpp -+++ tests.cpp -@@ -1091,7 +1091,7 @@ TEST_CASE("custom_escape") { - mustache::escape_handler esc; - tmpl.set_custom_escape(esc); - object dat({ {"what", "\"friend\""} }); -- CHECK_THROWS_AS(tmpl.render(dat), std::bad_function_call); -+ CHECK_THROWS_AS(tmpl.render(dat), std::bad_function_call&); - } - - } --- -2.20.1 - diff --git a/srcpkgs/Mustache/template b/srcpkgs/Mustache/template index 503ba54d372..ce023d04e80 100644 --- a/srcpkgs/Mustache/template +++ b/srcpkgs/Mustache/template @@ -1,13 +1,13 @@ # Template file for 'Mustache' pkgname=Mustache -version=3.2.1 +version=4.0 revision=1 short_desc="Mustache text templates for modern C++" maintainer="John " license="BSL-1.0" homepage="https://github.com/kainjow/Mustache" distfiles="https://github.com/kainjow/Mustache/archive/v${version}.tar.gz" -checksum=0d17298a81c08f12ebc446cdee387268a395d34bb724050fe67d5ce8c4e98b7a +checksum=17129681ee207404409d71bdc649f08d47029e3dea0ef68e5cd47868de1be23c do_check() { make