diff options
author | Martin Väth <martin@mvath.de> | 2021-05-04 08:41:30 +0200 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2021-05-04 08:41:30 +0200 |
commit | 74656a76316554c942acd3c37cae96dd2517fcd4 (patch) | |
tree | c6e82410daf519b5a1babecd0398fbedaa996284 /games-engines | |
parent | sys-apps/less x11-libs/gtk+: Version bumps (diff) | |
download | mv-74656a76316554c942acd3c37cae96dd2517fcd4.tar.gz mv-74656a76316554c942acd3c37cae96dd2517fcd4.tar.bz2 mv-74656a76316554c942acd3c37cae96dd2517fcd4.zip |
ispell freesci ipe libspiro kccmp avidemux: Bumps, gcc-11, fixes
Signed-off-by: Martin Väth <martin@mvath.de>
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/freesci/files/inline.patch | 40 | ||||
-rw-r--r-- | games-engines/freesci/freesci-0.6.4-r2.ebuild (renamed from games-engines/freesci/freesci-0.6.4-r1.ebuild) | 3 |
2 files changed, 42 insertions, 1 deletions
diff --git a/games-engines/freesci/files/inline.patch b/games-engines/freesci/files/inline.patch new file mode 100644 index 00000000..a7950c8c --- /dev/null +++ b/games-engines/freesci/files/inline.patch @@ -0,0 +1,40 @@ +Martin Väth <martin@mvath.de>: +Wrong inlines cause symbols/functions not to be found with current gcc-11 +--- 1/src/engine/klists.c ++++ 1/src/engine/klists.c +@@ -301,7 +301,7 @@ + return make_reg(0, ((l)? IS_NULL_REG(l->first) : 0)); + } + +-inline void ++void + _k_add_to_front(state_t *s, reg_t listbase, reg_t nodebase) + { + list_t *l = LOOKUP_LIST(listbase); +@@ -328,7 +328,7 @@ + l->first = nodebase; + } + +-inline void ++void + _k_add_to_end(state_t *s, reg_t listbase, reg_t nodebase) + { + list_t *l = LOOKUP_LIST(listbase); +--- ori/src/sfx/softseq/fmopl.c ++++ ori/src/sfx/softseq/fmopl.c +@@ -443,6 +443,7 @@ + /* operator output calcrator */ + #define OP_OUT(slot,env,con) slot->wavetable[((slot->Cnt + con) / (0x1000000 / SIN_ENT)) & (SIN_ENT-1)][env] + /* ---------- calcrate one of channel ---------- */ ++void OPL_CALC_CH(OPL_CH *CH); + INLINE void OPL_CALC_CH(OPL_CH *CH) { + guint32 env_out; + OPL_SLOT *SLOT; +@@ -486,6 +487,7 @@ + + /* ---------- calcrate rythm block ---------- */ + #define WHITE_NOISE_db 6.0 ++void OPL_CALC_RH(OPL_CH *CH); + INLINE void OPL_CALC_RH(OPL_CH *CH) { + guint32 env_tam, env_sd, env_top, env_hh; + int whitenoise = (int)((rand()&1) * (WHITE_NOISE_db / EG_STEP)); diff --git a/games-engines/freesci/freesci-0.6.4-r1.ebuild b/games-engines/freesci/freesci-0.6.4-r2.ebuild index d5e21890..fe1f18c4 100644 --- a/games-engines/freesci/freesci-0.6.4-r1.ebuild +++ b/games-engines/freesci/freesci-0.6.4-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors and Martin V\"ath +# Copyright 1999-2021 Gentoo Authors and Martin V\"ath # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -30,6 +30,7 @@ src_prepare() { Makefile.in \ || die "sed failed" eapply -p0 "${FILESDIR}"/${P}-glibc2.10.patch + eapply "${FILESDIR}"/inline.patch default } |