From: Justin Mark Date: Sun, 12 Dec 2010 23:14:12 -0800 (PST) Subject: [Buildroot] Problem to add DConf in buildroot In-Reply-To: <20101212111553.4a532842@surf> Message-ID: <100569.46095.qm@web111109.mail.gq1.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Thomas, Thanks for your email. After I apply the patches from DConf along with a patch I had made, I can build Dconf under buildroot now, I will submit the changes for review later. Regards, -Justin --- On Sun, 12/12/10, Thomas Petazzoni wrote: > From: Thomas Petazzoni > Subject: Re: [Buildroot] Problem to add DConf in buildroot > To: "Justin Mark" > Cc: buildroot at busybox.net, "Lionel Landwerlin" > Date: Sunday, December 12, 2010, 2:15 AM > Hello, > > On Sat, 11 Dec 2010 19:37:36 -0800 (PST) > Justin Mark > wrote: > > > so there's no implementation for posix_fallocate(). > Since this > > function is only called once in Dconf, like this: if > (posix_fallocate > > (fd, 0, 1) == 0) > > > > maybe I can patch the Dconf file, if anyone has an > idea on how to > > replace the above code, please let me know. > > Just apply this patch from the DConf git repo, which > removes > posix_fallocate() and uses ftruncate() instead: > > http://git.gnome.org/browse/dconf/commit/?id=e3dd1d8ac6839851cb3015e89cdf39ecb2e2b081 > > You can add this patch in package/dconf/, and mention in > the patch > comment that it is already upstreamed and therefore should > be removed > when DConf version is bumped. > > Regards, > > Thomas > -- > Thomas Petazzoni, Free Electrons > Kernel, drivers, real-time and embedded Linux > development, consulting, training and support. > http://free-electrons.com >