  /* BeOS 5 doesn't have usleep(), but it has snooze(), which is identical. */
  # include <be/kernel/OS.h>
  static inline void testProcess_usleep(unsigned int msec)
-diff -ur cmake-2.6.1/Tests/Complex/Library/CMakeLists.txt cmake-2.6.1-haiku/Tests/Complex/Library/CMakeLists.txt
+diff -urN cmake-2.6.1/Tests/Complex/Library/CMakeLists.txt cmake-2.6.1-haiku/Tests/Complex/Library/CMakeLists.txt
 --- cmake-2.6.1/Tests/Complex/Library/CMakeLists.txt	2008-08-01 15:34:55.000000000 +0000
-+++ cmake-2.6.1-haiku/Tests/Complex/Library/CMakeLists.txt	2008-08-13 16:07:42.000000000 +0000
++++ cmake-2.6.1-haiku/Tests/Complex/Library/CMakeLists.txt	2008-08-20 13:49:06.000000000 +0000
 @@ -53,7 +53,9 @@
    )
  SET_TARGET_PROPERTIES(CMakeTestCLibraryShared PROPERTIES FOO BAR)

diff -ur cmake-2.6.1/Modules/CMakeFortranCompilerId.F90.in cmake-2.6.1-haiku/Modules/CMakeFortranCompilerId.F90.in
--- cmake-2.6.1/Modules/CMakeFortranCompilerId.F90.in	2008-08-01 15:34:50.000000000 +0000
+++ cmake-2.6.1-haiku/Modules/CMakeFortranCompilerId.F90.in	2008-08-13 16:07:41.000000000 +0000
@@ -50,6 +50,10 @@
    PRINT *, 'INFO:platform[IRIX]'
 #elif defined(__hpux) || defined(__hpux__)

   if ((oflags & O_CREAT) && chmod(pathname, mode & 07777))
     {
     return -1;
diff -urN cmake-2.6.1/Utilities/cmxmlrpc/xmlrpc_curl_transport.c cmake-2.6.1-haiku/Utilities/cmxmlrpc/xmlrpc_curl_transport.c
--- cmake-2.6.1/Utilities/cmxmlrpc/xmlrpc_curl_transport.c	2008-08-01 15:34:58.000000000 +0000
+++ cmake-2.6.1-haiku/Utilities/cmxmlrpc/xmlrpc_curl_transport.c	2008-08-20 13:49:07.000000000 +0000
@@ -10,7 +10,7 @@
 
 #include "xmlrpc_config.h"
