#! /bin/sh /usr/share/dpatch/dpatch-run
## fix_Process_ambiguous_reference.dpatch by Mirco Bauer <meebey@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad gfax-0.7.6~/src/gui.cs gfax-0.7.6/src/gui.cs
--- gfax-0.7.6~/src/gui.cs	2006-12-09 23:43:11.000000000 +0100
+++ gfax-0.7.6/src/gui.cs	2008-04-12 13:46:38.000000000 +0200
@@ -29,7 +29,7 @@
 	using GtkSharp;
 	using System.Runtime.InteropServices;
 	using System.Collections;
-	using System.Diagnostics;
+	using SysDiag = System.Diagnostics;
 	using System.Reflection;
 
 	
@@ -657,10 +657,10 @@
 			// TODO get proper Gnome mime type and use that first if running Gnome
 			try {
 				if (Fax.recvfax(s)) {
-					ProcessStartInfo pidInfo = new ProcessStartInfo();
+					SysDiag.ProcessStartInfo pidInfo = new SysDiag.ProcessStartInfo();
 					pidInfo.FileName = Settings.FaxViewer;
 					pidInfo.Arguments = String.Concat(gfax.SpoolDirectory, "/tif/", s);
-					Process pid = Process.Start(pidInfo);
+					SysDiag.Process pid = SysDiag.Process.Start(pidInfo);
 				} else {
 					G_Message gm = new G_Message(Catalog.GetString(
 @"Cannot read the facsimile file from the server. You most likely do not 
