summaryrefslogtreecommitdiff
path: root/java/antlr2/mono.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-17 00:07:23 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-17 00:07:23 -0300
commit0c41421f8445a5820d1c98d433bae15944d8fcd4 (patch)
tree71ed20e267e0a7078534a0267ed4fc8332d6eff3 /java/antlr2/mono.patch
parent3a64f8a864548510db28fc98a08bdc94dbc283c6 (diff)
parenteba8dcbe50fb049ba613eb61fd64c32076e47321 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'java/antlr2/mono.patch')
-rw-r--r--java/antlr2/mono.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/java/antlr2/mono.patch b/java/antlr2/mono.patch
new file mode 100644
index 000000000..59c78d811
--- /dev/null
+++ b/java/antlr2/mono.patch
@@ -0,0 +1,31 @@
+diff -ruN antlr-2.7.7.orig/lib/csharp/antlr.runtime.build antlr-2.7.7/lib/csharp/antlr.runtime.build
+--- antlr-2.7.7.orig/lib/csharp/antlr.runtime.build 2006-11-01 16:37:17.000000000 -0500
++++ antlr-2.7.7/lib/csharp/antlr.runtime.build 2013-05-14 20:07:32.000000000 -0400
+@@ -25,6 +25,9 @@
+
+ <!-- Use script task to get this from AssemblyInfo.cs using a regular expression -->
+ <script language="C#">
++ <imports>
++ <import namespace="System.Text.RegularExpressions" />
++ </imports>
+ <code><![CDATA[
+ public static void ScriptMain(Project project) {
+ string assemblyInfoFileName = Path.Combine(project.BaseDirectory, "antlr.runtime/AssemblyInfo.cs");
+@@ -122,7 +125,7 @@
+ </csc>
+
+ <!-- copy the antlr.runtime assembly to the astframe build folder -->
+- <copy file="${compile.dir}\${project.FileName}.dll" tofile="${astframe.compile.dir}\${project.FileName}.dll" />
++ <copy file="${compile.dir}/${project.FileName}.dll" tofile="${astframe.compile.dir}/${project.FileName}.dll" />
+
+ <!-- compile antlr.astframe.dll -->
+ <csc target="library" output="${astframe.compile.dir}/${astframe.FileName}.dll" debug="${debug}" doc="${astframe.build.dir}/${astframe.FileName}.xml">
+@@ -134,7 +137,7 @@
+ <include name="System.dll" />
+ <include name="System.Drawing.dll" />
+ <include name="System.Windows.Forms.dll" />
+- <include name="${astframe.compile.dir}\${project.FileName}.dll" />
++ <include name="${astframe.compile.dir}/${project.FileName}.dll" />
+ </references>
+ <arg value="/nowarn:1591"/>
+ </csc>