diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2008-04-05 17:32:30 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2008-04-05 17:32:30 +0000 |
commit | 6746a8142e3bbbea525746e7d96aea7863c7421d (patch) | |
tree | 10c3249b9d7c02bf044cce7f6d201a3765ea69b5 /x11/gnome-panel | |
parent | Split tracker into gnome and non-gnome ports (diff) |
Fix the crash by clock-applet when add to the panel. Bump the PORTREVISION.
PR: ports/122455
Submitted by: fukui <fukui.FreeBSD@fanet.net>
Obtained from: Its SVN
Notes
Notes:
svn path=/head/; revision=210601
Diffstat (limited to 'x11/gnome-panel')
-rw-r--r-- | x11/gnome-panel/Makefile | 2 | ||||
-rw-r--r-- | x11/gnome-panel/files/patch-applets_clock_set-timezone.c | 22 |
2 files changed, 23 insertions, 1 deletions
diff --git a/x11/gnome-panel/Makefile b/x11/gnome-panel/Makefile index a459bdeeb665..817e3850b5cc 100644 --- a/x11/gnome-panel/Makefile +++ b/x11/gnome-panel/Makefile @@ -8,7 +8,7 @@ PORTNAME= gnome-panel PORTVERSION= 2.22.0 -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES= x11 gnome MASTER_SITES= GNOME MASTER_SITE_SUBDIR= sources/gnome-panel/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/x11/gnome-panel/files/patch-applets_clock_set-timezone.c b/x11/gnome-panel/files/patch-applets_clock_set-timezone.c new file mode 100644 index 000000000000..3a9fb4ae9fa8 --- /dev/null +++ b/x11/gnome-panel/files/patch-applets_clock_set-timezone.c @@ -0,0 +1,22 @@ +--- trunk/applets/clock/set-timezone.c 2008/02/28 20:48:16 10908 ++++ applets/clock/set-timezone.c 2008/04/02 15:08:34 10972 +@@ -139,6 +139,9 @@ + DBusError dbus_error; + gint res = 0; + ++ pk_caller = NULL; ++ pk_action = NULL; ++ + system_bus = dbus_g_connection_get_connection (get_system_bus ()); + if (system_bus == NULL) + goto out; +@@ -147,9 +150,6 @@ + if (pk_context == NULL) + goto out; + +- pk_caller = NULL; +- pk_action = NULL; +- + pk_action = polkit_action_new (); + polkit_action_set_action_id (pk_action, pk_action_id); + |