projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
837ed96
)
repo_haiku: Translate B_PACKAGE_ARCHITECTURE_SOURCE to ARCH_SRC
author
Ingo Weinhold
<ingo_weinhold@gmx.de>
Thu, 30 May 2013 21:41:02 +0000
(23:41 +0200)
committer
Michael Schroeder
<mls@suse.de>
Mon, 17 Jun 2013 12:43:32 +0000
(14:43 +0200)
ext/repo_haiku.cpp
patch
|
blob
|
history
diff --git
a/ext/repo_haiku.cpp
b/ext/repo_haiku.cpp
index
092b957
..
134e3d8
100644
(file)
--- a/
ext/repo_haiku.cpp
+++ b/
ext/repo_haiku.cpp
@@
-125,6
+125,8
@@
static Id add_package_info_to_repo(Repo *repo, Repodata *repoData,
solvable->name = pool_str2id(pool, name, 1);
if (packageInfo.Architecture() == B_PACKAGE_ARCHITECTURE_ANY)
solvable->arch = ARCH_ANY;
+ else if (packageInfo.Architecture() == B_PACKAGE_ARCHITECTURE_SOURCE)
+ solvable->arch = ARCH_SRC;
else
solvable->arch = pool_str2id(pool,
BPackageInfo::kArchitectureNames[packageInfo.Architecture()], 1);