summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/ipkg/ipkg-0.99.135/remove-c99isms.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2005-09-05 12:16:56 +0000
committerRichard Purdie <richard@openedhand.com>2005-09-05 12:16:56 +0000
commit3e846ba477aef514313450d4dba343e097be1418 (patch)
treeefc621e3b343883a8e4e79a63eb974257fe69707 /openembedded/packages/ipkg/ipkg-0.99.135/remove-c99isms.patch
parentc49400dab0dbfd43842fcf6bdfc59937f4c0afe6 (diff)
downloadpoky-3e846ba477aef514313450d4dba343e097be1418.tar.gz
Updates against mainline openembedded + removal of some unneeded files
git-svn-id: https://svn.o-hand.com/repos/poky@19 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/ipkg/ipkg-0.99.135/remove-c99isms.patch')
-rw-r--r--openembedded/packages/ipkg/ipkg-0.99.135/remove-c99isms.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/openembedded/packages/ipkg/ipkg-0.99.135/remove-c99isms.patch b/openembedded/packages/ipkg/ipkg-0.99.135/remove-c99isms.patch
deleted file mode 100644
index e70f3af9ff..0000000000
--- a/openembedded/packages/ipkg/ipkg-0.99.135/remove-c99isms.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- C/ipkg_install.c~remove-c99isms.patch
7+++ C/ipkg_install.c
8@@ -186,14 +186,16 @@
9 {
10 abstract_pkg_vec_t *providers = pkg_hash_fetch_all_installation_candidates (&conf->pkg_hash, pkg_name);
11 int i;
12+ ipkg_error_t err;
13+ abstract_pkg_t *ppkg;
14
15 if (providers == NULL)
16 return IPKG_PKG_HAS_NO_CANDIDATE;
17
18 for (i = 0; i < providers->len; i++) {
19- abstract_pkg_t *ppkg = abstract_pkg_vec_get(providers, i);
20- ipkg_message(conf, IPKG_DEBUG2,"Function: %s calling ipkg_install_by_name %d \n",__FUNCTION__, i);
21- ipkg_error_t err = ipkg_install_by_name(conf, ppkg->name);
22+ ppkg = abstract_pkg_vec_get(providers, i);
23+ ipkg_message(conf, IPKG_DEBUG2,"Function: %s calling ipkg_install_by_name %d \n",__FUNCTION__, i);
24+ err = ipkg_install_by_name(conf, ppkg->name);
25 if (err)
26 return err;
27 }
28@@ -614,12 +616,13 @@
29 int pkg_remove_installed_replacees_unwind(ipkg_conf_t *conf, pkg_vec_t *replacees)
30 {
31 int i;
32+ int err;
33 int replaces_count = replacees->len;
34 for (i = 0; i < replaces_count; i++) {
35 pkg_t *replacee = replacees->pkgs[i];
36 if (replacee->state_status != SS_INSTALLED) {
37 ipkg_message(conf, IPKG_DEBUG2,"Function: %s calling ipkg_install_pkg \n",__FUNCTION__);
38- int err = ipkg_install_pkg(conf, replacee);
39+ err = ipkg_install_pkg(conf, replacee);
40 if (err)
41 return err;
42 }