diff options
author | Tom McLaughlin <tmclaugh@FreeBSD.org> | 2007-04-01 20:38:48 +0000 |
---|---|---|
committer | Tom McLaughlin <tmclaugh@FreeBSD.org> | 2007-04-01 20:38:48 +0000 |
commit | 71c9101e74f5f33b05945e10b29dcac75ef93910 (patch) | |
tree | 2371315665cf9bc1763c8f899a519154ede25075 /deskutils/tomboy | |
parent | 82b7163c95d418edd5d5567ed9f69498fd13743d (diff) | |
download | ports-71c9101e74f5f33b05945e10b29dcac75ef93910.tar.gz ports-71c9101e74f5f33b05945e10b29dcac75ef93910.zip |
Notes
Diffstat (limited to 'deskutils/tomboy')
-rw-r--r-- | deskutils/tomboy/Makefile | 1 | ||||
-rw-r--r-- | deskutils/tomboy/files/patch-Tomboy_Utils.cs | 13 |
2 files changed, 8 insertions, 6 deletions
diff --git a/deskutils/tomboy/Makefile b/deskutils/tomboy/Makefile index 01d23a88b3af..b3541dc8a5ce 100644 --- a/deskutils/tomboy/Makefile +++ b/deskutils/tomboy/Makefile @@ -8,6 +8,7 @@ PORTNAME= tomboy PORTVERSION= 0.6.1 +PORTREVISION= 1 CATEGORIES= deskutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/deskutils/tomboy/files/patch-Tomboy_Utils.cs b/deskutils/tomboy/files/patch-Tomboy_Utils.cs index 129152c6d740..83f99b06e145 100644 --- a/deskutils/tomboy/files/patch-Tomboy_Utils.cs +++ b/deskutils/tomboy/files/patch-Tomboy_Utils.cs @@ -1,16 +1,16 @@ ---- Tomboy/Utils.cs.orig Tue Oct 17 18:50:40 2006 -+++ Tomboy/Utils.cs Thu Aug 10 09:12:49 2006 -@@ -767,24 +767,9 @@ - RegisterSignalHandlers (); +--- Tomboy/Utils.cs.orig Sun Feb 25 02:24:01 2007 ++++ Tomboy/Utils.cs Mon Mar 26 20:06:25 2007 +@@ -801,23 +801,12 @@ } -- [DllImport("libc")] + [DllImport("libc")] - private static extern int prctl (int option, - byte [] arg2, - IntPtr arg3, - IntPtr arg4, - IntPtr arg5); -- ++ private static extern void setproctitle(byte [] fmt, byte [] str_arg); + // From Banshee: Banshee.Base/Utilities.cs public static void SetProcessName (string name) { @@ -22,6 +22,7 @@ - throw new ApplicationException ( - "Error setting process name: " + - Mono.Unix.Native.Stdlib.GetLastError ()); ++ setproctitle(Encoding.ASCII.GetBytes("%s\0"), Encoding.ASCII.GetBytes(name + "\0")); } static void RegisterSignalHandlers () |