diff options
-rw-r--r-- | net/gnome-nettool/Makefile | 3 | ||||
-rw-r--r-- | net/gnome-nettool/files/patch-src_main.c | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/net/gnome-nettool/Makefile b/net/gnome-nettool/Makefile index 4bef6d9ae..6a245e29b 100644 --- a/net/gnome-nettool/Makefile +++ b/net/gnome-nettool/Makefile @@ -3,11 +3,12 @@ # Whom: Adam Weinberger <adamw@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/net/gnome-nettool/Makefile,v 1.47 2009/03/09 23:20:36 mezz Exp $ +# $MCom: ports/net/gnome-nettool/Makefile,v 1.48 2009/03/18 00:40:30 kwm Exp $ # PORTNAME= gnome-nettool PORTVERSION= 2.26.0 +PORTREVISION= 1 CATEGORIES= net gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/net/gnome-nettool/files/patch-src_main.c b/net/gnome-nettool/files/patch-src_main.c new file mode 100644 index 000000000..473585c0a --- /dev/null +++ b/net/gnome-nettool/files/patch-src_main.c @@ -0,0 +1,20 @@ +--- src/main.c.orig 2009-03-21 15:21:51.000000000 -0400 ++++ src/main.c 2009-03-21 15:22:02.000000000 -0400 +@@ -120,6 +120,8 @@ main (int argc, char *argv[]) + textdomain (GETTEXT_PACKAGE); + #endif + ++ glibtop_init (); ++ + if (!gtk_init_with_args (&argc, &argv, NULL, options, NULL, &error)) { + g_print ("%s\n\n", error->message); + return -1; +@@ -228,8 +230,6 @@ main (int argc, char *argv[]) + + gtk_widget_show (window); + +- glibtop_init (); +- + gtk_main (); + + glibtop_close (); |