patches to enable rsync 3.0.6 compile on AIX 3.2
Ian! D. Allen
idallen at idallen.ca
Thu May 14 03:26:32 GMT 2009
These two small changes enable 3.0.6 to compile and link on AIX 3.2:
diff -r rsync-3.0.6/lib/getaddrinfo.c rsync-3.0.6-new/lib/getaddrinfo.c
298c298
< if (!inet_aton(node, &ip)) {
---
> if (!inet_pton(AF_INET, node, &ip)) {
diff -r rsync-3.0.6/lib/sysacls.c rsync-3.0.6-new/lib/sysacls.c
1817a1818
> #if defined(ENOTSUP)
1818a1820,1822
> #else
> errno = EINVAL;
> #endif
As has been noted elsewhere, running ./configure with "ksh" works better
than with the default /bin/sh.
--
| Ian! D. Allen - idallen at idallen.ca - Ottawa, Ontario, Canada
| Home Page: http://idallen.com/ Contact Improv: http://contactimprov.ca/
| College professor (Open Source / Linux) via: http://teaching.idallen.com/
| Defend digital freedom: http://eff.org/ and have fun: http://fools.ca/
More information about the rsync
mailing list