diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-vcs/svn2git/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-vcs/svn2git/files')
-rw-r--r-- | dev-vcs/svn2git/files/svn2git-1.0.10-version.patch | 23 | ||||
-rw-r--r-- | dev-vcs/svn2git/files/svn2git-1.0.2.1-include-path.patch | 13 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-vcs/svn2git/files/svn2git-1.0.10-version.patch b/dev-vcs/svn2git/files/svn2git-1.0.10-version.patch new file mode 100644 index 000000000000..894cf2c2a10e --- /dev/null +++ b/dev-vcs/svn2git/files/svn2git-1.0.10-version.patch @@ -0,0 +1,23 @@ +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 diff --git a/dev-vcs/svn2git/files/svn2git-1.0.2.1-include-path.patch b/dev-vcs/svn2git/files/svn2git-1.0.2.1-include-path.patch new file mode 100644 index 000000000000..2349b3080835 --- /dev/null +++ b/dev-vcs/svn2git/files/svn2git-1.0.2.1-include-path.patch @@ -0,0 +1,13 @@ +--- src/src.pro 2011-01-11 09:02:15.696463807 +0100 ++++ src/src.pro 2011-01-11 09:03:59.793959849 +0100 +@@ -3,8 +3,8 @@ + # Automatically generated by qmake (2.01a) dim. dc. 23 13:49:28 2007 + ###################################################################### + +-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 ++SVN_INCLUDE = /usr/include/subversion-1 ++APR_INCLUDE = /usr/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) |