aboutsummaryrefslogtreecommitdiff
path: root/ports/graphqlparser
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2021-07-14 12:46:05 -0700
committerGitHub <noreply@github.com>2021-07-14 12:46:05 -0700
commit957d2024b8d6ef44164559645dd898c306066964 (patch)
tree7efb14324d139bc22556cdf9d3896469a5846399 /ports/graphqlparser
parentd369df7ecf194005eaca46f07368779cd486badd (diff)
downloadvcpkg-957d2024b8d6ef44164559645dd898c306066964.tar.gz
vcpkg-957d2024b8d6ef44164559645dd898c306066964.zip
Update to Ubuntu 20.04. (#18892)
* Update Ubuntu to 20.04. * [tfhe] Disable -Wall -Werror * [sophus] Disable -Werror. * Fix typo in deployment of CUDA. * Add libxxf86vm-dev for opensubdiv. * [opensubdiv] Fix OpenCL search on Ubuntu 20.04, and document libxxf86vm-dev dependency * [msgpack11] Disable -Werror. * [qtwayland, qt5wayland] Add system library notice. * Add python-is-python3 to unbreak tensorflow, v8, and others * [graphqlparser] Remove directive rejected by Bison 3.5.1 * [ogdf] Mark as failing in ci.baseline.txt. Issue filed https://github.com/microsoft/vcpkg/issues/18936 * [bde] Mark failing in ci.baseline.txt, issue filed https://github.com/microsoft/vcpkg/issues/18937 * [soem] Patch out -Werror * Update pool.
Diffstat (limited to 'ports/graphqlparser')
-rw-r--r--ports/graphqlparser/CONTROL3
-rw-r--r--ports/graphqlparser/portfile.cmake1
-rw-r--r--ports/graphqlparser/remove-invalid-bison-directive.patch13
-rw-r--r--ports/graphqlparser/vcpkg.json6
4 files changed, 20 insertions, 3 deletions
diff --git a/ports/graphqlparser/CONTROL b/ports/graphqlparser/CONTROL
deleted file mode 100644
index 128c49498..000000000
--- a/ports/graphqlparser/CONTROL
+++ /dev/null
@@ -1,3 +0,0 @@
-Source: graphqlparser
-Version: 0.7.0-1
-Description: A GraphQL query parser in C++ with C and C++ APIs
diff --git a/ports/graphqlparser/portfile.cmake b/ports/graphqlparser/portfile.cmake
index 67b8a2231..92e369110 100644
--- a/ports/graphqlparser/portfile.cmake
+++ b/ports/graphqlparser/portfile.cmake
@@ -7,6 +7,7 @@ vcpkg_from_github(
PATCHES
win-cmake.patch
static-compile-fix.patch
+ remove-invalid-bison-directive.patch
)
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Linux" OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Darwin")
diff --git a/ports/graphqlparser/remove-invalid-bison-directive.patch b/ports/graphqlparser/remove-invalid-bison-directive.patch
new file mode 100644
index 000000000..0e0b896dc
--- /dev/null
+++ b/ports/graphqlparser/remove-invalid-bison-directive.patch
@@ -0,0 +1,13 @@
+diff --git a/parser.ypp b/parser.ypp
+index 2afbcac..baa9cab 100644
+--- a/parser.ypp
++++ b/parser.ypp
+@@ -7,8 +7,6 @@
+ * of patent rights can be found in the PATENTS file in the same directory.
+ */
+
+-%require "3"
+-
+ %skeleton "lalr1.cc"
+
+ %defines
diff --git a/ports/graphqlparser/vcpkg.json b/ports/graphqlparser/vcpkg.json
new file mode 100644
index 000000000..d859a1f19
--- /dev/null
+++ b/ports/graphqlparser/vcpkg.json
@@ -0,0 +1,6 @@
+{
+ "name": "graphqlparser",
+ "version-string": "0.7.0",
+ "port-version": 2,
+ "description": "A GraphQL query parser in C++ with C and C++ APIs"
+}