diff options
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/greedy/files/greedy-0.2.0-missing-include.patch | 12 | ||||
-rw-r--r-- | games-puzzle/greedy/greedy-0.2.0-r2.ebuild | 2 |
2 files changed, 14 insertions, 0 deletions
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 000000000000..a728cde5b34e --- /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 37e76149bcf1..aea669387c16 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 |