diff options
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Search.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Search.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Search.pm b/usr.sbin/pkg_add/OpenBSD/Search.pm index ef29cc7fdbf..1acedc7b362 100644 --- a/usr.sbin/pkg_add/OpenBSD/Search.pm +++ b/usr.sbin/pkg_add/OpenBSD/Search.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Search.pm,v 1.27 2011/07/02 12:12:58 espie Exp $ +# $OpenBSD: Search.pm,v 1.28 2014/01/31 10:30:48 espie Exp $ # # Copyright (c) 2007 Marc Espie <espie@openbsd.org> # @@ -57,10 +57,11 @@ sub filter_locations sub new { - my ($class, $pattern) = @_; + my ($class, $pattern, $with_partial) = @_; require OpenBSD::PkgSpec; - bless { spec => $class->spec_class->new($pattern)}, $class; + bless { spec => $class->spec_class->new($pattern, $with_partial)}, + $class; } sub add_pkgpath_hint |