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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Dec 3 19:20:25 2012 UTC (19 months, 3 weeks ago) by sping
Branch: MAIN
CVS Tags: HEAD
dev-vcs/svn2git: 1.0.8

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

1 --- src/src.pro 2011-01-11 09:27:21.530166986 +0100
2 +++ src/src.pro 2011-01-11 09:30:55.743128934 +0100
3 @@ -7,10 +7,7 @@
4 APR_INCLUDE = /usr/include/apr-1
5 exists(local-config.pri):include(local-config.pri)
6
7 -VERSION = $$system(git --no-pager show --pretty=oneline --no-notes | head -1 | cut -b-40)
8 - !isEmpty(VERSION){
9 - VERSION = $${VERSION}
10 - }
11 +VERSION = "1.0.8"
12
13 VERSTR = '\\"$${VERSION}\\"' # place quotes around the version string
14 DEFINES += VER=\"$${VERSTR}\" # create a VER macro containing the version string

  ViewVC Help
Powered by ViewVC 1.1.20