From 0f211c23677faffc005c5ead5ea5a509cc8390aa Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 30 May 2019 23:55:33 +0300 Subject: Allow specifying system package that doesn't belong to any repository for pkg-build --- bpkg/manifest-utility.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bpkg/manifest-utility.hxx') diff --git a/bpkg/manifest-utility.hxx b/bpkg/manifest-utility.hxx index 6e8c4e4..6c88f1f 100644 --- a/bpkg/manifest-utility.hxx +++ b/bpkg/manifest-utility.hxx @@ -47,12 +47,12 @@ namespace bpkg // Return empty version if none is specified. // version - parse_package_version (const char*); + parse_package_version (const char*, bool allow_wildcard = false); inline version - parse_package_version (const string& s) + parse_package_version (const string& s, bool allow_wildcard = false) { - return parse_package_version (s.c_str ()); + return parse_package_version (s.c_str (), allow_wildcard); } // If the passed location is a relative local path, then assume this is a -- cgit v1.1