Gentoo Archives: gentoo-devhelp

From: Mike Frysinger <vapier@g.o>
To: gentoo-devhelp@l.g.o
Cc: "de Almeida, Valmor F." <dealmeidav@××××.gov>
Subject: Re: [gentoo-devhelp] gdbm ebuild with 64bit off_t
Date: Wed, 23 Jan 2008 05:23:07
Message-Id: 200801230023.04458.vapier@gentoo.org
In Reply to: RE: [gentoo-devhelp] gdbm ebuild with 64bit off_t by "de Almeida
On Tuesday 22 January 2008, de Almeida, Valmor F. wrote:
> When emerging gdbm-1.8.3-r3 on my system, off_t is 4 bytes. Therefore > the gdbm files are of about 2 GB maximum size. Trying to create > databases with greater sizes results in > > gdbm fatal: write error > > If gdbm is built with off_t defined as 8 bytes, much larger gdbm files > can be created. However previous database files created with off_t of 4 > bytes cannot be modified or read.
just modify the gdbm ebuild, add "inherit flag-o-matic", and then at the top of src_compile, add append-lfs-flags. -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies