diff options
author | Mark Wright <gienah@gentoo.org> | 2020-01-13 13:55:49 +1100 |
---|---|---|
committer | Mark Wright <gienah@gentoo.org> | 2020-01-13 13:57:31 +1100 |
commit | 9e0d2d114414206d881db820e17d8839a20d0dd5 (patch) | |
tree | 83d088f3774303bbcda40299835d09525c0cb75d /dev-java | |
parent | app-doc/mathjax-docs: add sphinx dep (diff) | |
download | gentoo-9e0d2d114414206d881db820e17d8839a20d0dd5.tar.gz gentoo-9e0d2d114414206d881db820e17d8839a20d0dd5.tar.bz2 gentoo-9e0d2d114414206d881db820e17d8839a20d0dd5.zip |
dev-java/gwt: Patch (by me) to not run git
Thanks to toralf for reporting.
Closes: https://bugs.gentoo.org/show_bug.cgi?id=705216
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mark Wright <gienah@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/gwt/files/gwt-2.8.2-build-system.patch | 13 | ||||
-rw-r--r-- | dev-java/gwt/gwt-2.8.2.ebuild | 5 |
2 files changed, 18 insertions, 0 deletions
diff --git a/dev-java/gwt/files/gwt-2.8.2-build-system.patch b/dev-java/gwt/files/gwt-2.8.2-build-system.patch new file mode 100644 index 000000000000..82340416e7a7 --- /dev/null +++ b/dev-java/gwt/files/gwt-2.8.2-build-system.patch @@ -0,0 +1,13 @@ +--- gwt-2.8.2-orig/common.ant.xml 2017-10-18 22:39:31.000000000 +1100 ++++ gwt-2.8.2/common.ant.xml 2020-01-13 13:23:58.653719957 +1100 +@@ -277,9 +277,7 @@ + + <macrodef name="gwt.getgitinfo" description="Identifies the GIT info of a workspace"> + <sequential> +- <exec executable="git" searchpath="true" outputproperty="gwt.gitrev"> +- <arg line="rev-parse --short HEAD"/> +- </exec> ++ <property name="gwt.gitrev" value="faff18e7a1f065e3a4ac4ef32ab5cce394557070"/> + <!-- Generally, filtering requires a sentinel file so that changes to git rev will + be noticed as invalidating the previously-generated filter output. This property + names where such a sentinel lives; it is tested with <available/> and created diff --git a/dev-java/gwt/gwt-2.8.2.ebuild b/dev-java/gwt/gwt-2.8.2.ebuild index 3cc6b03863d1..0a0f40fa707a 100644 --- a/dev-java/gwt/gwt-2.8.2.ebuild +++ b/dev-java/gwt/gwt-2.8.2.ebuild @@ -51,6 +51,11 @@ EANT_GENTOO_CLASSPATH=" validation-api-1.0 " +src_prepare() { + eapply "${FILESDIR}"/${P}-build-system.patch + java-pkg-2_src_prepare +} + src_compile() { GWT_TOOLS="${WORKDIR}/${GWT_TOOLS_PN}-${GWT_TOOLS_COMMIT}" \ GWT_VERSION="${PV}" \ |