diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-12-23 12:36:21 +0100 |
---|---|---|
committer | Eric Bénard <eric@eukrea.com> | 2013-04-18 22:25:21 +0200 |
commit | 2fbe0aac3fee0d432bee59c863044646bd504d72 (patch) | |
tree | 532cd2d2dc0ce81e6c3240764998cac3c5ccef2b /meta-gnome/recipes-gnome/gnome | |
parent | 26fc0edcb1fe1bc62c82ac0e6d4679fd94ffc6d7 (diff) | |
download | meta-openembedded-2fbe0aac3fee0d432bee59c863044646bd504d72.tar.gz |
libgnomeprint: fix build with newer toolchain
* FILE is not defined without stdio.h
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')
-rw-r--r-- | meta-gnome/recipes-gnome/gnome/libgnomeprint/fix.includes.patch | 11 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/gnome/libgnomeprint_2.18.7.bb | 4 |
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 0000000000..53235a12d3 --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome/libgnomeprint/fix.includes.patch @@ -0,0 +1,11 @@ +diff -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 +--- libgnomeprint-2.18.7.orig/libgnomeprint/modules/cups/gnome-print-cups-transport.c 2009-04-19 19:45:36.000000000 +0200 ++++ libgnomeprint-2.18.7/libgnomeprint/modules/cups/gnome-print-cups-transport.c 2012-12-23 12:34:52.058643537 +0100 +@@ -35,6 +35,7 @@ + #include <sys/stat.h> + #include <fcntl.h> + #include <unistd.h> ++#include <stdio.h> + #include <locale.h> + + #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 c0ea12a660..328da68fa3 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 @@ LICENSE = "GPLv2" SECTION = "x11/gnome/libs" +PR = "r1" + DEPENDS = "libxml2 libgnomecups glib-2.0 pango libart-lgpl fontconfig popt gnome-common" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" inherit pkgconfig gnome +SRC_URI += "file://fix.includes.patch" + SRC_URI[archive.md5sum] = "d66b81ee8aa3b3a33f5efc9a47ce07e3" SRC_URI[archive.sha256sum] = "8b34f81599423ef3da9c43775495da602f83cbbee069c9e760ffeae6aa4768e6" |