View | Details | Raw Unified | Return to bug 213674
Collapse All | Expand All

(-)files/patch-configure.py (+11 lines)
Line 0 Link Here
1
--- configure.py.orig	2016-10-21 14:05:29 UTC
2
+++ configure.py
3
@@ -98,7 +98,7 @@ class Platform(object):
4
         return self._platform in ('freebsd', 'openbsd', 'bitrig')
5
 
6
     def supports_ppoll(self):
7
-        return self._platform in ('linux', 'openbsd', 'bitrig')
8
+        return self._platform in ('freebsd', 'linux', 'openbsd', 'bitrig')
9
 
10
     def supports_ninja_browse(self):
11
         return (not self.is_windows()
(-)files/patch-src_subprocess-posix.cc (+16 lines)
Line 0 Link Here
1
--- src/subprocess-posix.cc.orig	2016-04-28 14:56:44 UTC
2
+++ src/subprocess-posix.cc
3
@@ -24,6 +24,13 @@
4
 #include <sys/wait.h>
5
 #include <spawn.h>
6
 
7
+#ifdef __FreeBSD__
8
+#  include <sys/param.h>
9
+#  if defined USE_PPOLL && __FreeBSD_version < 1002000
10
+#    undef USE_PPOLL
11
+#  endif
12
+#endif
13
+
14
 extern char** environ;
15
 
16
 #include "util.h"

Return to bug 213674