Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-11-01 22:13:46 +1000
committerAllan McRae <allan@archlinux.org>2013-11-15 11:02:27 +1000
commit0da98ec6bac17b4f56b67a6f5b2fa24896671a9f (patch)
tree832154e8215244f7c08eeab6d7ae03b18463e03c
parent5273e38fb254d6bfb9bce9078d346f3c08a294b1 (diff)
Ignore makedepend and checkdepend entries when parsing .PKGINFO file
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--lib/libalpm/be_package.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c
index 3f577bad..4e814f8b 100644
--- a/lib/libalpm/be_package.c
+++ b/lib/libalpm/be_package.c
@@ -218,6 +218,10 @@ static int parse_descfile(alpm_handle_t *handle, struct archive *a, alpm_pkg_t *
} else if(strcmp(key, "optdepend") == 0) {
alpm_depend_t *optdep = _alpm_splitdep(ptr);
newpkg->optdepends = alpm_list_add(newpkg->optdepends, optdep);
+ } else if(strcmp(key, "makedepend") == 0) {
+ /* not used atm */
+ } else if(strcmp(key, "checkdepend") == 0) {
+ /* not used atm */
} else if(strcmp(key, "conflict") == 0) {
alpm_depend_t *conflict = _alpm_splitdep(ptr);
newpkg->conflicts = alpm_list_add(newpkg->conflicts, conflict);