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

git at git.openembedded.org git at git.openembedded.org
Fri Jun 6 08:32:56 UTC 2014


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

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

freetype: 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/freetype/freetype_2.5.3.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-graphics/freetype/freetype_2.5.3.bb b/meta/recipes-graphics/freetype/freetype_2.5.3.bb
index 5d239e8..122b8c0 100644
--- a/meta/recipes-graphics/freetype/freetype_2.5.3.bb
+++ b/meta/recipes-graphics/freetype/freetype_2.5.3.bb
@@ -23,6 +23,8 @@ LIBTOOL = "${S}/builds/unix/${HOST_SYS}-libtool"
 EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
 EXTRA_OEMAKE_class-native = ""
 EXTRA_OECONF = "--without-zlib --without-bzip2 CC_BUILD='${BUILD_CC}'"
+TARGET_CPPFLAGS += "-D_FILE_OFFSET_BITS=64"
+
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[pixmap] = "--with-png,--without-png,libpng"



More information about the Openembedded-commits mailing list