summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-07-21 14:19:50 +0000
committerPacho Ramos <pacho@gentoo.org>2012-07-21 14:19:50 +0000
commitd9e33784916388b6382fdb5ab4c4b6f9041a383b (patch)
treee13a580b524057e521a927c89909d8adb4f64f39 /x11-misc/superswitcher/files
parentClean mask entries (diff)
downloadgentoo-2-d9e33784916388b6382fdb5ab4c4b6f9041a383b.tar.gz
gentoo-2-d9e33784916388b6382fdb5ab4c4b6f9041a383b.tar.bz2
gentoo-2-d9e33784916388b6382fdb5ab4c4b6f9041a383b.zip
Let it compile against glib-2.32
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/superswitcher/files')
-rw-r--r--x11-misc/superswitcher/files/superswitcher-0.6-glib-single-include.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/x11-misc/superswitcher/files/superswitcher-0.6-glib-single-include.patch b/x11-misc/superswitcher/files/superswitcher-0.6-glib-single-include.patch
new file mode 100644
index 000000000000..fe3249982870
--- /dev/null
+++ b/x11-misc/superswitcher/files/superswitcher-0.6-glib-single-include.patch
@@ -0,0 +1,27 @@
+Index: superswitcher-0.6/src/dbus-object.h
+===================================================================
+--- superswitcher-0.6.orig/src/dbus-object.h
++++ superswitcher-0.6/src/dbus-object.h
+@@ -4,7 +4,7 @@
+ #ifndef SUPERSWITCHER_DBUS_OBJECT_H
+ #define SUPERSWITCHER_DBUS_OBJECT_H
+
+-#include <glib/gtypes.h>
++#include <glib.h>
+
+ #include "forward_declarations.h"
+
+Index: superswitcher-0.6/src/forward_declarations.h
+===================================================================
+--- superswitcher-0.6.orig/src/forward_declarations.h
++++ superswitcher-0.6/src/forward_declarations.h
+@@ -18,8 +18,7 @@ typedef struct _SSXineramaScreen SSXiner
+ #define ABNORMAL_EXIT_CODE_ANOTHER_INSTANCE_IS_RUNNING 1
+ #define ABNORMAL_EXIT_CODE_UNKNOWN_COMMAND_LINE_OPTION 2
+
+-#include <glib/gerror.h>
+-#include <glib/gtypes.h>
++#include <glib.h>
+ gboolean superswitcher_hide_popup (void *, GError **);
+ gboolean superswitcher_show_popup (void *, GError **);
+ gboolean superswitcher_toggle_popup (void *, GError **);