24414414f9050f79f9f3c545b3c0117c90dcfb95
[packages.git] / Xorg / xorg / xserver / xorg-kdrive / patches / 001-tslib.patch
1 --- tslib-1.0/configure.orig    2008-10-05 14:13:43.000000000 +0200
2 +++ tslib-1.0/configure 2008-10-05 14:14:35.000000000 +0200
3 @@ -38587,12 +38587,12 @@
4      pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
5   elif test -n "$PKG_CONFIG"; then
6      if test -n "$PKG_CONFIG" && \
7 -    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tslib-0.0\"") >&5
8 -  ($PKG_CONFIG --exists --print-errors "tslib-0.0") 2>&5
9 +    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\"") >&5
10 +  ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
11    ac_status=$?
12    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13    (exit $ac_status); }; then
14 -  pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib-0.0" 2>/dev/null`
15 +  pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib-1.0" 2>/dev/null`
16  else
17    pkg_failed=yes
18  fi
19 @@ -38603,12 +38603,12 @@
20      pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
21   elif test -n "$PKG_CONFIG"; then
22      if test -n "$PKG_CONFIG" && \
23 -    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tslib-0.0\"") >&5
24 -  ($PKG_CONFIG --exists --print-errors "tslib-0.0") 2>&5
25 +    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\"") >&5
26 +  ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
27    ac_status=$?
28    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29    (exit $ac_status); }; then
30 -  pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib-0.0" 2>/dev/null`
31 +  pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib-1.0" 2>/dev/null`
32  else
33    pkg_failed=yes
34  fi
35 @@ -38626,9 +38626,9 @@
36          _pkg_short_errors_supported=no
37  fi
38          if test $_pkg_short_errors_supported = yes; then
39 -               TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "tslib-0.0" 2>&1`
40 +               TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "tslib-1.0" 2>&1`
41          else
42 -               TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "tslib-0.0" 2>&1`
43 +               TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "tslib-1.0" 2>&1`
44          fi
45         # Put the nasty error message in config.log where it belongs
46         echo "$TSLIB_PKG_ERRORS" >&5