summaryrefslogtreecommitdiff
path: root/libraries/gtkhotkey/glib-single-include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/gtkhotkey/glib-single-include.patch')
-rw-r--r--libraries/gtkhotkey/glib-single-include.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/libraries/gtkhotkey/glib-single-include.patch b/libraries/gtkhotkey/glib-single-include.patch
new file mode 100644
index 0000000000..76b0520efb
--- /dev/null
+++ b/libraries/gtkhotkey/glib-single-include.patch
@@ -0,0 +1,30 @@
+Description: Fix build failure with glib 2.32
+ where including invidual glib headers is no longer allowed.
+Author: Michael Biebl <biebl@debian.org>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665548
+Index: gtkhotkey-0.2.1/src/gtk-hotkey-error.h
+===================================================================
+--- gtkhotkey-0.2.1.orig/src/gtk-hotkey-error.h 2009-09-03 22:52:49.000000000 +0200
++++ gtkhotkey-0.2.1/src/gtk-hotkey-error.h 2012-03-25 19:07:05.822268171 +0200
+@@ -23,7 +23,7 @@
+ #ifndef __GTK_HOTKEY_ERROR_H__
+ #define __GTK_HOTKEY_ERROR_H__
+
+-#include <glib/gquark.h>
++#include <glib.h>
+
+ G_BEGIN_DECLS
+
+Index: gtkhotkey-0.2.1/src/x11/tomboykeybinder.h
+===================================================================
+--- gtkhotkey-0.2.1.orig/src/x11/tomboykeybinder.h 2009-09-03 22:52:49.000000000 +0200
++++ gtkhotkey-0.2.1/src/x11/tomboykeybinder.h 2012-03-25 19:07:05.914268168 +0200
+@@ -2,7 +2,7 @@
+ #ifndef __TOMBOY_KEY_BINDER_H__
+ #define __TOMBOY_KEY_BINDER_H__
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+
+ G_BEGIN_DECLS
+