diff options
Diffstat (limited to 'media-sound/ttaenc')
-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 |