Compilation fails on ubuntu (patch attached)
"Anders Rune Jensen" <[email protected]>
| Newsgroups | gmane.comp.gnome.dashboard.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi I tried installing latest beagle 0.3.1 on Ubuntu Gutsy and there was one trivial problems, manifested in two different places, that made the compilation fail. Attached is a fix to make it work again. Installed versions: mono version 1.2.4 gtk-sharp 2.10.2 -- Anders Rune Jensen http://people.iola.dk/anders/ _______________________________________________ Dashboard-hackers mailing list [email protected] http://mail.gnome.org/mailman/listinfo/dashboard-hackers
beagle-1.diff
(text/x-patch, 533 B)
--- beagled/BeagleDaemon.cs~ 2007-11-27 02:50:05.000000000 +0100
+++ beagled/BeagleDaemon.cs 2007-12-12 13:23:15.000000000 +0100
@@ -116,7 +116,7 @@
if (send_sigprof) {
Log.Debug ("Suspicious memory size change detected. Sending SIGPROF to ourself ({0})", sigprof_count++);
- Mono.Unix.Native.Syscall.kill (Process.GetCurrentProcess ().Id, Mono.Unix.Native.Signum.SIGPROF);
+ Mono.Unix.Native.Syscall.kill (System.Diagnostics.Process.GetCurrentProcess ().Id, Mono.Unix.Native.Signum.SIGPROF);
}
}
}
beagle-2.diff
(text/x-patch, 544 B)
--- beagled/IndexHelper/IndexHelper.cs~ 2007-11-27 02:50:04.000000000 +0100
+++ beagled/IndexHelper/IndexHelper.cs 2007-12-12 13:24:18.000000000 +0100
@@ -219,7 +219,7 @@
if (heap_shot && increase > 1.20) {
Log.Debug ("Large memory increase detected. Sending SIGPROF to ourself.");
- Mono.Unix.Native.Syscall.kill (Process.GetCurrentProcess ().Id, Mono.Unix.Native.Signum.SIGPROF);
+ Mono.Unix.Native.Syscall.kill (System.Diagnostics.Process.GetCurrentProcess ().Id, Mono.Unix.Native.Signum.SIGPROF);
}
}