Bug#539742: apt: FTBFS on GNU/kFreeBSD (due to mremap)
On Mon, Aug 03, 2009 at 01:40:30PM +0200, Petr Salinger wrote:
> Package: apt
> Severity: important
> Version: 0.7.22
> Tags: patch
> User: glibc-bsd-devel@lists.alioth.debian.org
> Usertags: kfreebsd
>
> Hi,
>
> the current version fails to build on GNU/kFreeBSD.
>
> >From "man mremap":
> "This call is Linux-specific, and should not be used in programs intended to be portable."
>
> Please guard usage of mremap() as shown bellow.
> The MREMAP_* defines are available only on Linux architectures,
> they can serve as signal of mremap() availability.
>
> Thanks in advance
It's already fixed in bzr since yesterday:
http://bzr.debian.org/loggerhead/apt/apt/debian-sid/revision/1832
--
Julian Andres Klode - Free Software Developer
Debian Developer - Contributing Member of SPI
Ubuntu Member - Fellow of FSFE
Website: http://jak-linux.org/ XMPP: juliank@jabber.org
Debian: http://www.debian.org/ SPI: http://www.spi-inc.org/
Ubuntu: http://www.ubuntu.com/ FSFE: http://www.fsfe.org/
Reply to: