diff options
author | Sam James <sam@gentoo.org> | 2021-08-19 01:41:09 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-08-19 01:41:09 +0100 |
commit | a833125f7240f9764fcca9da36bbf4dc5cdcb2c0 (patch) | |
tree | 83cb070d9958f45c2b3f128a99b48c8b5ab0f929 | |
parent | games-arcade/moleinvasion: fix IncorrectCopyright (diff) | |
download | gentoo-a833125f7240f9764fcca9da36bbf4dc5cdcb2c0.tar.gz gentoo-a833125f7240f9764fcca9da36bbf4dc5cdcb2c0.tar.bz2 gentoo-a833125f7240f9764fcca9da36bbf4dc5cdcb2c0.zip |
games-emulation/gnuboy: add missing patch
Fixes: 9ed5fb34a77d5d488a7252f4041edaeff7da26a8
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | games-emulation/gnuboy/files/gnuboy-1.0.3-fix-implicit-decl-sprintf.patch | 25 | ||||
-rw-r--r-- | games-emulation/gnuboy/gnuboy-1.0.3-r2.ebuild | 2 |
2 files changed, 26 insertions, 1 deletions
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 000000000000..5b4cbfd1cc70 --- /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 9a20207a60e7..90d253101513 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=" |