summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortharvik <tharvik@users.noreply.github.com>2016-10-10 18:54:25 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-12-21 11:46:02 +0100
commita6fcfeda31b955139bacc29292931b6383169e43 (patch)
tree519644acc845b3c81d2e99d436d007ccb6aaf224 /net-p2p/freenet/files/0.7.5_p1475-remove-git.patch
parentsys-devel/crossdev: Move to EAPI 6 and git-r3. (diff)
downloadgentoo-a6fcfeda31b955139bacc29292931b6383169e43.tar.gz
gentoo-a6fcfeda31b955139bacc29292931b6383169e43.tar.bz2
gentoo-a6fcfeda31b955139bacc29292931b6383169e43.zip
net-p2p/freenet: remove git polling.
Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/2526
Diffstat (limited to 'net-p2p/freenet/files/0.7.5_p1475-remove-git.patch')
-rw-r--r--net-p2p/freenet/files/0.7.5_p1475-remove-git.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/net-p2p/freenet/files/0.7.5_p1475-remove-git.patch b/net-p2p/freenet/files/0.7.5_p1475-remove-git.patch
new file mode 100644
index 000000000000..5cebf6e948ef
--- /dev/null
+++ b/net-p2p/freenet/files/0.7.5_p1475-remove-git.patch
@@ -0,0 +1,24 @@
+diff -Naur a/build-clean.xml b/build-clean.xml
+--- a/build-clean.xml 2016-10-10 18:26:04.056935377 +0200
++++ b/build-clean.xml 2016-10-10 18:47:11.662036536 +0200
+@@ -59,18 +59,8 @@
+ <assertions><enable/></assertions>
+
+ <!-- set version string based on git-describe -->
+- <exec executable="git" failifexecutionfails="false"
+- errorProperty="git.errror" outputproperty="git.describe" resultproperty="git.result">
+- <arg value="describe" />
+- <arg value="--always" />
+- <arg value="--abbrev=4" />
+- <arg value="--dirty" />
+- </exec>
+- <condition property="git.revision" value="${git.describe}" else="@unknown@">
+- <and>
+- <equals arg1="${git.result}" arg2="0" />
+- <isset property="git.describe" />
+- </and>
++ <condition property="git.revision" value="@unknown@" else="@unknown@">
++ <isset property="git.describe" />
+ </condition>
+
+ <!-- =================================================================== -->