aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/fltk/fltk-1.1.10/fltk-no-freetype-config.patch
diff options
context:
space:
mode:
authorFlorian Boor <florian@kernelconcepts.de>2015-03-02 11:33:47 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2015-03-06 07:33:40 +0100
commit308aeec34f79282691e1add962f79810e2374401 (patch)
tree5c6453ef583aa87a85b50c74b46a131518c81edb /meta-oe/recipes-support/fltk/fltk-1.1.10/fltk-no-freetype-config.patch
parent75212d36f5cc0002ef82c945da8ac693323b32e5 (diff)
downloadmeta-openembedded-contrib-308aeec34f79282691e1add962f79810e2374401.tar.gz
fltk: Replace use of freetype-config with pkg-config Drop blacklist entry
Tested building for MIPS 32bit QEMU Signed-off-by: Florian Boor <florian@kernelconcepts.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/fltk/fltk-1.1.10/fltk-no-freetype-config.patch')
-rw-r--r--meta-oe/recipes-support/fltk/fltk-1.1.10/fltk-no-freetype-config.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/fltk/fltk-1.1.10/fltk-no-freetype-config.patch b/meta-oe/recipes-support/fltk/fltk-1.1.10/fltk-no-freetype-config.patch
new file mode 100644
index 0000000000..5dbb0547df
--- /dev/null
+++ b/meta-oe/recipes-support/fltk/fltk-1.1.10/fltk-no-freetype-config.patch
@@ -0,0 +1,18 @@
+--- a/configure.in.orig 2015-03-01 16:00:35.956432907 +0100
++++ b/configure.in 2015-03-01 16:04:23.269580093 +0100
+@@ -865,11 +865,11 @@
+ AC_ARG_ENABLE(xft, [ --enable-xft turn on Xft support [default=no]])
+
+ if test x$enable_xft = xyes; then
+- AC_PATH_PROG(FTCONFIG,freetype-config)
++ AC_PATH_PROG(PKGCONFIG,pkg-config)
+
+- if test "x$FTCONFIG" != x; then
+- CPPFLAGS="`$FTCONFIG --cflags` $CPPFLAGS"
+- CXXFLAGS="`$FTCONFIG --cflags` $CXXFLAGS"
++ if test "x$PKGCONFIG" != x; then
++ CPPFLAGS="`$PKGCONFIG --cflags xft` $CPPFLAGS"
++ CXXFLAGS="`$PKGCONFIG --cflags xft` $CXXFLAGS"
+
+ AC_CHECK_HEADER(X11/Xft/Xft.h,
+ AC_CHECK_LIB(Xft, XftDrawCreate,