diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2012-05-11 03:33:55 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-06-24 19:48:56 +0200 |
commit | fd7081bae524390e4ec22e8d100d5a242b63d29d (patch) | |
tree | 336c48d89863ab683a44a25f7bc2d825c52e8f9f /package/autoconf/autoconf-dont-add-dirty-to-version.patch | |
parent | 47aa58a4ddd3774fa78acffbf85384c558b7f2dd (diff) |
autoconf: bump to version 2.68
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/autoconf/autoconf-dont-add-dirty-to-version.patch')
-rw-r--r-- | package/autoconf/autoconf-dont-add-dirty-to-version.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/autoconf/autoconf-dont-add-dirty-to-version.patch b/package/autoconf/autoconf-dont-add-dirty-to-version.patch new file mode 100644 index 000000000..38ac16382 --- /dev/null +++ b/package/autoconf/autoconf-dont-add-dirty-to-version.patch @@ -0,0 +1,30 @@ +autoconf: don't append -dirty to version + +Don't append -dirty to autoconf version number if the buildroot git tree +has uncommited changes. + +This script is meant for the autoconf developers, but it also activates +if you build autoconf in a subdirectory of a git tree (E.G. like how it's +commonly done in buildroot). + +The affect is that autoconf gets built as being version 2.65-dirty, which +breaks programs (like Python) which explicitly checks for autoconf-2.65. + +Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> +--- + build-aux/git-version-gen | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: autoconf-2.65/build-aux/git-version-gen +=================================================================== +--- autoconf-2.65.orig/build-aux/git-version-gen ++++ autoconf-2.65/build-aux/git-version-gen +@@ -135,7 +135,7 @@ case "$dirty" in + *) # Append the suffix only if there isn't one already. + case $v in + *-dirty) ;; +- *) v="$v-dirty" ;; ++ #*) v="$v-dirty" ;; + esac ;; + esac + |