From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/
Date: Sat, 29 Apr 2023 07:08:52 +0000 (UTC) [thread overview]
Message-ID: <1682752115.8e6ea2a32454b265ef68be83bbc28b5319061421.sam@gentoo> (raw)
commit: 8e6ea2a32454b265ef68be83bbc28b5319061421
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 29 07:03:00 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 29 07:08:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e6ea2a3
media-tv/mythtv: fix build w/ gcc 13
Closes: https://bugs.gentoo.org/899770
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-tv/mythtv/files/mythtv-32.0-gcc13.patch | 40 +++++++++++++++++++++++++++
media-tv/mythtv/mythtv-32.0-r4.ebuild | 1 +
2 files changed, 41 insertions(+)
diff --git a/media-tv/mythtv/files/mythtv-32.0-gcc13.patch b/media-tv/mythtv/files/mythtv-32.0-gcc13.patch
new file mode 100644
index 000000000000..5d60da0c72b1
--- /dev/null
+++ b/media-tv/mythtv/files/mythtv-32.0-gcc13.patch
@@ -0,0 +1,40 @@
+https://bugs.gentoo.org/899770
+https://github.com/MythTV/mythtv/commit/3b76df2bb45789f075b6b83d6e6b436aebaf2e83
+
+From 3b76df2bb45789f075b6b83d6e6b436aebaf2e83 Mon Sep 17 00:00:00 2001
+From: David Hampton <mythtv@love2code.net>
+Date: Thu, 19 Jan 2023 14:52:28 -0500
+Subject: [PATCH] Assume existence of stdint.h in exiv2.
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Based on this commit to exiv2.
+
+ Author: Luis Díaz Más <piponazo@gmail.com>
+ Date: Wed Sep 16 21:40:05 2020 +0200
+
+ Assume existence of stdint.h
+--- a/external/libexiv2/xmpsdk/include/MD5.h
++++ b/external/libexiv2/xmpsdk/include/MD5.h
+@@ -25,18 +25,7 @@
+
+ #include <sys/types.h>
+
+-#ifdef _MSC_VER
+-// _MSC_VER 1600 == Visual Studio 2010
+-# if _MSC_VER < 1600
+-# ifdef EXV_HAVE_STDINT_H
+-# undef EXV_HAVE_STDINT_H
+-# endif
+-# endif
+-#endif
+-
+-#if defined(EXV_HAVE_STDINT_H) || defined(__MINGW32__) || defined(__MING64__) || defined(__APPLE__)
+-# include <stdint.h>
+-#endif
++#include <cstdint>
+
+ /* MSVC doesn't provide C99 types, but it has MS specific variants */
+ #ifdef _MSC_VER
+
diff --git a/media-tv/mythtv/mythtv-32.0-r4.ebuild b/media-tv/mythtv/mythtv-32.0-r4.ebuild
index ce9af87d74fa..80e017be9774 100644
--- a/media-tv/mythtv/mythtv-32.0-r4.ebuild
+++ b/media-tv/mythtv/mythtv-32.0-r4.ebuild
@@ -152,6 +152,7 @@ python_check_deps() {
PATCHES=(
"${FILESDIR}"/${PN}-32.0-python-version.patch
+ "${FILESDIR}"/${PN}-32.0-gcc13.patch
)
DISABLE_AUTOFORMATTING="yes"
next reply other threads:[~2023-04-29 7:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-29 7:08 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-11 12:03 [gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/, media-tv/mythtv/ Sam James
2024-01-09 7:22 Sam James
2023-09-27 2:40 Sam James
2023-08-28 19:32 Sam James
2020-11-15 15:31 Joonas Niilola
2019-09-20 16:18 Joonas Niilola
2019-08-14 11:15 Andreas Sturmlechner
2017-10-20 21:39 Andreas Hüttel
2017-03-12 23:19 Michael Palimaka
2016-04-16 12:11 Richard Freeman
2015-09-14 14:20 Doug Goldstein
2015-09-06 3:25 Doug Goldstein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1682752115.8e6ea2a32454b265ef68be83bbc28b5319061421.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox