mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
media-libs/avidemux-plugins: fix clang
C++11 requires a space between literal and identifier Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/44589 Closes: https://github.com/gentoo/gentoo/pull/44589 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
d79fc3717b
commit
9bee53899f
@ -75,6 +75,8 @@ PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.8.1_p20251019-optional-pulse.patch"
|
||||
"${FILESDIR}/${PN}-2.8.1_p20251019-optional-libsamplerate.patch"
|
||||
"${FILESDIR}/${PN}-2.8.1_p20251019-include.patch"
|
||||
# https://github.com/mean00/avidemux2/pull/548.patch
|
||||
"${FILESDIR}/${PN}-2.8.1_p20251019-fix_clang.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
|
||||
@ -0,0 +1,18 @@
|
||||
PR pending https://github.com/mean00/avidemux2/pull/548.patch
|
||||
Fix build with clang
|
||||
>avidemux_plugins/ADM_audioEncoders/dcaenc/audioencoder_dcaenc.cpp:229:39: error:
|
||||
> invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
|
||||
> 229 | printf ("[dcaenc] Error !!! : %"PRIi32"\n", nbout);
|
||||
> | ^
|
||||
> |
|
||||
--- a/avidemux_plugins/ADM_audioEncoders/dcaenc/audioencoder_dcaenc.cpp
|
||||
+++ b/avidemux_plugins/ADM_audioEncoders/dcaenc/audioencoder_dcaenc.cpp
|
||||
@@ -226,7 +226,7 @@ bool AUDMEncoder_DcaEnc::encode(uint8_t *dest, uint32_t *len, uint32_t *samples)
|
||||
cont:
|
||||
if (nbout < 0)
|
||||
{
|
||||
- printf ("[dcaenc] Error !!! : %"PRIi32"\n", nbout);
|
||||
+ printf ("[dcaenc] Error !!! : %" PRIi32"\n", nbout);
|
||||
return false;
|
||||
}
|
||||
*len = nbout;
|
||||
Loading…
x
Reference in New Issue
Block a user