summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libalpm/package.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index 1294f8ef..8e67f177 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -580,6 +580,7 @@ int _alpm_pkg_dup(alpm_pkg_t *pkg, alpm_pkg_t **new_ptr)
newpkg->isize = pkg->isize;
newpkg->scriptlet = pkg->scriptlet;
newpkg->reason = pkg->reason;
+ newpkg->validation = pkg->validation;
newpkg->licenses = alpm_list_strdup(pkg->licenses);
newpkg->replaces = list_depdup(pkg->replaces);