diff options
| author | Koen Kooi <koen@openembedded.org> | 2009-03-28 13:11:44 +0100 |
|---|---|---|
| committer | Koen Kooi <koen@openembedded.org> | 2009-03-28 13:11:44 +0100 |
| commit | 5554bd6fde6b7cbd71543f18ead848a0ab965706 (patch) | |
| tree | 5ba650361c92079b75009a019b20797dc24d0572 /recipes/packagekit/files | |
| parent | 9d5b227e6707347381884e1195077b2e5b6be9c9 (diff) | |
packagekit: add 0.4.5
Diffstat (limited to 'recipes/packagekit/files')
| -rw-r--r-- | recipes/packagekit/files/no_validate.patch | 21 | ||||
| -rw-r--r-- | recipes/packagekit/files/opkg-fix-declarations.diff | 22 | ||||
| -rw-r--r-- | recipes/packagekit/files/opkg-fix-includes.diff | 12 |
3 files changed, 55 insertions, 0 deletions
diff --git a/recipes/packagekit/files/no_validate.patch b/recipes/packagekit/files/no_validate.patch new file mode 100644 index 0000000000..f987b567df --- /dev/null +++ b/recipes/packagekit/files/no_validate.patch @@ -0,0 +1,21 @@ +Index: PackageKit-0.3.8/configure.ac +=================================================================== +--- PackageKit-0.3.8.orig/configure.ac 2008-11-04 21:37:17.000000000 +0000 ++++ PackageKit-0.3.8/configure.ac 2008-11-04 21:37:57.000000000 +0000 +@@ -451,11 +451,11 @@ + polkit-grant >= $POLKIT_GRANT_REQUIRED) + AC_SUBST(POLKIT_CFLAGS) + AC_SUBST(POLKIT_LIBS) +- AC_CHECK_PROG([POLKIT_POLICY_FILE_VALIDATE], +- [polkit-policy-file-validate], [polkit-policy-file-validate]) +- if test -z "$POLKIT_POLICY_FILE_VALIDATE"; then +- AC_MSG_ERROR([polkit-policy-file-validate not found]) +- fi ++ #AC_CHECK_PROG([POLKIT_POLICY_FILE_VALIDATE], ++ # [polkit-policy-file-validate], [polkit-policy-file-validate]) ++ #if test -z "$POLKIT_POLICY_FILE_VALIDATE"; then ++ # AC_MSG_ERROR([polkit-policy-file-validate not found]) ++ #fi + AC_DEFINE(USE_SECURITY_POLKIT, 1, [if we should use PolicyKit]) + elif test x$with_security_framework = xdummy; then + AC_DEFINE(USE_SECURITY_DUMMY, 1, [if we should use a dummy security framework]) diff --git a/recipes/packagekit/files/opkg-fix-declarations.diff b/recipes/packagekit/files/opkg-fix-declarations.diff new file mode 100644 index 0000000000..8c86fabe4b --- /dev/null +++ b/recipes/packagekit/files/opkg-fix-declarations.diff @@ -0,0 +1,22 @@ +http://bugs.freedesktop.org/show_bug.cgi?id=20922 + +--- /tmp/pk-backend-opkg.c 2009-03-28 12:32:28.000000000 +0100 ++++ PackageKit-0.4.5/backends/opkg/pk-backend-opkg.c 2009-03-28 12:48:04.000000000 +0100 +@@ -47,7 +47,7 @@ + } SearchParams; + + static void +-opkg_unknown_error (PkBackend *backend, gint error_code, gchar *failed_cmd) ++opkg_unknown_error (PkBackend *backend, gint error_code, const gchar *failed_cmd) + { + gchar *msg; + +@@ -105,7 +105,7 @@ + * + * returns true if the tag is present + */ +-gboolean ++static gboolean + opkg_check_tag (opkg_package_t *pkg, gchar *tag) + { + if (pkg->tags && tag) diff --git a/recipes/packagekit/files/opkg-fix-includes.diff b/recipes/packagekit/files/opkg-fix-includes.diff new file mode 100644 index 0000000000..7692b0c0e7 --- /dev/null +++ b/recipes/packagekit/files/opkg-fix-includes.diff @@ -0,0 +1,12 @@ +https://bugs.freedesktop.org/show_bug.cgi?id=20921 + +--- /tmp/pk-backend-opkg.c 2009-03-28 12:31:01.000000000 +0100 ++++ PackageKit-0.4.5/backends/opkg/pk-backend-opkg.c 2009-03-28 12:31:12.000000000 +0100 +@@ -27,7 +27,6 @@ + #include <pk-backend.h> + #include <pk-backend-internal.h> + #include <egg-debug.h> +-#include <pk-enum.h> + + #include <libopkg/opkg.h> + |
