Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] vala: do not append a -dirty suffix to the valac version number
@ 2012-05-16 12:10 spdawson at gmail.com
  2012-05-16 12:10 ` [Buildroot] [PATCH 2/2] midori: bump version to 0.4.6 spdawson at gmail.com
  2012-05-18  8:44 ` [Buildroot] [PATCH 1/2] vala: do not append a -dirty suffix to the valac version number Peter Korsgaard
  0 siblings, 2 replies; 5+ messages in thread
From: spdawson at gmail.com @ 2012-05-16 12:10 UTC (permalink / raw)
  To: buildroot

From: Simon Dawson <spdawson@gmail.com>

Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
 package/vala/vala-fix-dirty-version-suffix.patch |   15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 package/vala/vala-fix-dirty-version-suffix.patch

diff --git a/package/vala/vala-fix-dirty-version-suffix.patch b/package/vala/vala-fix-dirty-version-suffix.patch
new file mode 100644
index 0000000..4b0044d
--- /dev/null
+++ b/package/vala/vala-fix-dirty-version-suffix.patch
@@ -0,0 +1,15 @@
+Do not append a -dirty suffix to the valac version number. The presence of
+the suffix can caused problems for packages (e.g. midori) which check the
+valac version number during configuration.
+
+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,6 @@
+     *) # Append the suffix only if there isn't one already.
+ 	case $v in
+ 	  *-dirty) ;;
+-	  *) v="$v-dirty" ;;
+ 	esac ;;
+ esac
+ 
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-05-18 14:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-16 12:10 [Buildroot] [PATCH 1/2] vala: do not append a -dirty suffix to the valac version number spdawson at gmail.com
2012-05-16 12:10 ` [Buildroot] [PATCH 2/2] midori: bump version to 0.4.6 spdawson at gmail.com
2012-05-18  8:44 ` [Buildroot] [PATCH 1/2] vala: do not append a -dirty suffix to the valac version number Peter Korsgaard
2012-05-18 13:06   ` Simon Dawson
2012-05-18 14:57     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox