packagekit: add 0.4.5
[vuplus_openembedded] / recipes / packagekit / files / no_validate.patch
1 Index: PackageKit-0.3.8/configure.ac
2 ===================================================================
3 --- PackageKit-0.3.8.orig/configure.ac  2008-11-04 21:37:17.000000000 +0000
4 +++ PackageKit-0.3.8/configure.ac       2008-11-04 21:37:57.000000000 +0000
5 @@ -451,11 +451,11 @@
6                           polkit-grant >= $POLKIT_GRANT_REQUIRED)
7         AC_SUBST(POLKIT_CFLAGS)
8         AC_SUBST(POLKIT_LIBS)
9 -       AC_CHECK_PROG([POLKIT_POLICY_FILE_VALIDATE],
10 -                     [polkit-policy-file-validate], [polkit-policy-file-validate])
11 -       if test -z "$POLKIT_POLICY_FILE_VALIDATE"; then
12 -          AC_MSG_ERROR([polkit-policy-file-validate not found])
13 -       fi
14 +       #AC_CHECK_PROG([POLKIT_POLICY_FILE_VALIDATE],
15 +       #             [polkit-policy-file-validate], [polkit-policy-file-validate])
16 +       #if test -z "$POLKIT_POLICY_FILE_VALIDATE"; then
17 +       #   AC_MSG_ERROR([polkit-policy-file-validate not found])
18 +       #fi
19         AC_DEFINE(USE_SECURITY_POLKIT, 1, [if we should use PolicyKit])
20  elif test x$with_security_framework = xdummy; then
21         AC_DEFINE(USE_SECURITY_DUMMY, 1, [if we should use a dummy security framework])