summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/gnome
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2012-12-23 12:36:21 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2012-12-23 13:03:18 +0100
commitc7ff376b90090d8639db611a748ce609c3885906 (patch)
treeaa6c0866541603720cf8f8bbaa567f6c1517fdfc /meta-gnome/recipes-gnome/gnome
parent797d4aa8d54593f02d626c5eb646ee72de691deb (diff)
downloadmeta-openembedded-c7ff376b90090d8639db611a748ce609c3885906.tar.gz
libgnomeprint: fix build with newer toolchain
* FILE is not defined without stdio.h Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-gnome/gnome')
-rw-r--r--meta-gnome/recipes-gnome/gnome/libgnomeprint/fix.includes.patch11
-rw-r--r--meta-gnome/recipes-gnome/gnome/libgnomeprint_2.18.7.bb4
2 files changed, 15 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gnome/libgnomeprint/fix.includes.patch b/meta-gnome/recipes-gnome/gnome/libgnomeprint/fix.includes.patch
new file mode 100644
index 000000000..53235a12d
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gnome/libgnomeprint/fix.includes.patch
@@ -0,0 +1,11 @@
1diff -uNr libgnomeprint-2.18.7.orig/libgnomeprint/modules/cups/gnome-print-cups-transport.c libgnomeprint-2.18.7/libgnomeprint/modules/cups/gnome-print-cups-transport.c
2--- libgnomeprint-2.18.7.orig/libgnomeprint/modules/cups/gnome-print-cups-transport.c 2009-04-19 19:45:36.000000000 +0200
3+++ libgnomeprint-2.18.7/libgnomeprint/modules/cups/gnome-print-cups-transport.c 2012-12-23 12:34:52.058643537 +0100
4@@ -35,6 +35,7 @@
5 #include <sys/stat.h>
6 #include <fcntl.h>
7 #include <unistd.h>
8+#include <stdio.h>
9 #include <locale.h>
10
11 #include <cups/cups.h>
diff --git a/meta-gnome/recipes-gnome/gnome/libgnomeprint_2.18.7.bb b/meta-gnome/recipes-gnome/gnome/libgnomeprint_2.18.7.bb
index c0ea12a66..328da68fa 100644
--- a/meta-gnome/recipes-gnome/gnome/libgnomeprint_2.18.7.bb
+++ b/meta-gnome/recipes-gnome/gnome/libgnomeprint_2.18.7.bb
@@ -1,12 +1,16 @@
1LICENSE = "GPLv2" 1LICENSE = "GPLv2"
2SECTION = "x11/gnome/libs" 2SECTION = "x11/gnome/libs"
3 3
4PR = "r1"
5
4DEPENDS = "libxml2 libgnomecups glib-2.0 pango libart-lgpl fontconfig popt gnome-common" 6DEPENDS = "libxml2 libgnomecups glib-2.0 pango libart-lgpl fontconfig popt gnome-common"
5 7
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 8LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
7 9
8inherit pkgconfig gnome 10inherit pkgconfig gnome
9 11
12SRC_URI += "file://fix.includes.patch"
13
10SRC_URI[archive.md5sum] = "d66b81ee8aa3b3a33f5efc9a47ce07e3" 14SRC_URI[archive.md5sum] = "d66b81ee8aa3b3a33f5efc9a47ce07e3"
11SRC_URI[archive.sha256sum] = "8b34f81599423ef3da9c43775495da602f83cbbee069c9e760ffeae6aa4768e6" 15SRC_URI[archive.sha256sum] = "8b34f81599423ef3da9c43775495da602f83cbbee069c9e760ffeae6aa4768e6"
12 16