1 |
commit: feda2a75f9c5e60c6be66ec04a69e9949d6db1ed |
2 |
Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org> |
3 |
AuthorDate: Mon Oct 11 14:55:13 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 11 14:55:13 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feda2a75 |
7 |
|
8 |
media-sound/ttaenc: fix build |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/22445 |
11 |
Closes: https://bugs.gentoo.org/721988 |
12 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
13 |
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> |
14 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
15 |
|
16 |
.../ttaenc/files/ttaenc-3.4.1-fix-hybrid-filter.patch | 13 +++++++++++++ |
17 |
media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild | 7 +++++-- |
18 |
2 files changed, 18 insertions(+), 2 deletions(-) |
19 |
|
20 |
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 |
21 |
new file mode 100644 |
22 |
index 00000000000..e6243dfae77 |
23 |
--- /dev/null |
24 |
+++ b/media-sound/ttaenc/files/ttaenc-3.4.1-fix-hybrid-filter.patch |
25 |
@@ -0,0 +1,13 @@ |
26 |
+https://bugs.gentoo.org/721988 |
27 |
+ |
28 |
+--- a/ttaenc.c |
29 |
++++ b/ttaenc.c |
30 |
+@@ -525,7 +525,7 @@ __inline void memshl (register int *pA, register int *pB) { |
31 |
+ *pA = *pB; |
32 |
+ } |
33 |
+ |
34 |
+-__inline void hybrid_filter (fltst *fs, int *in, int mode) { |
35 |
++static void hybrid_filter (fltst *fs, int *in, int mode) { |
36 |
+ register int *pA = fs->dl; |
37 |
+ register int *pB = fs->qm; |
38 |
+ register int *pM = fs->dx; |
39 |
|
40 |
diff --git a/media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild b/media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild |
41 |
index 34f01191dd6..833e61d88d2 100644 |
42 |
--- a/media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild |
43 |
+++ b/media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild |
44 |
@@ -1,4 +1,4 @@ |
45 |
-# Copyright 1999-2019 Gentoo Authors |
46 |
+# Copyright 1999-2021 Gentoo Authors |
47 |
# Distributed under the terms of the GNU General Public License v2 |
48 |
|
49 |
EAPI=7 |
50 |
@@ -14,7 +14,10 @@ SLOT="0" |
51 |
KEYWORDS="amd64 x86" |
52 |
|
53 |
S="${WORKDIR}/${P}-src" |
54 |
-PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch ) |
55 |
+PATCHES=( |
56 |
+ "${FILESDIR}"/${P}-fix-build-system.patch |
57 |
+ "${FILESDIR}"/${P}-fix-hybrid-filter.patch |
58 |
+) |
59 |
|
60 |
src_configure() { |
61 |
tc-export CC |