Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2014-01-01 19:44:00 +1000
committerAllan McRae <allan@archlinux.org>2014-01-06 14:38:49 +1000
commit77268f352f2b3f4503be3748e0599822390902ae (patch)
treeb68437a2909f328a1f0ca379b7d065cfbab4c2ac /lib/libalpm
parent7fa35f32d8526e77c3e2ef075bc2aa353a9fafe3 (diff)
Copy validation field in _alpm_pkg_dup
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-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);