mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-20 10:13:01 +01:00
Add bison 3.4.1.
This commit is contained in:
parent
fb554b3685
commit
1a93f19e9c
18 changed files with 2495 additions and 12 deletions
23
sysa/bison-3.4.1/patches/fseterr.patch
Normal file
23
sysa/bison-3.4.1/patches/fseterr.patch
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
SPDX-FileCopyrightText: 2020 Giovanni Mascellani <gio@debian.org>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
commit b1127f6821cc9c40c5a9ee406bee7564c549d9a3
|
||||
Author: Giovanni Mascellani <gio@debian.org>
|
||||
Date: Thu Mar 26 18:02:01 2020 +0100
|
||||
|
||||
Compile bison.
|
||||
|
||||
diff --git lib/fseterr.c lib/fseterr.c
|
||||
index 8cd68e8..0ec7e2c 100644
|
||||
--- lib/fseterr.c
|
||||
+++ lib/fseterr.c
|
||||
@@ -53,7 +53,7 @@ fseterr (FILE *fp)
|
||||
#elif defined EPLAN9 /* Plan9 */
|
||||
if (fp->state != 0 /* CLOSED */)
|
||||
fp->state = 5 /* ERR */;
|
||||
-#elif 0 /* unknown */
|
||||
+#elif 1 /* unknown */
|
||||
/* Portable fallback, based on an idea by Rich Felker.
|
||||
Wow! 6 system calls for something that is just a bit operation!
|
||||
Not activated on any system, because there is no way to repair FP when
|
||||
Loading…
Add table
Add a link
Reference in a new issue