mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
e55090794a
a/volume_key-0.3.12-x86_64-7.txz: Rebuilt. Build python3 bindings. l/atkmm2-2.36.3-x86_64-1.txz: Added. l/boost-1.84.0-x86_64-2.txz: Rebuilt. Drop python2 support. l/glibmm-2.66.7-x86_64-1.txz: Upgraded. l/gst-plugins-bad-free-1.24.1-x86_64-1.txz: Upgraded. l/gst-plugins-base-1.24.1-x86_64-1.txz: Upgraded. l/gst-plugins-good-1.24.1-x86_64-1.txz: Upgraded. l/gst-plugins-libav-1.24.1-x86_64-1.txz: Upgraded. l/gstreamer-1.24.1-x86_64-1.txz: Upgraded. l/gtkmm4-4.14.0-x86_64-1.txz: Upgraded. l/unicode-ucd-15.1.0-noarch-1.txz: Added. 153MB installed... oh well. Needed by gucharmap. xap/gucharmap-15.1.3-x86_64-1.txz: Upgraded. xap/x3270-4.3ga7-x86_64-1.txz: Upgraded.
46 lines
1.6 KiB
Diff
46 lines
1.6 KiB
Diff
From d92b11fea65364fefa700249bd3340e0cd4c5b31 Mon Sep 17 00:00:00 2001
|
|
From: Dmitry Shachnev <mitya57@gmail.com>
|
|
Date: Tue, 4 Aug 2020 21:04:06 +0300
|
|
Subject: [PATCH] Let Bison generate the header directly, to fix build with
|
|
Bison 3.7
|
|
|
|
Starting with Bison 3.7, the generated C++ file #include's the header
|
|
by default, instead of duplicating it. So we should not delete it.
|
|
|
|
Remove the code to add #ifdef guards to the header, since Bison adds
|
|
them itself since version 2.6.3.
|
|
---
|
|
Source/WebCore/css/makegrammar.pl | 21 +--------------------
|
|
1 file changed, 1 insertion(+), 20 deletions(-)
|
|
|
|
diff --git a/Source/WebCore/css/makegrammar.pl b/Source/WebCore/css/makegrammar.pl
|
|
index 5d63b08102eb5..9435701c70612 100644
|
|
--- a/Source/WebCore/css/makegrammar.pl
|
|
+++ b/Source/WebCore/css/makegrammar.pl
|
|
@@ -73,25 +73,6 @@
|
|
}
|
|
|
|
my $fileBase = File::Spec->join($outputDir, $filename);
|
|
-my @bisonCommand = ($bison, "-d", "-p", $symbolsPrefix, $grammarFilePath, "-o", "$fileBase.cpp");
|
|
+my @bisonCommand = ($bison, "--defines=$fileBase.h", "-p", $symbolsPrefix, $grammarFilePath, "-o", "$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;
|
|
-
|
|
-open HEADER, ">$fileBase.h" or die;
|
|
-print HEADER << "EOF";
|
|
-#ifndef CSSGRAMMAR_H
|
|
-#define CSSGRAMMAR_H
|
|
-EOF
|
|
-
|
|
-open HPP, "<$fileBase.cpp.h" or open HPP, "<$fileBase.hpp" or die;
|
|
-while (<HPP>) {
|
|
- print HEADER;
|
|
-}
|
|
-close HPP;
|
|
-
|
|
-print HEADER "#endif\n";
|
|
-close HEADER;
|
|
-
|
|
-unlink("$fileBase.cpp.h");
|
|
-unlink("$fileBase.hpp");
|
|
-
|