DirectFB-1.7.6-tslib.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. https://github.com/deniskropp/DirectFB/pull/6
  2. https://bugs.gentoo.org/567294
  3. From 5c7c4b197b9d04587b05624db4cfca6503adb3ff Mon Sep 17 00:00:00 2001
  4. From: Mike Frysinger <vapier@gentoo.org>
  5. Date: Thu, 8 Dec 2016 16:47:34 -0500
  6. Subject: [PATCH] configure: fix tslib version check
  7. The tslib version is 1.0, not 1.0.0. Trying to check for the latter
  8. fails when using pkg-config:
  9. $ pkg-config --exists --print-errors "tslib-1.0 >= 1.0"
  10. $ pkg-config --exists --print-errors "tslib-1.0 >= 1.0.0"
  11. Requested 'tslib-1.0 >= 1.0.0' but version of tslib is 1.0
  12. ---
  13. configure.in | 2 +-
  14. 1 file changed, 1 insertion(+), 1 deletion(-)
  15. diff --git a/configure.in b/configure.in
  16. index 6143cd393699..12a65fdc4f52 100644
  17. --- a/configure.in
  18. +++ b/configure.in
  19. @@ -2561,7 +2561,7 @@ fi
  20. enable_tslib=no
  21. if test "$checkfor_tslib" = "yes"; then
  22. - PKG_CHECK_MODULES([TSLIB], [tslib-1.0 >= 1.0.0], [enable_tslib=yes], [enable_tslib=no])
  23. + PKG_CHECK_MODULES([TSLIB], [tslib-1.0 >= 1.0], [enable_tslib=yes], [enable_tslib=no])
  24. if test "$enable_tslib" = "no"; then
  25. PKG_CHECK_MODULES([TSLIB], [tslib-0.0], [enable_tslib=yes], [enable_tslib=no
  26. AC_MSG_WARN([*** no tslib -- tslib driver will not be built.])])
  27. --
  28. 2.11.0.rc2