mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
ninja: Add patch to fix build due to missing header include.
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -72,3 +72,30 @@ index 484b0c1..dae7e3f 100644
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
From e0d5d39bcd89d6f8346a0242931cff1c363d8392 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Lotz <mmlr@mlotz.ch>
|
||||
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 <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
+#include <sys/select.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
#include "util.h"
|
||||
--
|
||||
2.2.2
|
||||
|
||||
Reference in New Issue
Block a user