mirror of https://github.com/microsoft/vcpkg.git
[mecab] Include functional to fix error C2039 and C2504 (#33334)
* fix error C2039 and C2504 * update supports * update * update
This commit is contained in:
parent
a880596395
commit
12640ddf03
|
|
@ -0,0 +1,12 @@
|
|||
diff --git a/mecab/src/dictionary.h b/mecab/src/dictionary.h
|
||||
index 7046023..32ad358 100644
|
||||
--- a/mecab/src/dictionary.h
|
||||
+++ b/mecab/src/dictionary.h
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "mmap.h"
|
||||
#include "darts.h"
|
||||
#include "char_property.h"
|
||||
+#include <functional>
|
||||
|
||||
namespace MeCab {
|
||||
|
||||
|
|
@ -10,6 +10,7 @@ vcpkg_from_github(
|
|||
HEAD_REF master
|
||||
PATCHES
|
||||
fix_wpath_unsigned.patch
|
||||
fix-missing-functional.patch
|
||||
)
|
||||
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}/mecab/src")
|
||||
|
|
@ -25,4 +26,4 @@ vcpkg_cmake_install()
|
|||
vcpkg_cmake_config_fixup()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/mecab/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/mecab/COPYING")
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"name": "mecab",
|
||||
"version-date": "2019-09-25",
|
||||
"port-version": 4,
|
||||
"port-version": 5,
|
||||
"description": "A morphological analysis engine based on CRF",
|
||||
"supports": "!(uwp | arm | arm64)",
|
||||
"supports": "!uwp & !(arm & windows)",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
|
|
|
|||
|
|
@ -5294,7 +5294,7 @@
|
|||
},
|
||||
"mecab": {
|
||||
"baseline": "2019-09-25",
|
||||
"port-version": 4
|
||||
"port-version": 5
|
||||
},
|
||||
"memorymodule": {
|
||||
"baseline": "2019-12-31",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "66081fbeecacd152e3964b0f64f25e0f0b10d461",
|
||||
"version-date": "2019-09-25",
|
||||
"port-version": 5
|
||||
},
|
||||
{
|
||||
"git-tree": "d5f64d85fddc71ff872f675cda3ed8ee767193f1",
|
||||
"version-date": "2019-09-25",
|
||||
|
|
|
|||
Loading…
Reference in New Issue