packagekit: add 0.4.5
[vuplus_openembedded] / recipes / packagekit / files / opkg-fix-declarations.diff
1 http://bugs.freedesktop.org/show_bug.cgi?id=20922
2
3 --- /tmp/pk-backend-opkg.c      2009-03-28 12:32:28.000000000 +0100
4 +++ PackageKit-0.4.5/backends/opkg/pk-backend-opkg.c    2009-03-28 12:48:04.000000000 +0100
5 @@ -47,7 +47,7 @@
6  } SearchParams;
7  
8  static void
9 -opkg_unknown_error (PkBackend *backend, gint error_code, gchar *failed_cmd)
10 +opkg_unknown_error (PkBackend *backend, gint error_code, const gchar *failed_cmd)
11  {
12         gchar *msg;
13  
14 @@ -105,7 +105,7 @@
15   *
16   * returns true if the tag is present
17   */
18 -gboolean
19 +static gboolean
20  opkg_check_tag (opkg_package_t *pkg, gchar *tag)
21  {
22         if (pkg->tags && tag)