summaryrefslogtreecommitdiffstats
path: root/package/vala/vala-dont-add-dirty-to-valac-version.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-09-06 15:48:19 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-09-06 15:48:19 +0200
commitbf5f225dca807b70f80168a23dadc9e29e71cf20 (patch)
tree8b6ee77ffd80bc0f845df1da2c8bc3daa0a94819 /package/vala/vala-dont-add-dirty-to-valac-version.patch
parent2b595d6c923c197b8410470b663720e339682b70 (diff)
downloadbuildroot-novena-bf5f225dca807b70f80168a23dadc9e29e71cf20.tar.gz
buildroot-novena-bf5f225dca807b70f80168a23dadc9e29e71cf20.zip
vala: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/vala/vala-dont-add-dirty-to-valac-version.patch')
-rw-r--r--package/vala/vala-dont-add-dirty-to-valac-version.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/vala/vala-dont-add-dirty-to-valac-version.patch b/package/vala/vala-dont-add-dirty-to-valac-version.patch
new file mode 100644
index 000000000..a2a062336
--- /dev/null
+++ b/package/vala/vala-dont-add-dirty-to-valac-version.patch
@@ -0,0 +1,25 @@
+valac: don't append -dirty to version
+
+Don't append -dirty to the valac version number if the Buildroot Git
+tree has uncommited changes.
+
+The patched script is meant for the valac developers, but it also
+activates if you build valac in a subdirectory of a Git tree (e.g.
+as is commonly done in Buildroot).
+
+The effect is that valac gets built as being version x.y.z-dirty, which
+breaks programs (such as Midori) that explicitly check for valac-x.y.z.
+
+Signed-off-by: Simon Dawson <spdawson@gmail.com>
+diff -Nur a/build-aux/git-version-gen b/build-aux/git-version-gen
+--- a/build-aux/git-version-gen 2010-08-15 12:49:03.000000000 +0100
++++ b/build-aux/git-version-gen 2012-05-14 10:17:19.977204570 +0100
+@@ -135,7 +135,7 @@
+ *) # Append the suffix only if there isn't one already.
+ case $v in
+ *-dirty) ;;
+- *) v="$v-dirty" ;;
++ #*) v="$v-dirty" ;;
+ esac ;;
+ esac
+