summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-29 04:22:42 +0100
committerAllan McRae <allan@archlinux.org>2013-01-29 04:37:32 +0100
commit3aece8f0eedd703349bcd7bd6bf4b221d9f5775c (patch)
tree2afa7ee74edee5d0e5ee6062f2306c95fab086df /lib/libalpm
parente1e4bbb79ddd23e46b8d3a01168f4eb410308d5b (diff)
downloadpacman-3aece8f0eedd703349bcd7bd6bf4b221d9f5775c.tar.gz
pacman-3aece8f0eedd703349bcd7bd6bf4b221d9f5775c.tar.xz
Restore libarchive 2.8.x compatibility
We still call some of these 'deprecated' methods elsewhere, so this shouldn't present a problem. When we decide 2.x support is to be dropped, we should update all of the code to not call deprecated methods. Allan: Adjusted with respect to previous patches adding libarchive compatibilty layer. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/be_local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c
index 564e1097..49b1c742 100644
--- a/lib/libalpm/be_local.c
+++ b/lib/libalpm/be_local.c
@@ -239,7 +239,7 @@ static struct archive *_cache_mtree_open(alpm_pkg_t *pkg)
goto error;
}
- archive_read_support_filter_gzip(mtree);
+ _alpm_archive_read_support_filter_all(mtree);
archive_read_support_format_mtree(mtree);
if((r = _alpm_archive_read_open_file(mtree, mtfile, ALPM_BUFFER_SIZE))) {