mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
app-emulation/ski: fix lexter/parser generation race
Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/744676 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
17
app-emulation/ski/files/ski-1.3.2-lex-deps.patch
Normal file
17
app-emulation/ski/files/ski-1.3.2-lex-deps.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
escan.l depends on generated eparse.h.
|
||||
If eparse.h is not present yet escan.o
|
||||
could be built before ${YACC) is ran.
|
||||
|
||||
https://bugs.gentoo.org/744676
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -113,7 +113,8 @@ BUILT_SOURCES= \
|
||||
$(DAS_INSTR_DERIVED) \
|
||||
$(ASM_HASH_DERIVED) \
|
||||
$(ICNT_DERIVED) \
|
||||
- instr.c
|
||||
+ instr.c \
|
||||
+ eparse.h
|
||||
|
||||
ski_SOURCES= \
|
||||
main.c
|
||||
@@ -39,6 +39,7 @@ PATCHES=(
|
||||
"${FILESDIR}"/${P}-prototypes.patch
|
||||
"${FILESDIR}"/${P}-glibc-2.28.patch
|
||||
"${FILESDIR}"/${P}-gcc-10.patch #707144
|
||||
"${FILESDIR}"/${P}-lex-deps.patch #744676
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
Reference in New Issue
Block a user