diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-12-23 10:33:27 +0100 |
---|---|---|
committer | Eric Bénard <eric@eukrea.com> | 2013-04-05 16:58:13 +0200 |
commit | 0d224e77e1fb2b05ddb3f02059ae480ee2bec636 (patch) | |
tree | 0c773861edfaebcc954682b97fccd37f8b28d77a /meta-gnome/recipes-gnome/gnome/libgnomecups/libgnomecups-0.2.3-glib.h.patch | |
parent | 7213b5e1f18823716d1d95fca847d467808a0d01 (diff) | |
download | meta-openembedded-0d224e77e1fb2b05ddb3f02059ae480ee2bec636.tar.gz |
libgnomecups: fix build with >=glib-2.31
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Eric Bénard <eric@eukrea.com>
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 000000000..c7b616578 --- /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 | |||