public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-vcs/svn2git/files: svn2git-1.0.10-version.patch
@ 2013-05-21 21:38 Sebastian Pipping (sping)
  0 siblings, 0 replies; only message in thread
From: Sebastian Pipping (sping) @ 2013-05-21 21:38 UTC (permalink / raw
  To: gentoo-commits

sping       13/05/21 21:38:15

  Added:                svn2git-1.0.10-version.patch
  Log:
  dev-vcs/svn2git: 1.0.10
  
  (Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 0x401A1600)

Revision  Changes    Path
1.1                  dev-vcs/svn2git/files/svn2git-1.0.10-version.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/svn2git/files/svn2git-1.0.10-version.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/svn2git/files/svn2git-1.0.10-version.patch?rev=1.1&content-type=text/plain

Index: svn2git-1.0.10-version.patch
===================================================================
From d8b1c8c774a61666e7c62bf5beb8f0f1b4a3e01a Mon Sep 17 00:00:00 2001
From: Sebastian Pipping <sebastian@pipping.org>
Date: Tue, 21 May 2013 23:11:25 +0200
Subject: [PATCH] Stop using Git SHA1 version string

diff --git a/src/src.pro b/src/src.pro
index da6d40d..2626a6f 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -6,10 +6,7 @@ SVN_INCLUDE = /usr/include/subversion-1 /usr/local/include/subversion-1
 APR_INCLUDE = /usr/include/apr-1.0 /usr/include/apr-1 /usr/local/include/apr-1
 exists(local-config.pri):include(local-config.pri)
 
-VERSION = $$system(git --no-pager show --pretty=oneline --no-notes | head -1 | cut -b-40)
-    !isEmpty(VERSION){
-      VERSION = $${VERSION}
-    }
+VERSION = $$(SVN_ALL_FAST_EXPORT_VERSION)
 
 VERSTR = '\\"$${VERSION}\\"'  # place quotes around the version string
 DEFINES += VER=\"$${VERSTR}\" # create a VER macro containing the version string
-- 
1.8.2.1





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-21 21:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-21 21:38 [gentoo-commits] gentoo-x86 commit in dev-vcs/svn2git/files: svn2git-1.0.10-version.patch Sebastian Pipping (sping)

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