diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-06-12 03:35:39 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:34:01 -0500 |
commit | 741941bfad1b5a071bba76fd1e3a4df0e2ed5d95 (patch) | |
tree | 3bae0971eca983f8696b7ab1ad8218cf87e1ddf5 /user/qt5-qtwebkit/new-bison.patch | |
parent | 3506160b155883cbcbbd8a1b2fc4adda77eaa571 (diff) | |
download | packages-741941bfad1b5a071bba76fd1e3a4df0e2ed5d95.tar.gz packages-741941bfad1b5a071bba76fd1e3a4df0e2ed5d95.tar.bz2 packages-741941bfad1b5a071bba76fd1e3a4df0e2ed5d95.tar.xz packages-741941bfad1b5a071bba76fd1e3a4df0e2ed5d95.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"); + |