Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/ski/files/, app-emulation/ski/
Date: Sun, 27 Sep 2020 08:55:33
Message-Id: 1601196925.a887bd2d76e02b7842fc72ecd69f8fbf32f98a36.slyfox@gentoo
1 commit: a887bd2d76e02b7842fc72ecd69f8fbf32f98a36
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 27 08:55:14 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 27 08:55:25 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a887bd2d
7
8 app-emulation/ski: fix lexter/parser generation race
9
10 Reported-by: Agostino Sarubbo
11 Closes: https://bugs.gentoo.org/744676
12 Package-Manager: Portage-3.0.8, Repoman-3.0.1
13 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
14
15 app-emulation/ski/files/ski-1.3.2-lex-deps.patch | 17 +++++++++++++++++
16 app-emulation/ski/ski-1.3.2-r4.ebuild | 1 +
17 2 files changed, 18 insertions(+)
18
19 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
20 new file mode 100644
21 index 00000000000..1dc8470864e
22 --- /dev/null
23 +++ b/app-emulation/ski/files/ski-1.3.2-lex-deps.patch
24 @@ -0,0 +1,17 @@
25 +escan.l depends on generated eparse.h.
26 +If eparse.h is not present yet escan.o
27 +could be built before ${YACC) is ran.
28 +
29 +https://bugs.gentoo.org/744676
30 +--- a/src/Makefile.am
31 ++++ b/src/Makefile.am
32 +@@ -113,7 +113,8 @@ BUILT_SOURCES= \
33 + $(DAS_INSTR_DERIVED) \
34 + $(ASM_HASH_DERIVED) \
35 + $(ICNT_DERIVED) \
36 +- instr.c
37 ++ instr.c \
38 ++ eparse.h
39 +
40 + ski_SOURCES= \
41 + main.c
42
43 diff --git a/app-emulation/ski/ski-1.3.2-r4.ebuild b/app-emulation/ski/ski-1.3.2-r4.ebuild
44 index 3d904abf6d4..ed996625c01 100644
45 --- a/app-emulation/ski/ski-1.3.2-r4.ebuild
46 +++ b/app-emulation/ski/ski-1.3.2-r4.ebuild
47 @@ -39,6 +39,7 @@ PATCHES=(
48 "${FILESDIR}"/${P}-prototypes.patch
49 "${FILESDIR}"/${P}-glibc-2.28.patch
50 "${FILESDIR}"/${P}-gcc-10.patch #707144
51 + "${FILESDIR}"/${P}-lex-deps.patch #744676
52 )
53
54 src_prepare() {