diff options
Diffstat (limited to 'meta-gnome/recipes-gnome/gnome/libgnomecups/libgnomecups-0.2.3-glib.h.patch')
| -rw-r--r-- | meta-gnome/recipes-gnome/gnome/libgnomecups/libgnomecups-0.2.3-glib.h.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gnome/libgnomecups/libgnomecups-0.2.3-glib.h.patch b/meta-gnome/recipes-gnome/gnome/libgnomecups/libgnomecups-0.2.3-glib.h.patch new file mode 100644 index 0000000000..c7b6165787 --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome/libgnomecups/libgnomecups-0.2.3-glib.h.patch | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | Imported from gentoo: | ||
| 2 | |||
| 3 | http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-print/libgnomecups/files/libgnomecups-0.2.3-glib.h.patch | ||
| 4 | |||
| 5 | From d84eee9450b3b6f6155074915efc61bedcc8d446 Mon Sep 17 00:00:00 2001 | ||
| 6 | From: Dominique Leuenberger <dimstar@opensuse.org> | ||
| 7 | Date: Sun, 27 Nov 2011 21:36:41 +0100 | ||
| 8 | Subject: [PATCH] Fix: Only glib.h can be included | ||
| 9 | |||
| 10 | --- | ||
| 11 | libgnomecups/gnome-cups-i18n.c | 2 +- | ||
| 12 | libgnomecups/gnome-cups-init.h | 3 +-- | ||
| 13 | 2 files changed, 2 insertions(+), 3 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/libgnomecups/gnome-cups-i18n.c b/libgnomecups/gnome-cups-i18n.c | ||
| 16 | index 8987c5c..127756d 100644 | ||
| 17 | --- a/libgnomecups/gnome-cups-i18n.c | ||
| 18 | +++ b/libgnomecups/gnome-cups-i18n.c | ||
| 19 | @@ -1,5 +1,5 @@ | ||
| 20 | #include <config.h> | ||
| 21 | -#include <glib/gmacros.h> | ||
| 22 | +#include <glib.h> | ||
| 23 | #include "gnome-cups-i18n.h" | ||
| 24 | |||
| 25 | #ifdef ENABLE_NLS | ||
| 26 | diff --git a/libgnomecups/gnome-cups-init.h b/libgnomecups/gnome-cups-init.h | ||
| 27 | index 22b682a..c4600fc 100644 | ||
| 28 | --- a/libgnomecups/gnome-cups-init.h | ||
| 29 | +++ b/libgnomecups/gnome-cups-init.h | ||
| 30 | @@ -1,8 +1,7 @@ | ||
| 31 | #ifndef GNOME_CUPS_INIT | ||
| 32 | #define GNOME_CUPS_INIT | ||
| 33 | |||
| 34 | -#include <glib/gtypes.h> | ||
| 35 | -#include <glib/gmacros.h> | ||
| 36 | +#include <glib.h> | ||
| 37 | |||
| 38 | G_BEGIN_DECLS | ||
| 39 | |||
| 40 | -- | ||
| 41 | 1.7.7 | ||
| 42 | |||
