summaryrefslogtreecommitdiffstats
path: root/sysutils/upower
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/upower')
-rw-r--r--sysutils/upower/Makefile3
-rw-r--r--sysutils/upower/files/patch-src_up-polkit.c20
2 files changed, 22 insertions, 1 deletions
diff --git a/sysutils/upower/Makefile b/sysutils/upower/Makefile
index df1280583..bea0b71ed 100644
--- a/sysutils/upower/Makefile
+++ b/sysutils/upower/Makefile
@@ -3,11 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/sysutils/upower/Makefile,v 1.11 2010/03/23 16:02:47 kwm Exp $
+# $MCom: ports/sysutils/upower/Makefile,v 1.12 2010/04/06 22:53:43 marcus Exp $
#
PORTNAME= upower
DISTVERSION= 0.9.2
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://upower.freedesktop.org/releases/
diff --git a/sysutils/upower/files/patch-src_up-polkit.c b/sysutils/upower/files/patch-src_up-polkit.c
new file mode 100644
index 000000000..88a074e99
--- /dev/null
+++ b/sysutils/upower/files/patch-src_up-polkit.c
@@ -0,0 +1,20 @@
+--- src/up-polkit.c.orig 2010-04-08 21:38:56.000000000 -0400
++++ src/up-polkit.c 2010-04-09 02:48:12.000000000 -0400
+@@ -69,7 +69,7 @@ up_polkit_check_auth (UpPolkit *polkit,
+ {
+ gboolean ret = FALSE;
+ GError *error;
+- GError *error_local;
++ GError *error_local = NULL;
+ PolkitAuthorizationResult *result;
+
+ /* check auth */
+@@ -104,7 +104,7 @@ up_polkit_is_allowed (UpPolkit *polkit,
+ {
+ gboolean ret = FALSE;
+ GError *error;
+- GError *error_local;
++ GError *error_local = NULL;
+ PolkitAuthorizationResult *result;
+
+ /* check auth */