public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/gnuboy/files/, games-emulation/gnuboy/
Date: Thu, 19 Aug 2021 00:41:24 +0000 (UTC)	[thread overview]
Message-ID: <1629333669.a833125f7240f9764fcca9da36bbf4dc5cdcb2c0.sam@gentoo> (raw)

commit:     a833125f7240f9764fcca9da36bbf4dc5cdcb2c0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 19 00:41:09 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 19 00:41:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a833125f

games-emulation/gnuboy: add missing patch

Fixes: 9ed5fb34a77d5d488a7252f4041edaeff7da26a8
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../gnuboy-1.0.3-fix-implicit-decl-sprintf.patch   | 25 ++++++++++++++++++++++
 games-emulation/gnuboy/gnuboy-1.0.3-r2.ebuild      |  2 +-
 2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/games-emulation/gnuboy/files/gnuboy-1.0.3-fix-implicit-decl-sprintf.patch b/games-emulation/gnuboy/files/gnuboy-1.0.3-fix-implicit-decl-sprintf.patch
new file mode 100644
index 00000000000..5b4cbfd1cc7
--- /dev/null
+++ b/games-emulation/gnuboy/files/gnuboy-1.0.3-fix-implicit-decl-sprintf.patch
@@ -0,0 +1,25 @@
+From 2c881f1ec456bab7deb4163a2f96814b479a81d7 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Thu, 19 Aug 2021 01:19:30 +0100
+Subject: [PATCH] Fix implicit declaration of sprintf
+
+--- a/exports.c
++++ b/exports.c
+@@ -1,6 +1,7 @@
+ 
+ 
+ #include <stdlib.h>
++#include <stdio.h>
+ 
+ #include "rc.h"
+ 
+--- a/sys/linux/fbdev.c
++++ b/sys/linux/fbdev.c
+@@ -9,6 +9,7 @@
+ 
+ 
+ #include <stdlib.h>
++#include <stdio.h>
+ #include <string.h>
+ #include <unistd.h>
+ #include <sys/mman.h>

diff --git a/games-emulation/gnuboy/gnuboy-1.0.3-r2.ebuild b/games-emulation/gnuboy/gnuboy-1.0.3-r2.ebuild
index 9a20207a60e..90d25310151 100644
--- a/games-emulation/gnuboy/gnuboy-1.0.3-r2.ebuild
+++ b/games-emulation/gnuboy/gnuboy-1.0.3-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://gentoo/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="X sdl"
+IUSE="X +sdl"
 REQUIRED_USE="!X? ( sdl )"
 
 RDEPEND="


                 reply	other threads:[~2021-08-19  0:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1629333669.a833125f7240f9764fcca9da36bbf4dc5cdcb2c0.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