diff options
Diffstat (limited to 'textproc/gnome-subtitles/patches/patch-aa')
-rw-r--r-- | textproc/gnome-subtitles/patches/patch-aa | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/gnome-subtitles/patches/patch-aa b/textproc/gnome-subtitles/patches/patch-aa new file mode 100644 index 00000000000..f712d5ce156 --- /dev/null +++ b/textproc/gnome-subtitles/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/01/06 08:56:58 kefren Exp $ +--- src/GnomeSubtitles/Execution/Executable.cs.orig 2009-01-05 21:23:03.000000000 +0200 ++++ src/GnomeSubtitles/Execution/Executable.cs 2009-01-05 21:23:47.000000000 +0200 +@@ -36,6 +36,9 @@ + 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); |