mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Fixed processunix.c in cmake-2.6.1
This line, and those below, will be ignored-- M cmake-2.6.1-haiku-2.diff
This commit is contained in:
@@ -226,22 +226,6 @@ diff -urN cmake-2.6.1/Source/kwsys/ProcessUNIX.c cmake-2.6.1-haiku/Source/kwsys/
|
||||
/* BeOS 5 doesn't have usleep(), but it has snooze(), which is identical. */
|
||||
# include <be/kernel/OS.h>
|
||||
static inline void kwsysProcess_usleep(unsigned int msec)
|
||||
@@ -2534,6 +2534,7 @@
|
||||
}
|
||||
|
||||
/* If this is the first process, enable the signal handler. */
|
||||
+#ifndef __HAIKU__
|
||||
if(newProcesses.Count == 1)
|
||||
{
|
||||
/* Install our handler for SIGCHLD. Repeat call until it is not
|
||||
@@ -2554,6 +2555,7 @@
|
||||
&kwsysProcessesOldSigChldAction) < 0) &&
|
||||
(errno == EINTR));
|
||||
}
|
||||
+#endif
|
||||
}
|
||||
|
||||
return 1;
|
||||
diff -urN cmake-2.6.1/Source/kwsys/SystemTools.cxx cmake-2.6.1-haiku/Source/kwsys/SystemTools.cxx
|
||||
--- cmake-2.6.1/Source/kwsys/SystemTools.cxx 2008-08-01 15:34:55.000000000 +0000
|
||||
+++ cmake-2.6.1-haiku/Source/kwsys/SystemTools.cxx 2008-09-12 15:07:33.000000000 +0000
|
||||
|
||||
Reference in New Issue
Block a user