FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

LinkBack Thread Tools
Old 04-01-2011, 10:34 PM
Rémy Oudompheng
Default FreeBSD compile fixes

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(-)


Thread Tools

All times are GMT. The time now is 03:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org