rpms/mono/devel mono-2.6.4-xbuild-fix.patch, NONE, 1.1 mono.spec, 1.150, 1.151

chkr chkr at fedoraproject.org
Wed Jul 7 22:43:00 UTC 2010


Author: chkr

Update of /cvs/pkgs/rpms/mono/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv18303

Modified Files:
	mono.spec 
Added Files:
	mono-2.6.4-xbuild-fix.patch 
Log Message:
* Thu Jul 08 2010 Christian Krause <chkr at fedoraproject.org> - 2.6.4-4
- Add upstream patch to fix xbuild (BZ 612233, 
  https://bugzilla.novell.com/show_bug.cgi?id=485841)


mono-2.6.4-xbuild-fix.patch:
 DirectoryScanner.cs |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

--- NEW FILE mono-2.6.4-xbuild-fix.patch ---
Index: mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/DirectoryScanner.cs
===================================================================
--- mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/DirectoryScanner.cs	(revision 158080)
+++ mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/DirectoryScanner.cs	(revision 158081)
@@ -114,10 +114,12 @@
 					if (!excludedItems.ContainsKey (fi.FullName)) {
 						TaskItem item = new TaskItem (include_item);
 						item.ItemSpec = fi.FullName;
-						string rec_dir = Path.GetDirectoryName (fi.FullName.Substring (wildcard_offset));
-						if (rec_dir.Length > 0)
-							rec_dir += Path.DirectorySeparatorChar;
-						item.SetMetadata ("RecursiveDir", rec_dir);
+						if (wildcard_offset >= 0) {
+							string rec_dir = Path.GetDirectoryName (fi.FullName.Substring (wildcard_offset));
+							if (rec_dir.Length > 0)
+								rec_dir += Path.DirectorySeparatorChar;
+							item.SetMetadata ("RecursiveDir", rec_dir);
+						}
 						includedItems.Add (item);
 					}
 				}


Index: mono.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mono/devel/mono.spec,v
retrieving revision 1.150
retrieving revision 1.151
diff -u -p -r1.150 -r1.151
--- mono.spec	6 Jun 2010 20:38:24 -0000	1.150
+++ mono.spec	7 Jul 2010 22:43:00 -0000	1.151
@@ -1,8 +1,8 @@
-#%define svnver 138447
+#%%define svnver 138447
 
 Name:           mono
 Version:        2.6.4
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        A .NET runtime environment
 
 Group:          Development/Languages
@@ -50,6 +50,9 @@ Patch4: mono-2.0-monoservice.patch
 Patch5: mono-2.6-metadata-makefile.patch
 Patch6: mono-242-libgdiplusconfig.patch
 Patch7: mono-264-libdir.patch
+# svn diff -c 158081 svn://anonsvn.mono-project.com/source/trunk
+# to fix https://bugzilla.novell.com/show_bug.cgi?id=485841
+Patch8: mono-2.6.4-xbuild-fix.patch
 
 Obsoletes: mono-mono-4-preview < 2.6.4
 Provides: mono-4-preview = %{version}-%{release}
@@ -319,6 +322,7 @@ Preview for the new C# 4.0 code
 sed -i -e 's!@libdir@!%{_libdir}!' %{PATCH7}
 %patch7 -p1 -b .libdir-22
 sed -i -e 's!%{_libdir}!@libdir@!' %{PATCH7}
+%patch8 -p0 -b .xbuild
 sed -i -e 's!$(prefix)/lib/!%{_libdir}/!' docs/Makefile.{am,in}
 sed -i -e 's!${prefix}/lib/!%{_libdir}/!' data/monodoc.pc.in
 sed -i -e 's!${prefix}/lib/!%{_libdir}/!' data/mono-cairo.pc.in
@@ -773,6 +777,10 @@ install -p -m0644 %{SOURCE2} %{buildroot
 %gac_dll System.Dynamic 
 
 %changelog
+* Thu Jul 08 2010 Christian Krause <chkr at fedoraproject.org> - 2.6.4-4
+- Add upstream patch to fix xbuild (BZ 612233, 
+  https://bugzilla.novell.com/show_bug.cgi?id=485841)
+
 * Sun Jun 06 2010 Paul F. Johnson <paul at all-the-johnsons.co.uk> 2.6.4-3
 - Fix for x86_64 mono-cairo.pc
 



More information about the scm-commits mailing list