diff options
Diffstat (limited to 'meta-moblin/packages/packagekit/files/opkg-fix-declarations.diff')
-rw-r--r-- | meta-moblin/packages/packagekit/files/opkg-fix-declarations.diff | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-moblin/packages/packagekit/files/opkg-fix-declarations.diff b/meta-moblin/packages/packagekit/files/opkg-fix-declarations.diff new file mode 100644 index 0000000000..8c86fabe4b --- /dev/null +++ b/meta-moblin/packages/packagekit/files/opkg-fix-declarations.diff | |||
@@ -0,0 +1,22 @@ | |||
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) | ||