diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-20 13:02:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-20 13:02:32 +0000 |
commit | 65c1a6f8d7210639cbdc1565ccee4758f45dfc45 (patch) | |
tree | d7bea8e8d228e76b177eccb0ffc1f45a58a1e2f7 /dev-util/kbuild/files | |
parent | c4f077d9f57bf57fcded75904bf512075191d2d2 (diff) |
gentoo auto-resync : 20:11:2022 - 13:02:32
Diffstat (limited to 'dev-util/kbuild/files')
-rw-r--r-- | dev-util/kbuild/files/kbuild-0.1.9998.3572-fix-bison.patch | 15 | ||||
-rw-r--r-- | dev-util/kbuild/files/kbuild-0.1.9998.3572-fix-lto.patch | 11 |
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-util/kbuild/files/kbuild-0.1.9998.3572-fix-bison.patch b/dev-util/kbuild/files/kbuild-0.1.9998.3572-fix-bison.patch new file mode 100644 index 000000000000..822194b1c98b --- /dev/null +++ b/dev-util/kbuild/files/kbuild-0.1.9998.3572-fix-bison.patch @@ -0,0 +1,15 @@ +--- a/src/kash/Makefile.kmk 2022-11-12 16:42:14.195927909 +0200 ++++ b/src/kash/Makefile.kmk 2022-11-12 17:09:46.212159615 +0200 +@@ -210,8 +210,11 @@ + kash_USES = lex yacc + kash_LEXTOOL = FLEX + kash_LEXFLAGS = -8 +-#kash_YACCTOOL = BISON ++ifneq (,$(shell bison -V)) ++kash_YACCTOOL = BISON ++else + kash_YACCTOOL = YACC ++endif + kash_YACCFLAGS = -ld + kash_SOURCES += \ + arith.y \ diff --git a/dev-util/kbuild/files/kbuild-0.1.9998.3572-fix-lto.patch b/dev-util/kbuild/files/kbuild-0.1.9998.3572-fix-lto.patch new file mode 100644 index 000000000000..94eb14ee6cb6 --- /dev/null +++ b/dev-util/kbuild/files/kbuild-0.1.9998.3572-fix-lto.patch @@ -0,0 +1,11 @@ +--- a/src/kmk/remake.c ++++ b/src/kmk/remake.c +@@ -417,7 +417,7 @@ + if (!keep_going_flag && file->parent == 0) + { + const char *msg_joke = 0; +- extern struct dep *goals; ++ extern struct goaldep *goals; + + /* classics */ + if (!strcmp (file->name, "fire") |