summaryrefslogtreecommitdiffstats
path: root/perl/perl-gnome2-gconf/disable-orbit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-gnome2-gconf/disable-orbit.patch')
-rw-r--r--perl/perl-gnome2-gconf/disable-orbit.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/perl/perl-gnome2-gconf/disable-orbit.patch b/perl/perl-gnome2-gconf/disable-orbit.patch
new file mode 100644
index 0000000000..acee9fb3e6
--- /dev/null
+++ b/perl/perl-gnome2-gconf/disable-orbit.patch
@@ -0,0 +1,30 @@
+Description: Disable gconf_engine_key_is_writable
+ This symbol is not available in libgconf when it is configured without
+ ORBit support, which is currently the case in Debian.
+Author: Colin Watson <cjwatson@ubuntu.com>
+Bug-Debian: http://bugs.debian.org/649055
+Forwarded: no
+Last-Update: 2011-11-17
+
+Index: b/xs/GConfEngine.xs
+===================================================================
+--- a/xs/GConfEngine.xs
++++ b/xs/GConfEngine.xs
+@@ -350,6 +350,8 @@
+ if (err)
+ gperl_croak_gerror (NULL, err);
+
++#if 0 /* requires gconf to be configured with ORBit support */
++
+ ##gboolean gconf_engine_key_is_writable (GConfEngine *conf,
+ ## const gchar *key,
+ ## GError **err);
+@@ -366,6 +368,8 @@
+ OUTPUT:
+ RETVAL
+
++#endif
++
+ guint
+ gconf_engine_notify_add (engine, namespace_section, func, data=NULL)
+ GConfEngine * engine