commit: a887bd2d76e02b7842fc72ecd69f8fbf32f98a36 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Sun Sep 27 08:55:14 2020 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Sun Sep 27 08:55:25 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a887bd2d
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 <AT> gentoo.org> app-emulation/ski/files/ski-1.3.2-lex-deps.patch | 17 +++++++++++++++++ app-emulation/ski/ski-1.3.2-r4.ebuild | 1 + 2 files changed, 18 insertions(+) diff --git a/app-emulation/ski/files/ski-1.3.2-lex-deps.patch b/app-emulation/ski/files/ski-1.3.2-lex-deps.patch new file mode 100644 index 00000000000..1dc8470864e --- /dev/null +++ b/app-emulation/ski/files/ski-1.3.2-lex-deps.patch @@ -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 diff --git a/app-emulation/ski/ski-1.3.2-r4.ebuild b/app-emulation/ski/ski-1.3.2-r4.ebuild index 3d904abf6d4..ed996625c01 100644 --- a/app-emulation/ski/ski-1.3.2-r4.ebuild +++ b/app-emulation/ski/ski-1.3.2-r4.ebuild @@ -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() {
