commit: c37f4475d696ec22a3cbb148c4697c5fb8a5422a Author: Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com> AuthorDate: Mon Apr 10 23:28:51 2023 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Mon Apr 17 20:15:49 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c37f4475
media-libs/tg_owt: Fix gcc 13 support Closes: https://bugs.gentoo.org/895384 Thanks-to: Toralf Förster <toralf <AT> gentoo.org> Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com> Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> .../tg_owt-0_pre20230105-gcc-13-cstdint.patch | 22 ++++++++++++++++++++++ media-libs/tg_owt/tg_owt-0_pre20230105.ebuild | 4 ++++ 2 files changed, 26 insertions(+) diff --git a/media-libs/tg_owt/files/tg_owt-0_pre20230105-gcc-13-cstdint.patch b/media-libs/tg_owt/files/tg_owt-0_pre20230105-gcc-13-cstdint.patch new file mode 100644 index 000000000000..f4ea2dec9555 --- /dev/null +++ b/media-libs/tg_owt/files/tg_owt-0_pre20230105-gcc-13-cstdint.patch @@ -0,0 +1,22 @@ +Fix cstdint include for gcc 13 + +--- tg_owt-5098730b9eb6173f0b52068fe2555b7c1015123a.orig/src/modules/audio_processing/transient/file_utils.h ++++ tg_owt-5098730b9eb6173f0b52068fe2555b7c1015123a/src/modules/audio_processing/transient/file_utils.h +@@ -11,6 +11,7 @@ + #ifndef MODULES_AUDIO_PROCESSING_TRANSIENT_FILE_UTILS_H_ + #define MODULES_AUDIO_PROCESSING_TRANSIENT_FILE_UTILS_H_ + ++#include <cstdint> + #include <string.h> + + #include "rtc_base/system/file_wrapper.h" +--- tg_owt-5098730b9eb6173f0b52068fe2555b7c1015123a.orig/src/rtc_base/third_party/base64/base64.h ++++ tg_owt-5098730b9eb6173f0b52068fe2555b7c1015123a/src/rtc_base/third_party/base64/base64.h +@@ -12,6 +12,7 @@ + #ifndef RTC_BASE_THIRD_PARTY_BASE64_BASE64_H_ + #define RTC_BASE_THIRD_PARTY_BASE64_BASE64_H_ + ++#include <cstdint> + #include <string> + #include <vector> + diff --git a/media-libs/tg_owt/tg_owt-0_pre20230105.ebuild b/media-libs/tg_owt/tg_owt-0_pre20230105.ebuild index 2ae5b33250ff..33ea8cfeff34 100644 --- a/media-libs/tg_owt/tg_owt-0_pre20230105.ebuild +++ b/media-libs/tg_owt/tg_owt-0_pre20230105.ebuild @@ -64,6 +64,10 @@ DEPEND="${RDEPEND} " BDEPEND="virtual/pkgconfig" +PATCHES=( + "${FILESDIR}/tg_owt-0_pre20230105-gcc-13-cstdint.patch" +) + src_unpack() { unpack "${P}.tar.gz" unpack "libyuv-${LIBYUV_COMMIT}.tar.bz2"