aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/directfb/directfb-1.2.7
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/directfb/directfb-1.2.7')
-rw-r--r--recipes/directfb/directfb-1.2.7/ts_lib_autotools.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/directfb/directfb-1.2.7/ts_lib_autotools.patch b/recipes/directfb/directfb-1.2.7/ts_lib_autotools.patch
new file mode 100644
index 0000000000..f19c724a00
--- /dev/null
+++ b/recipes/directfb/directfb-1.2.7/ts_lib_autotools.patch
@@ -0,0 +1,22 @@
+---
+ configure.in | 7 +++++--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
+
+Index: DirectFB-1.2.7/configure.in
+===================================================================
+--- DirectFB-1.2.7.orig/configure.in
++++ DirectFB-1.2.7/configure.in
+@@ -1288,8 +1288,11 @@ fi
+
+ enable_tslib=no
+ if test "$checkfor_tslib" = "yes"; then
+- PKG_CHECK_MODULES([TSLIB], [tslib-0.0], [enable_tslib=yes], [enable_tslib=no,
+- AC_MSG_WARN([*** no tslib -- tslib driver will not be built.])])
++ PKG_CHECK_MODULES([TSLIB], [tslib-1.0 >= 1.0.0], [enable_tslib=yes], [enable_tslib=no])
++ if test "$enable_tslib" = "no"; then
++ PKG_CHECK_MODULES([TSLIB], [tslib-0.0], [enable_tslib=yes], [enable_tslib=no,
++ AC_MSG_WARN([*** no tslib -- tslib driver will not be built.])])
++ fi
+ fi
+
+ enable_ucb1x00_ts=no