* [gentoo-commits] repo/gentoo:master commit in: games-emulation/gnuboy/files/, games-emulation/gnuboy/
@ 2021-08-19 0:41 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2021-08-19 0:41 UTC (permalink / raw
To: gentoo-commits
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="
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-19 0:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-19 0:41 [gentoo-commits] repo/gentoo:master commit in: games-emulation/gnuboy/files/, games-emulation/gnuboy/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox