Files
winf-photobooth/package/autoconf/0001-dont-add-dirty-to-version.patch
Michael b8783708ae Initial Commit
- initial default booting image
2026-11-06 20:45:42 +01:00

33 lines
1.2 KiB
Diff

autoconf: don't append -dirty to version
Don't append -dirty to autoconf version number if the buildroot git tree
has uncommitted 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.
Upstream: Not applicable (Buildroot specific)
[Gustavo: update for autoconf 2.69]
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Bernd: rebased for version 2.73]
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
diff -Nura autoconf-2.69.orig/build-aux/git-version-gen autoconf-2.69/build-aux/git-version-gen
--- autoconf-2.69.orig/build-aux/git-version-gen 2013-06-27 11:31:02.340200154 -0300
+++ autoconf-2.69/build-aux/git-version-gen 2013-06-27 11:31:13.734577033 -0300
@@ -234,7 +234,7 @@
*) # Append the suffix only if there isn't one already.
case $v in
*-dirty | *-modified) ;;
- *) v="$v-modified" ;;
+ #*) v="$v-modified" ;;
esac ;;
esac
fi