FreeBSD Bugzilla – Attachment 176022 Details for
Bug 213674
devel/ninja: use ppoll where available [upstream]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Use ppoll where available
ninja-ppoll.diff.txt (text/plain), 1.88 KB, created by
Pietro Cerutti
on 2016-10-21 14:12:24 UTC
(
hide
)
Description:
Use ppoll where available
Filename:
MIME Type:
Creator:
Pietro Cerutti
Created:
2016-10-21 14:12:24 UTC
Size:
1.88 KB
patch
obsolete
>Index: files/patch-configure.py >=================================================================== >--- files/patch-configure.py (nonexistent) >+++ files/patch-configure.py (working copy) >@@ -0,0 +1,11 @@ >+--- configure.py.orig 2016-10-21 14:05:29 UTC >++++ configure.py >+@@ -98,7 +98,7 @@ class Platform(object): >+ return self._platform in ('freebsd', 'openbsd', 'bitrig') >+ >+ def supports_ppoll(self): >+- return self._platform in ('linux', 'openbsd', 'bitrig') >++ return self._platform in ('freebsd', 'linux', 'openbsd', 'bitrig') >+ >+ def supports_ninja_browse(self): >+ return (not self.is_windows() > >Property changes on: files/patch-configure.py >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-src_subprocess-posix.cc >=================================================================== >--- files/patch-src_subprocess-posix.cc (nonexistent) >+++ files/patch-src_subprocess-posix.cc (working copy) >@@ -0,0 +1,16 @@ >+--- src/subprocess-posix.cc.orig 2016-04-28 14:56:44 UTC >++++ src/subprocess-posix.cc >+@@ -24,6 +24,13 @@ >+ #include <sys/wait.h> >+ #include <spawn.h> >+ >++#ifdef __FreeBSD__ >++# include <sys/param.h> >++# if defined USE_PPOLL && __FreeBSD_version < 1002000 >++# undef USE_PPOLL >++# endif >++#endif >++ >+ extern char** environ; >+ >+ #include "util.h" > >Property changes on: files/patch-src_subprocess-posix.cc >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213674
: 176022