Merge pull request #434 from kiwix/last-moustache-version

This commit is contained in:
Matthieu Gautier 2020-04-21 16:31:42 +02:00 committed by GitHub
commit ce329b6a79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 17 deletions

View File

@ -10,10 +10,9 @@ class Mustache(Dependency):
name = "mustache"
class Source(ReleaseDownload):
archive = Remotefile('Mustache-3.2.1.tar.gz',
'0d17298a81c08f12ebc446cdee387268a395d34bb724050fe67d5ce8c4e98b7a',
'https://github.com/kainjow/Mustache/archive/v3.2.1.tar.gz')
patches = ['mustache_virtual_destructor.patch']
archive = Remotefile('Mustache-4.1.tar.gz',
'acd66359feb4318b421f9574cfc5a511133a77d916d0b13c7caa3783c0bfe167',
'https://github.com/kainjow/Mustache/archive/v4.1.tar.gz')
class Builder(BaseBuilder):
def build(self):

View File

@ -1,11 +0,0 @@
diff -u mustache/mustache.hpp mustache.patched/mustache.hpp
--- mustache/mustache.hpp 2018-07-23 05:13:12.000000000 +0200
+++ mustache.patched/mustache.hpp 2019-01-07 18:08:24.601917507 +0100
@@ -423,6 +423,7 @@
template <typename string_type>
class basic_context {
public:
+ virtual ~basic_context() = default;
virtual void push(const basic_data<string_type>* data) = 0;
virtual void pop() = 0;

View File

@ -42,7 +42,7 @@ release_versions = {
# This is the "version" of the whole base_deps_versions dict.
# Change this when you change base_deps_versions.
base_deps_meta_version = '65'
base_deps_meta_version = '66'
base_deps_versions = {
'zlib' : '1.2.8',
@ -50,7 +50,7 @@ base_deps_versions = {
'zstd' : '1.4.4',
'uuid' : '1.43.4',
'xapian-core' : '1.4.14',
'mustache' : '3.2',
'mustache' : '4.1',
'pugixml' : '1.2',
'libmicrohttpd' : '0.9.63',
'gumbo' : '0.10.1',