From d0d6c58c0579ec4d6ada9a9f91acc93215ca2773 Mon Sep 17 00:00:00 2001 From: Nagy Gabor Date: Sat, 12 Sep 2009 22:47:27 +0200 Subject: Add makepkgopt to be_package.c After commit 774c252 the --debug output shows 5-6 "syntax error..." lines for each package. After this patch pacman recognizes makepkgopt as a valid key, but doesn't do anything. Signed-off-by: Nagy Gabor Signed-off-by: Dan McGee --- lib/libalpm/be_package.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c index fef4b469..9c7c1617 100644 --- a/lib/libalpm/be_package.c +++ b/lib/libalpm/be_package.c @@ -112,6 +112,8 @@ static int parse_descfile(struct archive *a, pmpkg_t *newpkg) newpkg->provides = alpm_list_add(newpkg->provides, strdup(ptr)); } else if(!strcmp(key, "backup")) { newpkg->backup = alpm_list_add(newpkg->backup, strdup(ptr)); + } else if(!strcmp(key, "makepkgopt")) { + /* not used atm */ } else { _alpm_log(PM_LOG_DEBUG, "%s: syntax error in description file line %d\n", newpkg->name ? newpkg->name : "error", linenum); -- cgit v1.2.3-70-g09d2