1valac: don't append -dirty to version 2 3Don't append -dirty to the valac version number if the Buildroot Git 4tree has uncommited changes. 5 6The patched script is meant for the valac developers, but it also 7activates if you build valac in a subdirectory of a Git tree (e.g. 8as is commonly done in Buildroot). 9 10The effect is that valac gets built as being version x.y.z-dirty, which 11breaks programs (such as Midori) that explicitly check for valac-x.y.z. 12 13Signed-off-by: Simon Dawson <spdawson@gmail.com> 14[Fabrice: update for 0.52.4] 15Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> 16diff -Nur a/build-aux/git-version-gen b/build-aux/git-version-gen 17--- a/build-aux/git-version-gen 2010-08-15 12:49:03.000000000 +0100 18+++ b/build-aux/git-version-gen 2012-05-14 10:17:19.977204570 +0100 19@@ -135,7 +135,7 @@ 20 *) # Append the suffix only if there isn't one already. 21 case $v in 22 *-dirty) ;; 23- *) v="$v-dirty" ;; 24+ #*) v="$v-dirty" ;; 25 esac ;; 26 esac 27 fi 28 29