projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cab5a7
)
Fixed compile break on pgpFreeDig with RPM 5, thanks eveith
author
Michael Schroeder
<mls@suse.de>
Thu, 1 Dec 2011 11:30:35 +0000
(12:30 +0100)
committer
Michael Schroeder
<mls@suse.de>
Thu, 1 Dec 2011 11:30:35 +0000
(12:30 +0100)
ext/repo_rpmdb.c
patch
|
blob
|
history
diff --git
a/ext/repo_rpmdb.c
b/ext/repo_rpmdb.c
index c9ea67638cbb385acd8be989e088e483e26c9078..13b0b7907410ac078460dc37bdf49e77f5d69123 100644
(file)
--- a/
ext/repo_rpmdb.c
+++ b/
ext/repo_rpmdb.c
@@
-3051,7
+3051,11
@@
pubkey2solvable(Solvable *s, Repodata *data, char *pubkey)
repodata_set_str(data, s - s->repo->pool->solvables, PUBKEY_KEYID, keyid);
if (dig->pubkey.userid)
setutf8string(data, s - s->repo->pool->solvables, SOLVABLE_SUMMARY, dig->pubkey.userid);
+#ifndef RPM5
(void)pgpFreeDig(dig);
+#else
+ (void)pgpDigFree(dig);
+#endif
solv_free((void *)pkts);
return 1;
}