diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2018-11-19 02:46:11 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-11-19 08:59:43 +0100 |
commit | 595bebf6676bdb224371224673779e411b9428a9 (patch) | |
tree | 10a40fc1c5f1e775fb4ddfc77c47209554b6bb41 /source/l/polkit/0004-polkit-Add-g_autoptr-support-for-GObject-derived-pol.patch | |
parent | 6a677844125bf74f4dac1fc2e4e7181281f7ae39 (diff) | |
download | current-595bebf6676bdb224371224673779e411b9428a9.tar.gz current-595bebf6676bdb224371224673779e411b9428a9.tar.xz |
Mon Nov 19 02:46:11 UTC 201820181119024611
l/js185-1.0.0-x86_64-2.txz: Removed.
l/libwebp-1.0.1-x86_64-1.txz: Upgraded.
l/mozjs52-52.9.0esr-x86_64-1.txz: Added.
Required by the new version of polkit.
l/polkit-0.115-x86_64-1.txz: Upgraded.
Thanks to Robby Workman.
Diffstat (limited to 'source/l/polkit/0004-polkit-Add-g_autoptr-support-for-GObject-derived-pol.patch')
-rw-r--r-- | source/l/polkit/0004-polkit-Add-g_autoptr-support-for-GObject-derived-pol.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/source/l/polkit/0004-polkit-Add-g_autoptr-support-for-GObject-derived-pol.patch b/source/l/polkit/0004-polkit-Add-g_autoptr-support-for-GObject-derived-pol.patch deleted file mode 100644 index b3bf1056b..000000000 --- a/source/l/polkit/0004-polkit-Add-g_autoptr-support-for-GObject-derived-pol.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 004bd37d0b33eb39372bd0e0bed8ab9c1ac2c50c Mon Sep 17 00:00:00 2001 -From: Philip Withnall <philip.withnall@collabora.co.uk> -Date: Fri, 22 Apr 2016 12:34:18 +0100 -Subject: [PATCH 04/16] polkit: Add g_autoptr() support for GObject-derived - polkit types -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Add G_DEFINE_AUTOPTR_CLEANUP_FUNC calls to polkittypes.h, so that -g_autoptr() can be used with polkit objects. - -This is conditional on GLib ≥ 2.44.0 being available. It does not bump -polkit’s dependency on GLib. - -https://bugs.freedesktop.org/show_bug.cgi?id=95065 ---- - src/polkit/polkittypes.h | 17 +++++++++++++++++ - 1 file changed, 17 insertions(+) - -diff --git a/src/polkit/polkittypes.h b/src/polkit/polkittypes.h -index 3de1778..e0cf653 100644 ---- a/src/polkit/polkittypes.h -+++ b/src/polkit/polkittypes.h -@@ -64,4 +64,21 @@ typedef struct _PolkitTemporaryAuthorization PolkitTemporaryAuthorization; - struct _PolkitPermission; - typedef struct _PolkitPermission PolkitPermission; - -+#if GLIB_CHECK_VERSION(2, 44, 0) -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (PolkitAuthority, g_object_unref) -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (PolkitActionDescription, g_object_unref) -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (PolkitSubject, g_object_unref) -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (PolkitUnixProcess, g_object_unref) -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (PolkitUnixSession, g_object_unref) -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (PolkitSystemBusName, g_object_unref) -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (PolkitIdentity, g_object_unref) -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (PolkitUnixUser, g_object_unref) -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (PolkitUnixGroup, g_object_unref) -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (PolkitUnixNetgroup, g_object_unref) -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (PolkitAuthorizationResult, g_object_unref) -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (PolkitDetails, g_object_unref) -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (PolkitTemporaryAuthorization, g_object_unref) -+G_DEFINE_AUTOPTR_CLEANUP_FUNC (PolkitPermission, g_object_unref) -+#endif -+ - #endif /* __POLKIT_TYPES_H */ --- -2.13.0 - |