[pacman-dev] [PATCH 0/3] FreeBSD compile fixes
Rémy Oudompheng
remyoudompheng at gmail.com
Fri Apr 1 18:34:35 EDT 2011
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:
* fakeroot
* 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
acinclude.m4 | 8 ++++++--
lib/libalpm/be_sync.c | 2 ++
lib/libalpm/diskspace.c | 4 ++--
lib/libalpm/util.c | 1 +
4 files changed, 11 insertions(+), 4 deletions(-)
--
1.7.4.2
More information about the pacman-dev
mailing list