summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <joshual@takoba.(none)>2011-09-27 12:53:34 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-28 14:58:52 +0100
commitea8a9978ec6a94e4047c3a9d5b0649479ac9f491 (patch)
treee850dd680834bcf6da0930bed5cf23ff6067f301
parent2a8a052c774efcdfd68db7ddd8d832a72d78b767 (diff)
downloadpoky-ea8a9978ec6a94e4047c3a9d5b0649479ac9f491.tar.gz
ghostscript: disable check for time.h
ghostscript has it's own hacky check for time.h which hard-codes paths, this means in the native case it fails on systems such as Ubuntu 11.10 where the location of time.h has changed. Further it means the target build has had a host-intrusion issue. This patch disables the check for time.h, future releases of ghostscript use standard autotools checks for time.h's location. (From OE-Core rev: 737daaf83b3c2b4382dc518fda8c2d38085bb1bb) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript_9.02.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb
index 2e467341ef..9b21c66956 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb
@@ -36,6 +36,11 @@ SRC_URI[sha256sum] = "03ea2cad13a36f8f9160912012b79619a826e7148fada6d3531feb2540
36 36
37EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec --without-jasper --with-fontpath=${datadir}/fonts" 37EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec --without-jasper --with-fontpath=${datadir}/fonts"
38 38
39# This has been fixed upstream but for now we need to subvert the check for time.h
40# http://bugs.ghostscript.com/show_bug.cgi?id=692443
41# http://bugs.ghostscript.com/show_bug.cgi?id=692426
42CFLAGS += "-DHAVE_SYS_TIME_H=1"
43
39inherit autotools 44inherit autotools
40 45
41do_configure () { 46do_configure () {