commit: 298dd9d4630a90736e56d059481a99036b2ac1a2 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Oct 25 12:14:07 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Oct 25 12:15:25 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=298dd9d4
media-libs/libquicktime: fix build w/ Clang 16 Closes: https://bugs.gentoo.org/874447 Signed-off-by: Sam James <sam <AT> gentoo.org> .../files/libquicktime-1.2.4-implicit-func-decl.patch | 11 +++++++++++ ...quicktime-1.2.4-r3.ebuild => libquicktime-1.2.4-r4.ebuild} | 5 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/media-libs/libquicktime/files/libquicktime-1.2.4-implicit-func-decl.patch b/media-libs/libquicktime/files/libquicktime-1.2.4-implicit-func-decl.patch new file mode 100644 index 000000000000..c4fbb02d0754 --- /dev/null +++ b/media-libs/libquicktime/files/libquicktime-1.2.4-implicit-func-decl.patch @@ -0,0 +1,11 @@ +https://bugs.gentoo.org/874447 +--- a/plugins/png/qtpng.c ++++ b/plugins/png/qtpng.c +@@ -26,6 +26,7 @@ + #include <quicktime/colormodels.h> + #include <png.h> + #include <stdlib.h> ++#include <string.h> + #include "qtpng.h" + + typedef struct diff --git a/media-libs/libquicktime/libquicktime-1.2.4-r3.ebuild b/media-libs/libquicktime/libquicktime-1.2.4-r4.ebuild similarity index 96% rename from media-libs/libquicktime/libquicktime-1.2.4-r3.ebuild rename to media-libs/libquicktime/libquicktime-1.2.4-r4.ebuild index a56c905c7c94..d39c7d5b0dda 100644 --- a/media-libs/libquicktime/libquicktime-1.2.4-r3.ebuild +++ b/media-libs/libquicktime/libquicktime-1.2.4-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -25,7 +25,7 @@ RDEPEND=" dv? ( >=media-libs/libdv-1.0.0-r3[${MULTILIB_USEDEP}] ) ffmpeg? ( >=media-video/ffmpeg-3.2.6:0=[${MULTILIB_USEDEP}] ) gtk? ( x11-libs/gtk+:2 ) - jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] ) + jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] ) lame? ( >=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}] ) opengl? ( virtual/opengl ) png? ( >=media-libs/libpng-1.6.10:0[${MULTILIB_USEDEP}] ) @@ -58,6 +58,7 @@ PATCHES=( "${FILESDIR}"/${P}-ffmpeg29.patch "${FILESDIR}"/${P}-CVE-2016-2399.patch "${FILESDIR}"/${P}-CVE-2017-9122_et_al.patch + "${FILESDIR}"/${P}-implicit-func-decl.patch ) src_prepare() {
