[oe-commits] Saul Wold : fontconfig: enable 64 bit file support

git at git.openembedded.org git at git.openembedded.org
Tue Jun 10 16:44:17 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 9f363f9e2a56d847efc37dfba38764ae393fbfd6
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9f363f9e2a56d847efc37dfba38764ae393fbfd6

Author: Saul Wold <sgw at linux.intel.com>
Date:   Thu Jun  5 17:09:05 2014 -0700

fontconfig: enable 64 bit file support

When running 32bit code on a large filessytem with 64bit inodes, the
fontcache was not being created correctly because an EOVERFLOW was being
returned from the fstat when reading the 64 inode on a 32bit system.

The fontcache is created at rootfs time on the host system via qemu.

[YOCTO #6338]

Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-graphics/fontconfig/fontconfig_2.11.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-graphics/fontconfig/fontconfig_2.11.1.bb b/meta/recipes-graphics/fontconfig/fontconfig_2.11.1.bb
index 797b321..4fa58ab 100644
--- a/meta/recipes-graphics/fontconfig/fontconfig_2.11.1.bb
+++ b/meta/recipes-graphics/fontconfig/fontconfig_2.11.1.bb
@@ -38,5 +38,7 @@ DEBIAN_NOAUTONAME_fontconfig-utils = "1"
 inherit autotools pkgconfig
 
 EXTRA_OECONF = " --disable-docs --with-default-fonts=${datadir}/fonts"
+TARGET_CPPFLAGS += "-D_FILE_OFFSET_BITS=64"
+
 
 BBCLASSEXTEND = "native"



More information about the Openembedded-commits mailing list