diff --git a/dev-util/ninja/ninja-1.5.1.recipe b/dev-util/ninja/ninja-1.5.1.recipe index 172838a00..7d223c5c9 100644 --- a/dev-util/ninja/ninja-1.5.1.recipe +++ b/dev-util/ninja/ninja-1.5.1.recipe @@ -12,7 +12,7 @@ LICENSE="Apache v2" COPYRIGHT="2014 Google Inc." SOURCE_URI="https://github.com/martine/ninja/archive/v1.5.1.tar.gz" CHECKSUM_SHA256="fba77b9ed4b4dd0e86c4513776938dc64bd4508dc2055b04c0c6df68bcfa397d" -PATCHES="ninja-1.5.1.patch" +PATCHES="ninja-1.5.1.patchset" REVISION="2" ARCHITECTURES="!x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86" diff --git a/dev-util/ninja/patches/ninja-1.5.1.patch b/dev-util/ninja/patches/ninja-1.5.1.patchset similarity index 74% rename from dev-util/ninja/patches/ninja-1.5.1.patch rename to dev-util/ninja/patches/ninja-1.5.1.patchset index d9edfff19..3aa169072 100644 --- a/dev-util/ninja/patches/ninja-1.5.1.patch +++ b/dev-util/ninja/patches/ninja-1.5.1.patchset @@ -72,3 +72,30 @@ index 484b0c1..dae7e3f 100644 -- 1.8.3.4 +From e0d5d39bcd89d6f8346a0242931cff1c363d8392 Mon Sep 17 00:00:00 2001 +From: Michael Lotz +Date: Sat, 19 Dec 2015 23:30:47 +0000 +Subject: [PATCH] Add include of sys/select.h to get FD_* definitions. + +Apparently these are pulled in by one of the already present headers +on other platforms. A cursory look at the POSIX specs did not reveal +a requirement to expose these types with the given headers though. +--- + src/subprocess-posix.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/subprocess-posix.cc b/src/subprocess-posix.cc +index 743e406..5c17d75 100644 +--- a/src/subprocess-posix.cc ++++ b/src/subprocess-posix.cc +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + #include + + #include "util.h" +-- +2.2.2 +