[pacman-dev] [PATCH] Add makepkgopt to be_package.c

Nagy Gabor ngaba at bibl.u-szeged.hu
Sat Sep 12 17:00:50 EDT 2009


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 at 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);
-- 
1.6.4.2



More information about the pacman-dev mailing list