wok-6.x diff cookutils/stuff/wanted-version.patch @ rev 24821
updated libpcap and libpcap-dev (1.9.1 -> 1.10.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 23 11:02:18 2022 +0100 (2022-03-23) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cookutils/stuff/wanted-version.patch Wed Mar 23 11:02:18 2022 +0100 1.3 @@ -0,0 +1,13 @@ 1.4 +The wanted package *must* have the same version 1.5 +--- a/cook 1.6 ++++ b/cook 1.7 +@@ -167,6 +167,9 @@ 1.8 + src="$basesrc/$WANTED-$VERSION" 1.9 + install="$WOK/$WANTED/install" 1.10 + wanted_stuff="$WOK/$WANTED/stuff" 1.11 ++ wanted_version="$(. $WOK/$WANTED/receipt; echo $VERSION)" 1.12 ++ [ $wanted_version = $VERSION ] || 1.13 ++ (_ 'ERROR: %s' "wanted package version $wanted_version" && exit 1) 1.14 + fi 1.15 + 1.16 + [ -n "$SOURCE" ] && source_stuff="$WOK/$SOURCE/stuff"