diff options
Diffstat (limited to 'net-dns/dnsmasq/files')
-rw-r--r-- | net-dns/dnsmasq/files/dnsmasq-2.84-version-string.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net-dns/dnsmasq/files/dnsmasq-2.84-version-string.patch b/net-dns/dnsmasq/files/dnsmasq-2.84-version-string.patch new file mode 100644 index 000000000000..bd37dbbfe751 --- /dev/null +++ b/net-dns/dnsmasq/files/dnsmasq-2.84-version-string.patch @@ -0,0 +1,13 @@ +diff --git a/bld/get-version b/bld/get-version +index e472aab..3bf0b87 100755 +--- a/bld/get-version ++++ b/bld/get-version +@@ -28,7 +28,7 @@ else + vers=`cat $1/VERSION | sed 's/[(), ]/,/ g' | tr ',' '\n' | grep ^v[0-9]` + + if [ $? -eq 0 ]; then +- echo "${vers}" | sort -r | head -n 1 | sed 's/^v//' ++ echo "${vers}" | sort | head -n 1 | sed 's/^v//' + else + cat $1/VERSION + fi |