dpp: update to v10.0.10 (#1246)

* dpp: update to v10.0.10

* dpp: fix ccache issue (maybe ?)
pull/1248/head
Louis Bailleau 3 years ago committed by GitHub
parent 3c119d36d5
commit 8d854f2dd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      packages/d/dpp/patches/v10.0.10/permission_include.patch
  2. 8
      packages/d/dpp/xmake.lua

@ -0,0 +1,15 @@
diff --git a/include/dpp/permissions.h b/include/dpp/permissions.h
index 1ce84a2..0ba9e64 100644
--- a/include/dpp/permissions.h
+++ b/include/dpp/permissions.h
@@ -21,6 +21,10 @@
#pragma once
#include <dpp/export.h>
+#include <cstdint>
+#include <type_traits>
+#include <dpp/nlohmann/json_fwd.hpp>
+
namespace dpp {
/**

@ -6,6 +6,10 @@ package("dpp")
add_urls("https://github.com/brainboxdotcc/DPP/archive/refs/tags/$(version).tar.gz",
"https://github.com/brainboxdotcc/DPP.git")
add_versions("v10.0.10", "2a1c26f606298e5b683d1e140219c434e61c4b22e8510fa2a2d5f7b6758dff95")
add_patches("v10.0.10", path.join(os.scriptdir(), "patches", "v10.0.8", "static_export.patch"), "d18487580faa9af21862bcff30ddfa5d5ab5cda6aa5f779bcc1787a96ca66447")
add_patches("v10.0.10", path.join(os.scriptdir(), "patches", "v10.0.10", "permission_include.patch"), "4fdf8e406c7f610453090253bf1640e42c47a06968f65a4a21d01104a2d04fd4")
add_versions("v10.0.8", "7a16d31841fc67fabcafbc33abb1a6b2ac472202df7e8c48542f77e089de08e3")
add_patches("v10.0.8", path.join(os.scriptdir(), "patches", "v10.0.8", "static_export.patch"), "d18487580faa9af21862bcff30ddfa5d5ab5cda6aa5f779bcc1787a96ca66447")
@ -32,7 +36,9 @@ package("dpp")
os.rmdir("include/dpp/nlohmann")
os.cp(path.join(package:scriptdir(), "port", "xmake.lua"), "xmake.lua")
import("package.tools.xmake").install(package)
import("package.tools.xmake").install(package, {
ccache = false -- little fix because it doesn't pass CI check on github
})
end)
on_test(function (package)

Loading…
Cancel
Save