diff --git a/dev-util/cmake/cmake-2.6.1-haiku-2.diff b/dev-util/cmake/cmake-2.6.1-haiku-2.diff index cb712b9a3..208f5033a 100644 --- a/dev-util/cmake/cmake-2.6.1-haiku-2.diff +++ b/dev-util/cmake/cmake-2.6.1-haiku-2.diff @@ -197,22 +197,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 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-10 15:34:37.000000000 +0000 @@ -282,7 +266,7 @@ diff -urN cmake-2.6.1/Tests/ComplexOneConfig/Library/CMakeLists.txt cmake-2.6.1- ) SET_TARGET_PROPERTIES(CMakeTestCLibraryShared PROPERTIES FOO BAR) IF(NOT BEOS) # No libm on BeOS. -+ IF(NOT HAIKU) # No limb on Haiku. ++ IF(NOT HAIKU) # No libm on Haiku. SET_TARGET_PROPERTIES(CMakeTestCLibraryShared PROPERTIES LINK_FLAGS "-lm") + ENDIF(NOT HAIKU) ENDIF(NOT BEOS)