diff options
author | 2014-03-07 09:44:11 +0000 | |
---|---|---|
committer | 2014-03-07 09:44:11 +0000 | |
commit | e1375b2e8092d6f55244cb7ca578d8e08cf31ec9 (patch) | |
tree | 8b7a6c3d528559b06f5595c16798a2ce503ae165 | |
parent | We already have three identical copies of the *hci_str() function, (diff) | |
download | wireguard-openbsd-e1375b2e8092d6f55244cb7ca578d8e08cf31ec9.tar.xz wireguard-openbsd-e1375b2e8092d6f55244cb7ca578d8e08cf31ec9.zip |
the IO::Uncompress framework can auto-detect compression type, turn
that on to make sure things are okay all the time.
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackageRepository.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm index 2ae64c79215..8d0dbb87d01 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackageRepository.pm,v 1.108 2014/02/08 11:07:33 espie Exp $ +# $OpenBSD: PackageRepository.pm,v 1.109 2014/03/07 09:44:11 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org> # @@ -301,8 +301,8 @@ sub did_it_fork sub uncompress { my $self = shift; - require IO::Uncompress::Gunzip; - return IO::Uncompress::Gunzip->new(@_, MultiStream => 1); + require IO::Uncompress::AnyUncompress; + return IO::Uncompress::AnyUncompress->new(@_, MultiStream => 1); } package OpenBSD::PackageRepository::Local; |