* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/greedy/files/, games-puzzle/greedy/
@ 2021-03-31 9:40 David Seifert
0 siblings, 0 replies; only message in thread
From: David Seifert @ 2021-03-31 9:40 UTC (permalink / raw
To: gentoo-commits
commit: 0490b4b3276c58900eab8c2a798eecfa7060304f
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 31 09:40:16 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Mar 31 09:40:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0490b4b3
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 <AT> gentoo.org>
games-puzzle/greedy/files/greedy-0.2.0-missing-include.patch | 12 ++++++++++++
games-puzzle/greedy/greedy-0.2.0-r2.ebuild | 2 ++
2 files changed, 14 insertions(+)
diff --git a/games-puzzle/greedy/files/greedy-0.2.0-missing-include.patch b/games-puzzle/greedy/files/greedy-0.2.0-missing-include.patch
new file mode 100644
index 00000000000..a728cde5b34
--- /dev/null
+++ b/games-puzzle/greedy/files/greedy-0.2.0-missing-include.patch
@@ -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"
+
diff --git a/games-puzzle/greedy/greedy-0.2.0-r2.ebuild b/games-puzzle/greedy/greedy-0.2.0-r2.ebuild
index 37e76149bcf..aea669387c1 100644
--- a/games-puzzle/greedy/greedy-0.2.0-r2.ebuild
+++ b/games-puzzle/greedy/greedy-0.2.0-r2.ebuild
@@ -17,6 +17,8 @@ RDEPEND="sys-libs/ncurses:0="
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
+PATCHES=( "${FILESDIR}"/${P}-missing-include.patch )
+
src_prepare() {
default
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-31 9:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-31 9:40 [gentoo-commits] repo/gentoo:master commit in: games-puzzle/greedy/files/, games-puzzle/greedy/ David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox