summaryrefslogtreecommitdiff
path: root/perl/perl-gnome2-gconf/disable-orbit.patch
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2012-08-21 23:17:08 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 23:17:08 -0500
commit7933b004fe0e3ccc3626e14a0f5c2f92883ef974 (patch)
treea168783e8e6ad9ce01f5400af031eccf092847f4 /perl/perl-gnome2-gconf/disable-orbit.patch
parent6935f7aafc7545038071aebee7d430d491dbae5e (diff)
downloadslackbuilds-7933b004fe0e3ccc3626e14a0f5c2f92883ef974.tar.gz
perl/perl-gnome2-gconf: Patched to build with GConf-3.x
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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