0001-dont-add-dirty-to-valac-version.patch 1021 B

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