summaryrefslogtreecommitdiff
path: root/java/antlr2/mono.patch
diff options
context:
space:
mode:
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>