$NetBSD: patch-aa,v 1.2 2011/01/29 09:09:36 obache Exp $ --- src/GnomeSubtitles/Execution/Executable.cs.orig 2010-09-09 20:49:03.000000000 +0000 +++ src/GnomeSubtitles/Execution/Executable.cs @@ -41,6 +41,9 @@ public class Executable { Console.Error.WriteLine("Error setting process name with prctl: " + Mono.Unix.Native.Stdlib.GetLastError()); } } + catch (EntryPointNotFoundException) { + return false; // Silent fallback to setproctitle + } catch (Exception e) { Console.Error.WriteLine("Setting the process name using prctl has thrown an exception:"); Console.Error.WriteLine(e);