summaryrefslogtreecommitdiff
path: root/src/apk_package.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-12-14 17:04:26 +0200
committerTimo Teräs <timo.teras@iki.fi>2010-12-14 17:06:29 +0200
commitfca1c30b801537ce35c1e4aa50331ae52c9bf567 (patch)
treecc672d5bf3e1b6811aaff7d00ec49e14eae954c3 /src/apk_package.h
parent6e34f048c7e200a56761e19fea7801dbfa4b0e27 (diff)
downloadapk-tools-fca1c30b801537ce35c1e4aa50331ae52c9bf567.tar.gz
apk-tools-fca1c30b801537ce35c1e4aa50331ae52c9bf567.tar.bz2
apk-tools-fca1c30b801537ce35c1e4aa50331ae52c9bf567.tar.xz
apk-tools-fca1c30b801537ce35c1e4aa50331ae52c9bf567.zip
pkg, db: add preliminary support for arch field
Architecture is now: - parsed from .PKGINFO - written to index and installed db - appended to repository URL when fetching files
Diffstat (limited to 'src/apk_package.h')
-rw-r--r--src/apk_package.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk_package.h b/src/apk_package.h
index 55f6845..8ba1ffe 100644
--- a/src/apk_package.h
+++ b/src/apk_package.h
@@ -85,7 +85,7 @@ struct apk_package {
apk_hash_node hash_node;
unsigned repos;
struct apk_name *name;
- char *version;
+ char *version, *arch;
char *url, *description, *license;
struct apk_dependency_array *depends;
size_t installed_size, size;