Pacman no longer compiles on FreeBSD (tried with version 8.2).
* FreeBSD ships with libarchive 2.7.0 that has slightly fewer macros
* diskspace.c does not have strict enough #ifdef's (for statfs/statvfs)
* util.c does not include <limits.h> for PATH_MAX constant
(that's what `man limits.h` and the POSIX spec say at least)
The following patches fix compilation on FreeBSD (and do not break
the testsuite on Archlinux).
Note the additional dependencies for the testsuite:
* python 2.6 or 2.7
* GNU make (due to wildcard usage in testsuite's Makefile.am)
To apply on branch 'maint'.
Rémy Oudompheng (3):
Fix compatibility with older versions of libarchive.
util.c: include limits.h for PATH_MAX macro
diskspace: add the actually used statfs type in ifdefs