Nagy Gabor wrote:
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 <ngaba@bibl.u-szeged.hu> --- lib/libalpm/be_package.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c index fef4b46..9c7c161 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);
Patch looks good. I never got around to doing anything with those and I'm not sure we really need to... Allan