/[gentoo-x86]/dev-vcs/svn2git/files/svn2git-1.0.10-version.patch
Gentoo

Contents of /dev-vcs/svn2git/files/svn2git-1.0.10-version.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue May 21 21:38:15 2013 UTC (15 months ago) by sping
Branch: MAIN
CVS Tags: HEAD
dev-vcs/svn2git: 1.0.10

(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 0x401A1600)

1 From d8b1c8c774a61666e7c62bf5beb8f0f1b4a3e01a Mon Sep 17 00:00:00 2001
2 From: Sebastian Pipping <sebastian@pipping.org>
3 Date: Tue, 21 May 2013 23:11:25 +0200
4 Subject: [PATCH] Stop using Git SHA1 version string
5
6 diff --git a/src/src.pro b/src/src.pro
7 index da6d40d..2626a6f 100644
8 --- a/src/src.pro
9 +++ b/src/src.pro
10 @@ -6,10 +6,7 @@ SVN_INCLUDE = /usr/include/subversion-1 /usr/local/include/subversion-1
11 APR_INCLUDE = /usr/include/apr-1.0 /usr/include/apr-1 /usr/local/include/apr-1
12 exists(local-config.pri):include(local-config.pri)
13
14 -VERSION = $$system(git --no-pager show --pretty=oneline --no-notes | head -1 | cut -b-40)
15 - !isEmpty(VERSION){
16 - VERSION = $${VERSION}
17 - }
18 +VERSION = $$(SVN_ALL_FAST_EXPORT_VERSION)
19
20 VERSTR = '\\"$${VERSION}\\"' # place quotes around the version string
21 DEFINES += VER=\"$${VERSTR}\" # create a VER macro containing the version string
22 --
23 1.8.2.1

  ViewVC Help
Powered by ViewVC 1.1.20