Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] Fix building ghostcript variants on Ubuntu 11.10
@ 2011-09-27 21:12 Joshua Lock
  2011-09-27 21:12 ` [PATCH 1/1] ghostscript: disable check for time.h Joshua Lock
  2011-09-28 16:17 ` [PATCH 0/1] Fix building ghostcript variants on Ubuntu 11.10 Saul Wold
  0 siblings, 2 replies; 4+ messages in thread
From: Joshua Lock @ 2011-09-27 21:12 UTC (permalink / raw)
  To: openembedded-core

Ubuntu 11.10 has moved sys/time.h such that the hard-coded test paths in
ghostscripts configuration scripts fails.

This patch works around that issue.

Regards,
Joshua

The following changes since commit 684a4b517d13884c315688967fadd5e6a4845b71:

  libffi: really populate -dev package (2011-09-26 20:50:27 +0100)

are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib josh/work
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=josh/work

Joshua Lock (1):
  ghostscript: disable check for time.h

 .../ghostscript/ghostscript_9.02.bb                |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

-- 
1.7.6.2




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/1] ghostscript: disable check for time.h
  2011-09-27 21:12 [PATCH 0/1] Fix building ghostcript variants on Ubuntu 11.10 Joshua Lock
@ 2011-09-27 21:12 ` Joshua Lock
  2011-09-27 21:20   ` Joshua Lock
  2011-09-28 16:17 ` [PATCH 0/1] Fix building ghostcript variants on Ubuntu 11.10 Saul Wold
  1 sibling, 1 reply; 4+ messages in thread
From: Joshua Lock @ 2011-09-27 21:12 UTC (permalink / raw)
  To: openembedded-core

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(-)

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
+CFLAGS += "-DHAVE_SYS_TIME_H=1"
+
 inherit autotools
 
 do_configure () {
-- 
1.7.6.2




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] ghostscript: disable check for time.h
  2011-09-27 21:12 ` [PATCH 1/1] ghostscript: disable check for time.h Joshua Lock
@ 2011-09-27 21:20   ` Joshua Lock
  0 siblings, 0 replies; 4+ messages in thread
From: Joshua Lock @ 2011-09-27 21:20 UTC (permalink / raw)
  To: openembedded-core

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
line.

Joshua
-- 
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/1] Fix building ghostcript variants on Ubuntu 11.10
  2011-09-27 21:12 [PATCH 0/1] Fix building ghostcript variants on Ubuntu 11.10 Joshua Lock
  2011-09-27 21:12 ` [PATCH 1/1] ghostscript: disable check for time.h Joshua Lock
@ 2011-09-28 16:17 ` Saul Wold
  1 sibling, 0 replies; 4+ messages in thread
From: Saul Wold @ 2011-09-28 16:17 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 09/27/2011 02:12 PM, Joshua Lock wrote:
> Ubuntu 11.10 has moved sys/time.h such that the hard-coded test paths in
> ghostscripts configuration scripts fails.
>
> This patch works around that issue.
>
> Regards,
> Joshua
>
> The following changes since commit 684a4b517d13884c315688967fadd5e6a4845b71:
>
>    libffi: really populate -dev package (2011-09-26 20:50:27 +0100)
>
> are available in the git repository at:
>    git://git.openembedded.org/openembedded-core-contrib josh/work
>    http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=josh/work
>
> Joshua Lock (1):
>    ghostscript: disable check for time.h
>
>   .../ghostscript/ghostscript_9.02.bb                |    5 +++++
>   1 files changed, 5 insertions(+), 0 deletions(-)
>
Merged into OE-Core

Thanks
	Sau!




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-28 16:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-27 21:12 [PATCH 0/1] Fix building ghostcript variants on Ubuntu 11.10 Joshua Lock
2011-09-27 21:12 ` [PATCH 1/1] ghostscript: disable check for time.h Joshua Lock
2011-09-27 21:20   ` Joshua Lock
2011-09-28 16:17 ` [PATCH 0/1] Fix building ghostcript variants on Ubuntu 11.10 Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox