diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-06-12 03:35:39 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-06-12 23:51:55 +0000 |
commit | 73842f887aff2aa2d42a2979a2e3c2006bc3bbd8 (patch) | |
tree | 749d6aae3f3986895f381c71acb7320c86e3fa0d /user/qt5-qtwebkit/new-bison.patch | |
parent | 3277887e8cc958965876d92577d0481553cf885b (diff) | |
download | packages-73842f887aff2aa2d42a2979a2e3c2006bc3bbd8.tar.gz packages-73842f887aff2aa2d42a2979a2e3c2006bc3bbd8.tar.bz2 packages-73842f887aff2aa2d42a2979a2e3c2006bc3bbd8.tar.xz packages-73842f887aff2aa2d42a2979a2e3c2006bc3bbd8.zip |
user/qt5-qtwebkit: Update snapshot
Fixes: #644
Diffstat (limited to 'user/qt5-qtwebkit/new-bison.patch')
-rw-r--r-- | user/qt5-qtwebkit/new-bison.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/user/qt5-qtwebkit/new-bison.patch b/user/qt5-qtwebkit/new-bison.patch new file mode 100644 index 000000000..57855f12e --- /dev/null +++ b/user/qt5-qtwebkit/new-bison.patch @@ -0,0 +1,18 @@ +--- a/Source/WebCore/css/makegrammar.pl 2020-04-14 00:51:51.000000000 +0200 ++++ b/Source/WebCore/css/makegrammar.pl 2020-10-25 14:59:39.879927464 +0100 +@@ -73,7 +73,6 @@ + } + + my $fileBase = File::Spec->join($outputDir, $filename); +-my @bisonCommand = ($bison, "-d", "-p", $symbolsPrefix, $grammarFilePath, "-o", "$fileBase.cpp"); ++my @bisonCommand = ($bison, "--no-lines", "--defines=$fileBase.cpp.h", "-p", $symbolsPrefix, $grammarFilePath, "--output=$fileBase.cpp"); +-push @bisonCommand, "--no-lines" if $^O eq "MSWin32"; # Work around bug in bison >= 3.0 on Windows where it puts backslashes into #line directives. + system(@bisonCommand) == 0 or die; + +@@ -91,6 +91,5 @@ + print HEADER "#endif\n"; + close HEADER; + +-unlink("$fileBase.cpp.h"); + unlink("$fileBase.hpp"); + |