[1/1] ghostscript: disable check for time.h

Submitted by Joshua Lock on Sept. 27, 2011, 9:12 p.m. | Patch ID: 12211


Message ID 04cd9af9622157fc6b4ab31a37f6f389daca1779.1317157793.git.josh@linux.intel.com
State New, archived
Headers show

Commit Message

Joshua Lock Sept. 27, 2011, 9:12 p.m.
From: Joshua Lock <joshual@takoba.(none)>

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.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
 .../ghostscript/ghostscript_9.02.bb                |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.02.bb b/meta/recipes-extended/ghostscript/ghostscript_9.02.bb
index 2e46734..9b21c66 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
 EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec --without-jasper --with-fontpath=${datadir}/fonts"
+# This has been fixed upstream but for now we need to subvert the check for time.h
+# http://bugs.ghostscript.com/show_bug.cgi?id=692443
+# http://bugs.ghostscript.com/show_bug.cgi?id=692426
 inherit autotools
 do_configure () {


Joshua Lock Sept. 27, 2011, 9:20 p.m.
On Tue, 2011-09-27 at 14:12 -0700, Joshua Lock wrote:
> From: Joshua Lock <joshual@takoba.(none)>

Sorry, fresh install to test the new distro - please drop or fix this