sping       15/08/08 12:56:22

  Added:                javacup-0.11b_beta20150326-build-xml-svn.patch
  Log:
  dev-java/javacup: Resolve calling of svn (bug #556998)
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
0x401A1600)

Revision  Changes    Path
1.1                  
dev-java/javacup/files/javacup-0.11b_beta20150326-build-xml-svn.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/javacup/files/javacup-0.11b_beta20150326-build-xml-svn.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/javacup/files/javacup-0.11b_beta20150326-build-xml-svn.patch?rev=1.1&content-type=text/plain

Index: javacup-0.11b_beta20150326-build-xml-svn.patch
===================================================================
>From 1a908a86fa6c253332b673ecc98e4ec8dffcdca2 Mon Sep 17 00:00:00 2001
From: Sebastian Pipping <[email protected]>
Date: Sat, 8 Aug 2015 14:49:02 +0200
Subject: [PATCH] No longer query subversion revision

There is not .svn folder shipped anyway
---
 build.xml | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/build.xml b/build.xml
index 33f0c60..860bbb5 100644
--- a/build.xml
+++ b/build.xml
@@ -18,17 +18,6 @@
     <mkdir dir="${classes}" />
     <mkdir dir="${dist}" />
     <loadfile property="cupversion" srcFile="version.txt"/>
-    <exec executable="svn" outputproperty="svnversion">
-      <arg value="info"/>
-      <redirector>
-       <outputfilterchain>
-         <linecontains>
-           <contains value="Revision"/>
-         </linecontains>
-         <deletecharacters chars="Revision: "/>
-        </outputfilterchain>
-      </redirector>
-    </exec>
   </target>
 
   <property environment="env" />
@@ -67,7 +56,7 @@
     <copy todir="${java}"><fileset dir="${src}"></fileset></copy>
     <replace file="${java}/java_cup/version.java"
        token="+ version_str"
-       value='+ "v0.11b ${cupversion} (SVN rev ${svnversion})"'>
+       value='+ "v0.11b ${cupversion}"'>
     </replace>
     <javac srcdir="${java}" destdir="${classes}" verbose="off" listfiles="off" 
debug="on" source="1.5" target="1.5">
       <classpath refid="libraries"/>
-- 
2.5.0





Reply via email to