  /* confdefs.h.  */
 diff -urN cvs-1.12.13/configure.in cvs-1.12.13-haiku/configure.in
 --- cvs-1.12.13/configure.in	2005-10-03 13:34:45.000000000 +0000
-+++ cvs-1.12.13-haiku/configure.in	2008-09-29 13:32:01.000000000 +0000
++++ cvs-1.12.13-haiku/configure.in	2008-09-30 18:38:24.000000000 +0000
 @@ -515,7 +515,7 @@
  
  # Try to find connect and gethostbyname.

   AC_DEFINE(HAVE_CONNECT, 1,
 [Define if you have the connect function.]))
 dnl no need to search nsl for gethostbyname here since we should have
diff -urN cvs-1.12.13/lib/getpass.c cvs-1.12.13-haiku/lib/getpass.c
--- cvs-1.12.13/lib/getpass.c	2005-09-19 21:12:21.000000000 +0000
+++ cvs-1.12.13-haiku/lib/getpass.c	2008-09-29 12:14:49.000000000 +0000
@@ -104,7 +104,7 @@
   else
     {
       /* We do the locking ourselves.  */
-      __fsetlocking (tty, FSETLOCKING_BYCALLER);
+//      __fsetlocking (tty, FSETLOCKING_BYCALLER);
 
       out = in = tty;
     }
diff -urN cvs-1.12.13/lib/stdbool_.h cvs-1.12.13-haiku/lib/stdbool_.h
--- cvs-1.12.13/lib/stdbool_.h	2005-05-23 17:44:32.000000000 +0000
+++ cvs-1.12.13-haiku/lib/stdbool_.h	2008-09-29 13:38:31.000000000 +0000
@@ -55,7 +55,7 @@
 
 /* BeOS <sys/socket.h> already #defines false 0, true 1.  We use the same

 # if !@HAVE__BOOL@
 #  if defined __SUNPRO_C && (__SUNPRO_C < 0x550 || __STDC__ == 1)
     /* Avoid stupid "warning: _Bool is a keyword in ISO C99".  */
