pkgconfig.req.in: allow pkgconfig names to start with + (ALT#29737)
This commit is contained in:
parent
f5810fbcf0
commit
2992fcc3ab
@ -42,7 +42,8 @@ PkgconfigReqProv()
|
||||
case "$1" in
|
||||
*[!A-Za-z0-9_.+-]*)
|
||||
Fatal "$f: invalid pkg-config output: $line" ;;
|
||||
[A-Za-z0-9_]*) ;;
|
||||
[A-Za-z0-9]*) ;;
|
||||
[_+]*[A-Za-z0-9]*) ;;
|
||||
*) Fatal "$f: invalid pkg-config output: $line" ;;
|
||||
esac
|
||||
if [ $# = 1 ]; then
|
||||
@ -56,7 +57,8 @@ PkgconfigReqProv()
|
||||
case "$3" in
|
||||
*[!A-Za-z0-9_.+-]*)
|
||||
Fatal "$f: invalid pkg-config output: $line" ;;
|
||||
[A-Za-z0-9_]*) ;;
|
||||
[A-Za-z0-9]*) ;;
|
||||
[_+]*[A-Za-z0-9]*) ;;
|
||||
*) Fatal "$f: invalid pkg-config output: $line" ;;
|
||||
esac
|
||||
echo "pkgconfig($1) $2 $3"
|
||||
|
Loading…
Reference in New Issue
Block a user