aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2013-05-16 12:52:45 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2013-05-16 12:52:45 +0100
commit9dcd799fd4d4ffb5c5f4e2649d612939641ee1ce (patch)
tree13b6ed8550dfe2675ab230a23bbac4cb689252bc /paludis/repositories/e/ebuild
parent4e55e28e052f8a218e27edd3e3689d1d3cf5ba76 (diff)
downloadpaludis-9dcd799fd4d4ffb5c5f4e2649d612939641ee1ce.tar.gz
paludis-9dcd799fd4d4ffb5c5f4e2649d612939641ee1ce.tar.xz
Update to new libarchive
Diffstat (limited to 'paludis/repositories/e/ebuild')
-rw-r--r--paludis/repositories/e/ebuild/utils/unpaxinate.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/e/ebuild/utils/unpaxinate.cc b/paludis/repositories/e/ebuild/utils/unpaxinate.cc
index fb45618f2..9aee832b6 100644
--- a/paludis/repositories/e/ebuild/utils/unpaxinate.cc
+++ b/paludis/repositories/e/ebuild/utils/unpaxinate.cc
@@ -29,7 +29,7 @@ int main(int argc, char *argv[])
return EXIT_FAILURE;
archive * archive(archive_read_new());
- archive_read_support_compression_all(archive);
+ archive_read_support_filter_all(archive);
archive_read_support_format_all(archive);
int x;
@@ -79,7 +79,7 @@ int main(int argc, char *argv[])
done_any = true;
}
- if (ARCHIVE_OK != ((x = archive_read_finish(archive))))
+ if (ARCHIVE_OK != ((x = archive_read_free(archive))))
{
std::cerr << "Could not finish reading '" << archive_file << "': libarchive returned " <<
x << ", archive_errno " << archive_errno(archive) << ": " << archive_error_string(archive) << std::endl;