diff options
author | root <root@rshg054.dnsready.net> | 2013-04-09 00:05:27 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-04-09 00:05:27 -0700 |
commit | 987f836820eae061f40608b4ee1b6a14ecced3cc (patch) | |
tree | d28e524877b41fb49ccb7b2f99b36db2f9c90e89 /community/packagekit | |
parent | ce26b1905ac40cd9389e1c9f364a2ccd8f4ec13c (diff) |
Tue Apr 9 00:05:27 PDT 2013
Diffstat (limited to 'community/packagekit')
-rw-r--r-- | community/packagekit/PKGBUILD | 6 | ||||
-rw-r--r-- | community/packagekit/alpm.patch | 22 |
2 files changed, 15 insertions, 13 deletions
diff --git a/community/packagekit/PKGBUILD b/community/packagekit/PKGBUILD index 3e2c73040..97d7aaff2 100644 --- a/community/packagekit/PKGBUILD +++ b/community/packagekit/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 87649 2013-04-05 01:44:23Z allan $ +# $Id: PKGBUILD 87881 2013-04-08 12:41:31Z jconder $ # Maintainer: Jonathan Conder <jonno.conder@gmail.com> pkgbase='packagekit' pkgname=('packagekit' 'packagekit-qt2' 'python2-packagekit') pkgver=0.7.6 -pkgrel=6 +pkgrel=9 pkgdesc="A system designed to make installation and updates of packages easier." arch=('i686' 'x86_64') url="http://www.packagekit.org" @@ -18,7 +18,7 @@ source=("http://www.packagekit.org/releases/PackageKit-$pkgver.tar.xz" 'libarchive.patch') sha256sums=('82c0a553075d49add3c4f58e6e93f7f3613938809a4b8e36f46476e86981b45d' 'd0ee8580202a878571dddd470017731299c63e5c5120afe881bb41b9544322b8' - '067f39917f5442b8146c793b62f86f66fc8a4c7e391c0f3219d13f98d45ba630' + 'd27c77d3c0e2932fff2916fedcae011bd283904ef7c329dd0dc05163b58d7415' '0d3798c8992afdc0930aa271b3e44deb55c046ab4adee25b4ec4c33bcdd950e2') build() { diff --git a/community/packagekit/alpm.patch b/community/packagekit/alpm.patch index aeba9c347..8b972b291 100644 --- a/community/packagekit/alpm.patch +++ b/community/packagekit/alpm.patch @@ -40,7 +40,7 @@ index 5c6b629..a4cd197 100644 alpm_strerror (errno)); } diff --git a/backends/alpm/pk-backend-config.c b/backends/alpm/pk-backend-config.c -index c8fd13b..1a82637 100644 +index c8fd13b..03adb47 100644 --- a/backends/alpm/pk-backend-config.c +++ b/backends/alpm/pk-backend-config.c @@ -33,35 +33,32 @@ @@ -357,14 +357,14 @@ index c8fd13b..1a82637 100644 + + return g_strcmp0 (section->name, name); +} -+ + +- if (alpm_list_find_str (config->repos, repo) == NULL) { +- config->repos = alpm_list_add (config->repos, g_strdup (repo)); +static PkBackendConfigSection * +pk_backend_config_enter_section (PkBackendConfig *config, const gchar *name) +{ + PkBackendConfigSection *section; - -- if (alpm_list_find_str (config->repos, repo) == NULL) { -- config->repos = alpm_list_add (config->repos, g_strdup (repo)); ++ + g_return_val_if_fail (config != NULL, NULL); + g_return_val_if_fail (name != NULL, NULL); + @@ -426,8 +426,8 @@ index c8fd13b..1a82637 100644 { - alpm_siglevel_t *level; - - g_return_val_if_fail (config != NULL, FALSE); - g_return_val_if_fail (section != NULL, FALSE); +- g_return_val_if_fail (config != NULL, FALSE); +- g_return_val_if_fail (section != NULL, FALSE); - g_return_val_if_fail (list != NULL, FALSE); - - level = g_hash_table_lookup (config->levels, section); @@ -439,8 +439,7 @@ index c8fd13b..1a82637 100644 - - while (TRUE) { - gboolean package = TRUE, database = TRUE; -+ g_return_val_if_fail (words != NULL, FALSE); - +- - if (g_str_has_prefix (list, "Package")) { - database = FALSE; - list += 7; @@ -506,7 +505,10 @@ index c8fd13b..1a82637 100644 - ++list; - } - } -- ++ g_return_if_fail (config != NULL); ++ g_return_if_fail (section != NULL); ++ g_return_if_fail (words != NULL); + - return TRUE; + section->siglevels = alpm_list_add_words (section->siglevels, words); } |