From dbefa64dda9b0d5f12b37e3ef21831d78663afa6 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 4 Dec 2013 15:35:39 +0000 Subject: libxft: fix Freetype header inclusion Freetype 2.5.1 changes the location of the header files but as directly including the files isn't recommended they don't see this as a problem. Change libxft to use the recommended macros instead of direct inclusion, to fix the compilation. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb') diff --git a/meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb b/meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb index 627a6d3d3c..16838f0eae 100644 --- a/meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb +++ b/meta/recipes-graphics/xorg-lib/libxft_2.3.1.bb @@ -20,6 +20,11 @@ PROVIDES = "xft" PE = "1" +SRC_URI += "file://freetype.patch" + +SRC_URI[md5sum] = "78d64dece560c9e8699199f3faa521c0" +SRC_URI[sha256sum] = "7fce32b92dcb7b2869bed567af2abc7bbad0d5d6fcf471b8a3e137964a31bbbd" + XORG_PN = "libXft" BBCLASSEXTEND = "native" @@ -28,6 +33,3 @@ python () { if d.getVar('DEBIAN_NAMES', True): d.setVar('PKG_${PN}', '${MLPREFIX}libxft2') } - -SRC_URI[md5sum] = "78d64dece560c9e8699199f3faa521c0" -SRC_URI[sha256sum] = "7fce32b92dcb7b2869bed567af2abc7bbad0d5d6fcf471b8a3e137964a31bbbd" -- cgit 1.2.3-korg