>>>>> "Arley" == arc <[EMAIL PROTECTED]> writes:
Arley> I ran into this problem trying to build cyrus 2.1.3 on Arley> Freebsd-4.5 p2. Anybody has anybody had any better success Arley> than I ? Here's the changes I made to get it to build on FreeBSD 4.5-RELEASE: diff -c -r cyrus-imapd-2.1.3-orig/config.h.in cyrus-imapd-2.1.3/config.h.in *** cyrus-imapd-2.1.3-orig/config.h.in Thu Mar 7 12:08:39 2002 --- cyrus-imapd-2.1.3/config.h.in Fri Mar 15 23:19:37 2002 *************** *** 255,260 **** --- 255,261 ---- /* getaddrinfo things */ #include <netdb.h> + #include <sys/types.h> #include <sys/socket.h> #ifndef HAVE_GETADDRINFO diff -c -r cyrus-imapd-2.1.3-orig/lib/cyrusdb_skiplist.c cyrus-imapd-2.1.3/lib/cyrusdb_skiplist.c *** cyrus-imapd-2.1.3-orig/lib/cyrusdb_skiplist.c Thu Feb 28 11:50:36 2002 --- cyrus-imapd-2.1.3/lib/cyrusdb_skiplist.c Fri Mar 15 23:44:22 2002 *************** *** 170,175 **** --- 170,179 ---- be_paranoid = 0 }; + #ifdef __FreeBSD__ + #define fdatasync(fd) fsync(fd) + #endif + #define FSYNC(fd) (do_fsync && fsync(fd)) #define FDATASYNC(fd) ((do_fsync == 1 && fdatasync(fd)) || \ (do_fsync == 2 && fsync(fd))) -- Bob