From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Problem to add DConf in buildroot
Date: Sun, 12 Dec 2010 11:15:53 +0100 [thread overview]
Message-ID: <20101212111553.4a532842@surf> (raw)
In-Reply-To: <681873.12388.qm@web111105.mail.gq1.yahoo.com>
Hello,
On Sat, 11 Dec 2010 19:37:36 -0800 (PST)
Justin Mark <oilehus@yahoo.com> 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
next prev parent reply other threads:[~2010-12-12 10:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-11 6:24 [Buildroot] Problem to add DConf in buildroot Justin Mark
2010-12-11 8:51 ` Lionel Landwerlin
2010-12-12 3:37 ` Justin Mark
2010-12-12 10:15 ` Thomas Petazzoni [this message]
2010-12-13 7:14 ` Justin Mark
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101212111553.4a532842@surf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox