]> git.pld-linux.org Git - packages/qt5-qtwebengine.git/blob - bison-3.7.patch
add bison 3.7 patch from debian; rel 5
[packages/qt5-qtwebengine.git] / bison-3.7.patch
1 Description: use .hh extension for Bison header file
2  Previously Bison generated an .hh header and rule_bison.py changed it to .h.
3  That used to work fine, but with Bison 3.7 the generated .cc file #includes
4  that header (instead of duplicating it), so we need to keep the original
5  extension.
6 Author: Dmitry Shachnev <mitya57@debian.org>
7 Forwarded: no
8 Last-Update: 2020-07-28
9
10 --- a/src/3rdparty/chromium/third_party/blink/renderer/build/scripts/rule_bison.py
11 +++ b/src/3rdparty/chromium/third_party/blink/renderer/build/scripts/rule_bison.py
12 @@ -104,7 +104,7 @@ outputHFile.close()
13  os.unlink(outputHTmp)
14  
15  # Rewrite the generated header with #include guards.
16 -outputH = os.path.join(outputDir, inputRoot + '.h')
17 +outputH = outputHTmp
18  
19  outputHInGen = outputH.replace('gen/', '')
20  headerGuard = NameStyleConverter(outputHInGen).to_header_guard()
21 --- a/src/3rdparty/chromium/third_party/blink/renderer/core/BUILD.gn
22 +++ b/src/3rdparty/chromium/third_party/blink/renderer/core/BUILD.gn
23 @@ -952,7 +952,7 @@ action_foreach("make_core_generated_biso
24    ]
25    outputs = [
26      "$blink_core_output_dir/{{source_name_part}}.cc",
27 -    "$blink_core_output_dir/{{source_name_part}}.h",
28 +    "$blink_core_output_dir/{{source_name_part}}.hh",
29    ]
30    args = [
31      "{{source}}",
32 --- a/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xpath_parser.cc
33 +++ b/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xpath_parser.cc
34 @@ -31,7 +31,7 @@
35  #include "third_party/blink/renderer/core/xml/xpath_evaluator.h"
36  #include "third_party/blink/renderer/core/xml/xpath_ns_resolver.h"
37  #include "third_party/blink/renderer/core/xml/xpath_path.h"
38 -#include "third_party/blink/renderer/core/xpath_grammar.h"
39 +#include "third_party/blink/renderer/core/xpath_grammar.hh"
40  #include "third_party/blink/renderer/platform/bindings/exception_state.h"
41  #include "third_party/blink/renderer/platform/wtf/std_lib_extras.h"
42  #include "third_party/blink/renderer/platform/wtf/text/string_hash.h"
This page took 0.100324 seconds and 3 git commands to generate.