aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsdcb <sdflysha@qq.com>2017-11-03 11:51:24 +0800
committerAlexander Karatarakis <alex@karatarakis.com>2017-11-03 16:13:07 -0700
commitbd91824bca86387a436785d1b757d23a06593677 (patch)
tree4699de7b4f44d9d954dda699dbd7fa120e411827
parent87c4639c1c5e8a291b1b97f5a12d92ced69e5c1a (diff)
downloadvcpkg-bd91824bca86387a436785d1b757d23a06593677.tar.gz
vcpkg-bd91824bca86387a436785d1b757d23a06593677.zip
[antlr] upgrade to antlr4.7
-rw-r--r--ports/antlr4/portfile.cmake6
-rw-r--r--ports/antlr4/static.patch16
2 files changed, 11 insertions, 11 deletions
diff --git a/ports/antlr4/portfile.cmake b/ports/antlr4/portfile.cmake
index 868efcdbe..d344e9d06 100644
--- a/ports/antlr4/portfile.cmake
+++ b/ports/antlr4/portfile.cmake
@@ -1,12 +1,12 @@
include(vcpkg_common_functions)
-set(VERSION 4.6)
+set(VERSION 4.7)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/runtime)
vcpkg_download_distfile(ARCHIVE
- URLS "http://www.antlr.org/download/antlr4-cpp-runtime-4.6-source.zip"
+ URLS "http://www.antlr.org/download/antlr4-cpp-runtime-4.7-source.zip"
FILENAME "antlr4-cpp-runtime-${VERSION}-source.zip"
- SHA512 e123c2227e41ce80da5a3758725a018690ed70a4e10c23da26c966259e6bdafa192f4363f5a7e1181ef9a47bf3cc50d6b0ca7b26c8dd2b19222a7edf54de8de2
+ SHA512 a14fd3320537075a8d4c1cfa81d416bad6257d238608e2428f4930495072cce984c707126e3777ffd3849dd6b6cdf1bf43624bd6d318b1fa5dd6749a7304f808
)
# license not exist in antlr folder.
diff --git a/ports/antlr4/static.patch b/ports/antlr4/static.patch
index fb54c5ae4..e66787233 100644
--- a/ports/antlr4/static.patch
+++ b/ports/antlr4/static.patch
@@ -1,12 +1,12 @@
diff --git a/antlr4-common.h b/antlr4-common.h
-index 197fd6d..34a62c8 100644
+index ce45e9e..3162795 100644
--- a/antlr4-common.h
+++ b/antlr4-common.h
-@@ -34,6 +34,7 @@
- #include <bitset>
- #include <condition_variable>
+@@ -48,6 +48,7 @@
+ #endif
-+#define ANTLR4CPP_STATIC
- // Defines for the Guid class and other platform dependent stuff.
- #ifdef _WIN32
- #pragma warning (disable: 4250) // Class inherits by dominance.
+ #define GUID_WINDOWS
++ #define ANTLR4CPP_STATIC
+
+ #ifdef _WIN64
+ typedef __int64 ssize_t;