mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-puzzle/greedy: Add missing includes
Closes: https://bugs.gentoo.org/716566 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
12
games-puzzle/greedy/files/greedy-0.2.0-missing-include.patch
Normal file
12
games-puzzle/greedy/files/greedy-0.2.0-missing-include.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- a/greedy.c
|
||||
+++ b/greedy.c
|
||||
@@ -13,6 +13,9 @@
|
||||
|
||||
#include <ncurses.h>
|
||||
#include <stdlib.h>
|
||||
+#include <time.h>
|
||||
+#include <unistd.h>
|
||||
+#include <string.h>
|
||||
#include "playmodes.h"
|
||||
#include "playmodes.c"
|
||||
|
||||
@@ -17,6 +17,8 @@ RDEPEND="sys-libs/ncurses:0="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-missing-include.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
|
||||
Reference in New Issue
Block a user