mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 02:56:31 +01:00
Add bison 3.8.6
This commit is contained in:
parent
1b784cdf04
commit
6a77c8f426
8 changed files with 217 additions and 0 deletions
19
steps/bison-3.8.2/patches/defines-header.patch
Normal file
19
steps/bison-3.8.2/patches/defines-header.patch
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
SPDX-FileCopyrightText: 2025 Samuel Tyler <samuel@samuelt.me>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
Change %header to %defines, this was renamed in development cycle for 3.8.
|
||||
|
||||
diff --git bison-3.8.2/src/parse-gram.y bison-3.8.2/src/parse-gram.y
|
||||
index 96e95ed1..10240483 100644
|
||||
--- bison-3.8.2/src/parse-gram.y
|
||||
+++ bison-3.8.2/src/parse-gram.y
|
||||
@@ -152,7 +152,7 @@
|
||||
%define parse.error custom
|
||||
%define parse.lac full
|
||||
%define parse.trace
|
||||
-%header
|
||||
+%defines
|
||||
%expect 0
|
||||
%verbose
|
||||
|
||||
18
steps/bison-3.8.2/patches/our-bison.patch
Normal file
18
steps/bison-3.8.2/patches/our-bison.patch
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
SPDX-FileCopyrightText: 2021 Samuel Tyler <samuel@samuelt.me>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
Why do they insist on using themselves to bootstrap themselves? It doesn't
|
||||
exist...
|
||||
|
||||
--- bison-3.8.2/Makefile.am 2021-04-15 21:29:36.596205032 +1000
|
||||
+++ bison-3.8.2/Makefile.am 2021-04-15 21:30:00.367365897 +1000
|
||||
@@ -39,7 +39,7 @@
|
||||
## Running the bison from this tarball. To generate our own parser,
|
||||
## but also to run the tests. Of course, you ought to keep a sane
|
||||
## version of Bison nearby...
|
||||
-BISON = $(top_builddir)/tests/bison
|
||||
+BISON = /usr/bin/bison
|
||||
BISON_IN = $(top_srcdir)/tests/bison.in
|
||||
YACC = $(BISON) -o y.tab.c
|
||||
AM_YFLAGS_WITH_LINES = --defines -Werror -Wall --report=all
|
||||
25
steps/bison-3.8.2/patches/po-files.patch
Normal file
25
steps/bison-3.8.2/patches/po-files.patch
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
SPDX-FileCopyrightText: 2025 Samuel Tyler <samuel@samuelt.me>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
Can't fetch PO files, no network access.
|
||||
|
||||
--- gnulib-7818455/gnulib-tool 2025-12-15 21:17:35.808587084 +1100
|
||||
+++ gnulib-7818455/gnulib-tool 2025-12-15 21:17:55.399588744 +1100
|
||||
@@ -5598,16 +5598,6 @@
|
||||
fi
|
||||
func_append added_files "$pobase/POTFILES.in$nl"
|
||||
fi
|
||||
- # Fetch PO files.
|
||||
- TP_URL="https://translationproject.org/latest/"
|
||||
- if $doit; then
|
||||
- echo "Fetching gnulib PO files from $TP_URL"
|
||||
- (cd "$destdir"/$pobase \
|
||||
- && wget --no-verbose --mirror --level=1 -nd -A.po -P . "${TP_URL}gnulib/"
|
||||
- )
|
||||
- else
|
||||
- echo "Fetch gnulib PO files from $TP_URL"
|
||||
- fi
|
||||
# Create po/LINGUAS.
|
||||
if $doit; then
|
||||
func_dest_tmpfilename $pobase/LINGUAS
|
||||
Loading…
Add table
Add a link
Reference in a new issue