games-emulation/gnuboy: add missing patch

Fixes: 9ed5fb34a7
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-08-19 01:41:09 +01:00
parent afcd416a1e
commit a833125f72
2 changed files with 26 additions and 1 deletions

View File

@@ -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>

View File

@@ -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="