autoconf-2.65-dont-add-dirty-to-version.patch 1004 B

123456789101112131415161718192021222324252627282930
  1. autoconf: don't append -dirty to version
  2. Don't append -dirty to autoconf version number if the buildroot git tree
  3. has uncommited changes.
  4. This script is meant for the autoconf developers, but it also activates
  5. if you build autoconf in a subdirectory of a git tree (E.G. like how it's
  6. commonly done in buildroot).
  7. The affect is that autoconf gets built as being version 2.65-dirty, which
  8. breaks programs (like Python) which explicitly checks for autoconf-2.65.
  9. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
  10. ---
  11. build-aux/git-version-gen | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. Index: autoconf-2.65/build-aux/git-version-gen
  14. ===================================================================
  15. --- autoconf-2.65.orig/build-aux/git-version-gen
  16. +++ autoconf-2.65/build-aux/git-version-gen
  17. @@ -135,7 +135,7 @@ case "$dirty" in
  18. *) # Append the suffix only if there isn't one already.
  19. case $v in
  20. *-dirty) ;;
  21. - *) v="$v-dirty" ;;
  22. + #*) v="$v-dirty" ;;
  23. esac ;;
  24. esac