aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ghostscript/ghostscript
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2012-03-14 17:03:42 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-14 13:12:44 +0000
commit7e7bdb9dc4ca61f8427f07f2ff220767385085c5 (patch)
treec1827c4ce104acc44141f2dc25dd03ad567acc3e /meta/recipes-extended/ghostscript/ghostscript
parentb2d9f00a4e50180d96b3d201cc425349cc4dd530 (diff)
downloadopenembedded-core-7e7bdb9dc4ca61f8427f07f2ff220767385085c5.tar.gz
ghostscript: update to 9.05
Update ghostscript to 9.05, and update ghostscript-9.02-genarch.patch at same time because it can't be applied. Add patch ghostscript/ghostscript-9.05-NOT-check-endian.patch to forbid checking endianese. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript')
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-genarch.patch12
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.05-NOT-check-endian.patch54
2 files changed, 60 insertions, 6 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-genarch.patch b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-genarch.patch
index 3c2a4c82dd..c18246cdb8 100644
--- a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-genarch.patch
+++ b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.02-genarch.patch
@@ -14,14 +14,14 @@ Signed-off-by: Kang Kai <kai.kang@windriver.com>
diff -Nru ghostscript-8.64.orig/base/lib.mak ghostscript-8.64/base/lib.mak
--- ghostscript-8.64.orig/base/lib.mak 2010-02-10 10:30:02.000000000 +0800
+++ ghostscript-8.64/base/lib.mak 2010-02-10 10:56:21.000000000 +0800
-@@ -50,8 +50,8 @@
+@@ -66,8 +66,8 @@
stdpre_h=$(GLSRC)stdpre.h $(stdpn_h)
stdint__h=$(GLSRC)stdint_.h $(std_h)
-
+
-$(GLGEN)arch.h : $(GENARCH_XE)
-- $(EXP)$(GENARCH_XE) $(GLGEN)arch.h
+- $(EXP)$(GENARCH_XE) $(GLGEN)arch.h $(TARGET_ARCH_FILE)
+##$(GLGEN)arch.h : $(GENARCH_XE)
-+## $(EXP)$(GENARCH_XE) $(GLGEN)arch.h
-
++## $(EXP)$(GENARCH_XE) $(GLGEN)arch.h $(TARGET_ARCH_FILE)
+
# Platform interfaces
-
+
diff --git a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.05-NOT-check-endian.patch b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.05-NOT-check-endian.patch
new file mode 100644
index 0000000000..52353b50d5
--- /dev/null
+++ b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.05-NOT-check-endian.patch
@@ -0,0 +1,54 @@
+configure will check endianness of build machine. When cross compile it fails.
+So remove the check for Yocto.
+
+Upstream-Status: Pending
+
+Signed-off-by: Kang Kai <kai.kang@windriver.com>
+
+--- ghostscript-9.05/configure.ac.orig 2012-03-14 15:28:30.828956872 +0800
++++ ghostscript-9.05/configure.ac 2012-03-14 15:29:05.060957357 +0800
+@@ -1739,25 +1739,25 @@
+ dnl check for big/little endian for LCMS
+ dnl --------------------------------------------------
+
+-AC_MSG_CHECKING([for big endian])
+-
+-AC_RUN_IFELSE(
+- [AC_LANG_PROGRAM([#include <stdio.h>], [
+- static const int one = 1;
+- return (*(char*)&one == 0 ? 0 : 1);
+- ])],
+- [LCMS_BIGENDIAN=1],
+- [LCMS_BIGENDIAN=0])
+-
+-if test "x$LCMS_BIGENDIAN" != "x0"; then
+- LCMS_ENDIAN="-DUSE_BIG_ENDIAN=$LCMS_BIGENDIAN"
+- LCMS2_ENDIAN="-DCMS_USE_BIG_ENDIAN=$LCMS_BIGENDIAN"
+- AC_MSG_RESULT(yes)
+-else
+- LCMS_ENDIAN=
+- LCMS2_ENDIAN=
+- AC_MSG_RESULT(no)
+-fi
++dnl AC_MSG_CHECKING([for big endian])
++dnl
++dnl AC_RUN_IFELSE(
++dnl [AC_LANG_PROGRAM([#include <stdio.h>], [
++dnl static const int one = 1;
++dnl return (*(char*)&one == 0 ? 0 : 1);
++dnl ])],
++dnl [LCMS_BIGENDIAN=1],
++dnl [LCMS_BIGENDIAN=0])
++dnl
++dnl if test "x$LCMS_BIGENDIAN" != "x0"; then
++dnl LCMS_ENDIAN="-DUSE_BIG_ENDIAN=$LCMS_BIGENDIAN"
++dnl LCMS2_ENDIAN="-DCMS_USE_BIG_ENDIAN=$LCMS_BIGENDIAN"
++dnl AC_MSG_RESULT(yes)
++dnl else
++dnl LCMS_ENDIAN=
++dnl LCMS2_ENDIAN=
++dnl AC_MSG_RESULT(no)
++dnl fi
+
+
+ AC_SUBST(LCMS_ENDIAN)