/
extra-node-re2-binding-gyp.patch
52 lines (52 loc) · 1.51 KB
/
extra-node-re2-binding-gyp.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
--- binding.gyp.orig 2023-06-15 22:48:53.000000000 +0200
+++ binding.gyp 2023-07-03 08:23:44.841710000 +0200
@@ -14,30 +14,6 @@
"lib/to_string.cc",
"lib/accessors.cc",
"lib/util.cc",
- "vendor/re2/bitmap256.cc",
- "vendor/re2/bitstate.cc",
- "vendor/re2/compile.cc",
- "vendor/re2/dfa.cc",
- "vendor/re2/filtered_re2.cc",
- "vendor/re2/mimics_pcre.cc",
- "vendor/re2/nfa.cc",
- "vendor/re2/onepass.cc",
- "vendor/re2/parse.cc",
- "vendor/re2/perl_groups.cc",
- "vendor/re2/prefilter.cc",
- "vendor/re2/prefilter_tree.cc",
- "vendor/re2/prog.cc",
- "vendor/re2/re2.cc",
- "vendor/re2/regexp.cc",
- "vendor/re2/set.cc",
- "vendor/re2/simplify.cc",
- "vendor/re2/stringpiece.cc",
- "vendor/re2/tostring.cc",
- "vendor/re2/unicode_casefold.cc",
- "vendor/re2/unicode_groups.cc",
- "vendor/util/pcre.cc",
- "vendor/util/rune.cc",
- "vendor/util/strutil.cc"
],
"cflags": [
"-std=c++2a",
@@ -46,7 +22,7 @@
"-Wno-sign-compare",
"-Wno-unused-parameter",
"-Wno-missing-field-initializers",
- "-Wno-cast-function-type",
+ "-Wno-bad-function-cast",
"-O3",
"-g"
],
@@ -55,7 +31,8 @@
"NOMINMAX"
],
"include_dirs": [
- "<!(node -e \"require('nan')\")",
+ "%%PREFIX%%/include",
+ "%%DEVDIR%%/nan",
"vendor"
],
"xcode_settings": {