diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-06-30 05:14:07 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-06-30 05:14:07 +0800 |
commit | 6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3 (patch) | |
tree | c7f5799deb0d51aa4371fb431e989b1d91005cd5 /sysutils/upower/files/patch-src_up-daemon.c | |
parent | ba47f961f8b5ef6ce5a281fa573904e04f5f9dcc (diff) | |
download | marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar.gz marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar.bz2 marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar.lz marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar.xz marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.tar.zst marcuscom-ports-6544b6a85e1e8ae06b0fccd804c6363eb5f42aa3.zip |
Bump all gir ports. Always nice to find out things break after you update it :)
Error message is:
/usr/local/share/gir-1.0/Pango-1.0.gir: Incompatible version 1.0 (supported: 1.1)
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14282 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/upower/files/patch-src_up-daemon.c')
-rw-r--r-- | sysutils/upower/files/patch-src_up-daemon.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/upower/files/patch-src_up-daemon.c b/sysutils/upower/files/patch-src_up-daemon.c new file mode 100644 index 000000000..eea72a87b --- /dev/null +++ b/sysutils/upower/files/patch-src_up-daemon.c @@ -0,0 +1,20 @@ +--- src/up-daemon.c.orig 2010-04-19 11:58:18.000000000 -0400 ++++ src/up-daemon.c 2010-05-09 13:38:28.000000000 -0400 +@@ -488,6 +488,8 @@ up_daemon_suspend_allowed (UpDaemon *dae + goto out; + + ret = up_polkit_is_allowed (priv->polkit, subject, "org.freedesktop.upower.suspend", context); ++ if (!ret) ++ goto out; + dbus_g_method_return (context, ret); + + out: +@@ -575,6 +577,8 @@ up_daemon_hibernate_allowed (UpDaemon *d + goto out; + + ret = up_polkit_is_allowed (priv->polkit, subject, "org.freedesktop.upower.hibernate", context); ++ if (!ret) ++ goto out; + dbus_g_method_return (context, ret); + + out: |