diff options
author | Alexey Sokolov <alexey+gentoo@asokolov.org> | 2021-10-11 16:55:13 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-10-11 16:55:13 +0200 |
commit | feda2a75f9c5e60c6be66ec04a69e9949d6db1ed (patch) | |
tree | 236b425653172b72013f2a60f8d48f644702880d /media-sound | |
parent | dev-perl/Gtk3-ImageView: version bump 10 (diff) | |
download | gentoo-feda2a75f9c5e60c6be66ec04a69e9949d6db1ed.tar.gz gentoo-feda2a75f9c5e60c6be66ec04a69e9949d6db1ed.tar.bz2 gentoo-feda2a75f9c5e60c6be66ec04a69e9949d6db1ed.zip |
media-sound/ttaenc: fix build
Closes: https://github.com/gentoo/gentoo/pull/22445
Closes: https://bugs.gentoo.org/721988
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/ttaenc/files/ttaenc-3.4.1-fix-hybrid-filter.patch | 13 | ||||
-rw-r--r-- | media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild | 7 |
2 files changed, 18 insertions, 2 deletions
diff --git a/media-sound/ttaenc/files/ttaenc-3.4.1-fix-hybrid-filter.patch b/media-sound/ttaenc/files/ttaenc-3.4.1-fix-hybrid-filter.patch new file mode 100644 index 000000000000..e6243dfae77e --- /dev/null +++ b/media-sound/ttaenc/files/ttaenc-3.4.1-fix-hybrid-filter.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/721988 + +--- a/ttaenc.c ++++ b/ttaenc.c +@@ -525,7 +525,7 @@ __inline void memshl (register int *pA, register int *pB) { + *pA = *pB; + } + +-__inline void hybrid_filter (fltst *fs, int *in, int mode) { ++static void hybrid_filter (fltst *fs, int *in, int mode) { + register int *pA = fs->dl; + register int *pB = fs->qm; + register int *pM = fs->dx; diff --git a/media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild b/media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild index 34f01191dd63..833e61d88d20 100644 --- a/media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild +++ b/media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,7 +14,10 @@ SLOT="0" KEYWORDS="amd64 x86" S="${WORKDIR}/${P}-src" -PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch ) +PATCHES=( + "${FILESDIR}"/${P}-fix-build-system.patch + "${FILESDIR}"/${P}-fix-hybrid-filter.patch +) src_configure() { tc-export CC |