mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-19 01:35:24 +01:00
autogen: build with gperf 3.3
This commit is contained in:
parent
e4689a9467
commit
35a83169cc
3 changed files with 29 additions and 5 deletions
21
steps/autogen-5.18.16/files/gperf-3.3.patch
Normal file
21
steps/autogen-5.18.16/files/gperf-3.3.patch
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
SPDX-FileCopyrightText: Samuel Tyler <samuel@samuelt.me>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
In gperf 3.3, a new set of #if .. #elif .. #endif is added. Obviously
|
||||
this sed then breaks the C preprocessor.
|
||||
|
||||
It turns out these are unnecessary.
|
||||
|
||||
--- a/autoopts/tpl/str2enum.tpl 2026-01-13 19:48:05.623459591 +1100
|
||||
+++ b/autoopts/tpl/str2enum.tpl 2026-01-13 19:47:41.613458157 +1100
|
||||
@@ -811,9 +811,6 @@
|
||||
-e '/GNUC_.*_INLINE/d' \
|
||||
-e '/__attribute__.*inline/d' \
|
||||
-e '/^#if.*== *32/,/^#endif/d' \
|
||||
- -e '/^#ifdef/d' \
|
||||
- -e '/^#else/d' \
|
||||
- -e '/^#endif$/d' \
|
||||
-e '/key = [=(. base-type-name)=]_hash/s/key = /key = (int)/' \
|
||||
-e 's/^\(const [=(. base-type-name)=]_map_t\)/static inline \1/' \
|
||||
> baseline
|
||||
Loading…
Add table
Add a link
Reference in a new issue