mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
games-emulation/gnuboy: add missing patch
Fixes: 9ed5fb34a7
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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>
|
||||
@@ -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="
|
||||
|
||||
Reference in New Issue
Block a user