From 741941bfad1b5a071bba76fd1e3a4df0e2ed5d95 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 12 Jun 2022 03:35:39 -0500 Subject: user/qt5-qtwebkit: Update snapshot Fixes: #644 --- user/qt5-qtwebkit/new-bison.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 user/qt5-qtwebkit/new-bison.patch (limited to 'user/qt5-qtwebkit/new-bison.patch') 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"); + -- cgit v1.2.3-60-g2f50