freebsd-ports/textproc/opensearch-dashboards/files/patch-node__modules_re2_binding.gyp
Romain Tartière 19e156d514
textproc/opensearch-dashboards: New port
OpenSearch Dashboards is the default visualization tool for data in OpenSearch.
It also serves as a user interface for many of the OpenSearch plugins,
including security, alerting, Index State Management, SQL, and more.

WWW: http://opensearch.org

With hat:	opensearch
2021-09-19 09:33:47 -10:00

21 lines
577 B
Python

--- node_modules/re2/binding.gyp.orig 2021-07-02 23:30:56 UTC
+++ node_modules/re2/binding.gyp
@@ -45,7 +45,7 @@
"-Wno-sign-compare",
"-Wno-unused-parameter",
"-Wno-missing-field-initializers",
- "-Wno-cast-function-type",
+ "-Wno-bad-function-cast",
"-O3",
"-g"
],
@@ -54,7 +54,8 @@
"NOMINMAX"
],
"include_dirs": [
- "<!(node -e \"require('nan')\")",
+ "%%WRKSRC%%/node_modules/nan",
+ "%%LOCALBASE%%/include",
"vendor"
],
"xcode_settings": {