diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2010-07-21 10:58:28 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-21 16:00:58 +0100 |
commit | 36bc4592f4f0e4b4afaba6a0eba21ee9d4ffcfb1 (patch) | |
tree | 5f8934d0c7fde07abcdfdcb81c9144646675694c /meta/packages/opkg/opkg-0.1.8/add_vercmp.patch | |
parent | 21fae7e2ec4891e00a611413f1be14ab71947236 (diff) | |
download | openembedded-core-contrib-36bc4592f4f0e4b4afaba6a0eba21ee9d4ffcfb1.tar.gz |
opkg: Upgraded to version 0.1.8
Use stable release as default recipe.
Remove logfix.patch since the logic is already in latest version package
Also fix the metadata
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/packages/opkg/opkg-0.1.8/add_vercmp.patch')
-rw-r--r-- | meta/packages/opkg/opkg-0.1.8/add_vercmp.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/packages/opkg/opkg-0.1.8/add_vercmp.patch b/meta/packages/opkg/opkg-0.1.8/add_vercmp.patch new file mode 100644 index 0000000000..540be83950 --- /dev/null +++ b/meta/packages/opkg/opkg-0.1.8/add_vercmp.patch @@ -0,0 +1,34 @@ +Index: trunk/libopkg/opkg.c +=================================================================== +--- trunk.orig/libopkg/opkg.c 2010-01-26 20:32:19.000000000 +0000 ++++ trunk/libopkg/opkg.c 2010-01-26 20:40:34.000000000 +0000 +@@ -876,3 +876,18 @@ + + return ret; + } ++ ++int ++opkg_compare_versions (const char *ver1, const char *ver2) ++{ ++ pkg_t *pkg1, *pkg2; ++ ++ pkg1 = pkg_new(); ++ pkg2 = pkg_new(); ++ ++ parse_version(pkg1, ver1); ++ parse_version(pkg2, ver2); ++ ++ return pkg_compare_versions(pkg1, pkg2); ++} ++ +Index: trunk/libopkg/opkg.h +=================================================================== +--- trunk.orig/libopkg/opkg.h 2010-01-26 20:32:19.000000000 +0000 ++++ trunk/libopkg/opkg.h 2010-01-26 20:35:19.000000000 +0000 +@@ -58,4 +58,6 @@ + + int opkg_repository_accessibility_check(void); + ++int opkg_compare_versions (const char *ver1, const char *ver2); ++ + #endif /* OPKG_H */ |