aboutsummaryrefslogtreecommitdiff
path: root/ports/antlr4
diff options
context:
space:
mode:
authormartin-s <webmaster@macside.net>2017-11-05 19:13:16 +0100
committermartin-s <webmaster@macside.net>2017-11-05 19:13:16 +0100
commitd5a7da6bcb92b551d6f8a9a321deb063f6632dbc (patch)
tree9dfef57f1fb3611bde577cab7b9dee9411ffb041 /ports/antlr4
parentc6d69fac625706c52fc8e48615bc0c6d7b8dad25 (diff)
parent330b8d8bab6a3d07165bf7c05fea09a8e0d56348 (diff)
downloadvcpkg-d5a7da6bcb92b551d6f8a9a321deb063f6632dbc.tar.gz
vcpkg-d5a7da6bcb92b551d6f8a9a321deb063f6632dbc.zip
Merge branch 'master' of https://github.com/Microsoft/vcpkg into patch-vs2013
# Conflicts: # scripts/cmake/vcpkg_configure_cmake.cmake # toolsrc/src/vcpkg/vcpkgpaths.cpp
Diffstat (limited to 'ports/antlr4')
-rw-r--r--ports/antlr4/CONTROL2
-rw-r--r--ports/antlr4/portfile.cmake6
-rw-r--r--ports/antlr4/static.patch16
3 files changed, 12 insertions, 12 deletions
diff --git a/ports/antlr4/CONTROL b/ports/antlr4/CONTROL
index 03877e495..bf4df8d1c 100644
--- a/ports/antlr4/CONTROL
+++ b/ports/antlr4/CONTROL
@@ -1,3 +1,3 @@
Source: antlr4
-Version: 4.6-1
+Version: 4.7
Description: ANother Tool for Language Recognition \ No newline at end of file
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;