public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "John Helmert III" <ajak@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/openmsx/, games-emulation/openmsx/files/
Date: Wed,  7 Sep 2022 02:05:05 +0000 (UTC)	[thread overview]
Message-ID: <1662516300.6d6d0127c785423692e175399b4e6c317587524a.ajak@gentoo> (raw)

commit:     6d6d0127c785423692e175399b4e6c317587524a
Author:     John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  7 02:03:59 2022 +0000
Commit:     John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Wed Sep  7 02:05:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d6d0127

games-emulation/openmsx: fix time_t build failure

Closes: https://bugs.gentoo.org/868726
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>

 .../openmsx/files/openmsx-18.0-add-ctime.patch            | 15 +++++++++++++++
 .../{openmsx-18.0-r1.ebuild => openmsx-18.0-r2.ebuild}    |  2 ++
 2 files changed, 17 insertions(+)

diff --git a/games-emulation/openmsx/files/openmsx-18.0-add-ctime.patch b/games-emulation/openmsx/files/openmsx-18.0-add-ctime.patch
new file mode 100644
index 000000000000..bc104acaeec5
--- /dev/null
+++ b/games-emulation/openmsx/files/openmsx-18.0-add-ctime.patch
@@ -0,0 +1,15 @@
+https://github.com/openMSX/openMSX/pull/1445
+https://bugs.gentoo.org/868726
+
+diff --git a/src/file/FileBase.hh b/src/file/FileBase.hh
+index ec17fb641..d7397f908 100644
+--- a/src/file/FileBase.hh
++++ b/src/file/FileBase.hh
+@@ -4,6 +4,7 @@
+ #include "MemBuffer.hh"
+ #include "span.hh"
+ #include <cstdint>
++#include <ctime>
+ #include <string>
+
+ namespace openmsx {

diff --git a/games-emulation/openmsx/openmsx-18.0-r1.ebuild b/games-emulation/openmsx/openmsx-18.0-r2.ebuild
similarity index 98%
rename from games-emulation/openmsx/openmsx-18.0-r1.ebuild
rename to games-emulation/openmsx/openmsx-18.0-r2.ebuild
index 74a4c7604b70..ba32a858f88c 100644
--- a/games-emulation/openmsx/openmsx-18.0-r1.ebuild
+++ b/games-emulation/openmsx/openmsx-18.0-r2.ebuild
@@ -38,6 +38,8 @@ the following directories: /usr/share/${PN}/systemroms
 or ~/.openMSX/share/systemroms
 "
 
+PATCHES=( "${FILESDIR}/${P}-add-ctime.patch" )
+
 src_prepare() {
 	default
 	sed -i \


             reply	other threads:[~2022-09-07  2:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-07  2:05 John Helmert III [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-04-29 13:06 [gentoo-commits] repo/gentoo:master commit in: games-emulation/openmsx/, games-emulation/openmsx/files/ Pacho Ramos

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=1662516300.6d6d0127c785423692e175399b4e6c317587524a.ajak@gentoo \
    --to=ajak@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